As mentioned in one of our requirements documents, using the WPCloud Deploy plugin presents a chicken-and-egg problem. It requires an existing WordPress installation in order to work. Most users will have one of these already or you can spin up a basic DigitalOcean instance with one already configured for you.
But, if you really really want to start from scratch and use our scripts to bootstrap the initial server, you can do it. You just have to be willing to get down into the command line. So, here is a summary of the steps that you should use to create this initial WordPress server.
sudo apt-get update -yqm
sudo apt-get install -yqm dos2unix
sudo dos2unix 01-prepare_server.txt
sudo dos2unix 02-install_wordpress_site.txt
sudo dos2unix 04-manage_https.txt
sudo bash ./01-prepare_server.txt
sudo bash ./02-install_wordpress_site.txt
sudo bash ./04-manage_https.txt
You should now have a working site with SSL enabled. You can upload the WPCLOUD DEPLOY plugin to that installation and start connecting it to your cloud providers.
Now, we need to modify your site to increase script and web server timeout values.
Edit your new site’s configuration file:
Add the max_execution_time=300 entry to it as shown in this image:
Under the line that starts with client_max_body_size, add the following entries:
Restart the web server:
service nginx restart