I recently moved this site over to DigitalOcean. I decided to start everything over from scratch. Here are the tutorials I went though:
In addition, I wanted to automate the updates on my server including: Ubuntu, WordPress and Custom Github Code. I implemented auto-updates by doing the following:
- Installing and configuring unattended-upgrades instead of running “sudo apt-get update” and “sudo apt-get upgrade” every time I want to update the server.
- Installed WP-CLI to manage WP, themes and plugins.
- Created a list of bash alias’ and put them into my servers .bash_profile file to run a single command to update everything within the server.