

Set a password for MariaDB (recommended to use a different password than your user/root account).Įnter ‘no' when asked to change password (since we just setup a new one) and ‘yes' to the rest of the prompts.Ĭreate a new database, user and assign privileges to the user: MariaDB > CREATE DATABASE mywpdb DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci See MySQL vs MariaDB $ sudo apt-get install software-properties-common #ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:$ĬTRL-X to save, then ‘Y' and ENTER to exit. Update settings in ‘nf' by commenting out all lines in the ‘SSL Settings' section by putting ‘#' in from of them (these will conflict with some of the settings we create later): sudo nano /etc/nginx/nfĪfter you have done this, it should look like this: # $ sudo sh -c "echo 'deb /' > /etc/apt//nginx.list" In order to use a WordPress plugin for purging the NGINX cache that I talk about below, you have to install a custom version of NGINX: $ sudo apt-key adv -keyserver -recv-keys 3050AC3CD2AE6F03 When all done, your settings should look something like this (using Mailgun’s servers): To configure your domain in DigitalOcean, see here:

We will setup our domain to route email through Mailgun’s servers (free accounts available with no credit card needed). In the form to “Add a Domain” enter your domain name and then select the droplet you created. Then, go to your DigitalOcean account and go to Networking > Domains. Next, login to the site where you registered your domain name and change the nameservers to point to: Super-fast Secure WordPress Install on DigitalOcean with NGINX, PHP7, and Ubuntu 16.04 LTS If you would like to have multiple sites (and domain names) on the same server, go here. This tutorial sets up a single WordPress site on a server.
