Hi, This is my first time using a site with ISPConfig 3. If a domain has an existing non WordPress wesbsite (written in PHP), and I use the ASP Installer to install WordPress. Will it overwrite the current site completely? What is the correct way to install Wordpress on ISPConfig 3? cheers,
Don't use the APS installer for sites that contain a website. Install WordPress like this instead: 1) Create a database user and database for Wordpress in ISPConfig. 2) Download the Wordpress archive to the folder where you want to install it and unpack it (or download it to your desktop, unpack it and then upload it by ftp). 3) Open the URL of the Wordpress install in a browser and follow the instructions on the screen.
Hi, Just to clarify, if I want to start the site from scratch. Do I still use the method you describe above or do I use the APS installer?
I use this script: Code: read -p "Web folder: " webdir read -p "Client ID (only numbers): " clientid read -p "Web ID: " webid mkdir /$webdir/tmp-wp cd /$webdir/tmp-wp wget https://wordpress.org/latest.zip unzip latest.zip mv ./wordpress/* ../ cd ../ mv index.html index-standard.html rm -r tmp-wp chown -R web$webid:client$clientid ./* When executed, it will ask for the webdir, clientid, and webid. If you would be installing Wordpress for client 1, web 2, you would do this: Web folder: /var/www/clients/client1/web2/web Client ID: 1 Web ID: 2
Hello, I found comfortable to have the chance to install all automatically. Yes, Wordpress was dated but its update always worked well. Is there a chance to have back packages repositories or a way to configure my personal link into ispconfig interface (for example downloading last zip wordpress package). Thank you Antonio
You can modify the code, though that will take quite some work. It is not possible to use a different repository. You can temporarily re-enable APS, (System -> Main Config) but it will be removed soon. We are looking into the possibility to write our own installer. For single server setups, you can use Softaculous aswell.
Thank you very much, right now I re-enabled APS and it works really well. What a pity having such a dismission. Anyway, I will have a look at Softaculous and install it. Thank you very much for your reply. Antonio
you could install wp-cli on the server. if you create an ssh user for the account, and ssh in as that user and go to the webroot, all you need to do is run: Code: $ wp core download # Install WordPress in 5 seconds $ wp core install --url=example.com --title=Example --admin_user=supervisor --admin_password=strongpassword [email protected] Success: WordPress installed successfully. # Install WordPress without disclosing admin_password to bash history $ wp core install --url=example.com --title=Example --admin_user=supervisor [email protected] --prompt=admin_password < admin_password.txt just remember to add wp-cli to the jailkit configuration if using chroot'd ssh accounts. i believe you can even get away with just wp core download and then browse to the site to continue the install process and provide db details etc, but i never bother with that, i do it all from the cli.