Super Fast, Secure WordPress Setup for Ubuntu 16.04 LTS on DigitalOcean with NGINX, PHP7, and MariaDB
This is a shell script to automate setting up the WordPress server setup described in this blog post. To use it:
- Create a droplet at DigitalOcean--use the Ubuntu 16.04 LTS image on the smallest size droplet
- Set up your domain over at Mailgun
- Set up your DNS at DigitalOcean
- Log into your new droplet via SSH, i.e.
ssh root@[your-droplet's-IP-address]
- Import this script
curl -s https://raw.githubusercontent.com/morphatic/fast_secure_wp_server_setup/master/fast_secure_wp_server_setup -o server_setup
- Make it executable:
chmod +x server_setup
- Run it:
sudo ./server_setup
- Follow all of the instructions and be very careful filling out the prompts
NOTE: This ONLY works for new domain setups where your domain name is NOT pointed at another server somewhere. In the future, I'd like to update the script so that it can handle setting up a temporary site while you are migrating a site from another location to DigitalOcean.