WordPress on Digital Ocean Droplets

I’ve had the fortune of having to setup a lot of WordPress sites on different hosting providers. I am a fan of the Digital Ocean Droplets and I run a few of them myself for projects. I thought I’d pull together a list of the different guides that I have used in the past to get WordPress up and running securely on a Droplet. I’m still looking at ways to improve so appreciate any feedback/suggestions in the comments section.

Configure the LAMP Stack

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04

How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 16.04

Install and Secure phpMyAdmin

https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-18-04

Configure Virtual Hosts to host multiple sites from one droplet

https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-18-04

Install WordPress

https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-14-04

Configure Secure Updates for WordPress

https://www.digitalocean.com/community/tutorials/how-to-configure-secure-updates-and-installations-in-wordpress-on-ubuntu

In the link above, the only change I had to do as I was running on Ubuntu 18.04 was instead of running:

sudo apt-get install php5-dev libssh2-1-dev libssh2-php

I had to run:

sudo apt-get install php-dev php-ssh2

Now to allow themes/plugins to update from the Control Panel, I had to edit the wp-config.php file. I add the following line:

define('FS_METHOD', 'ssh2');

About the author

lazypaddy

View all posts

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.