📓 provision-a-wordpress-server-at-digital-ocean.md by @neil ☆

Provision a WordPress server at Digital Ocean

Steps I usually do to get a WordPress server up and running at [[Digital Ocean]].

Create the droplet

They do have a WP server in the marketplace, but I tend to do it from scratch.

Usually go with Ubuntu 18.04 LTS.

I always provision with an ssh key set up from the get go, rather than getting sent a root password.

Security things

WP related apps

apt install apache2
apt install mysql-server
apt install php-xml php-json php-mysql php-mbstring php-zip
ufw allow http
ufw allow https
ufw allow ssh
ufw enable
apt install fail2ban