How to Install WordPress on DigitalOcean in 5 Minutes

Requirements
1. DigitalOcean Account – Get Here
2. ServerPilot Account – Get Here

Step 1 : Create a Server on DigitalOcean

DigitalOcean makes it a breeze to create a server to work with your ServerPilot account.

Sign in to DigitalOcean and click Create Droplet.

ServerPilot runs on 64-bit Ubuntu 16.04, so under the Distributions tab, select the option shown below.

Because ServerPilot will only install on a new Ubuntu server, do not select anything else under any other Choose an Image tab. You will not be able to install ServerPilot if you do.

Next, select the size of your Droplet based on your server needs.

When asked to create block storage, skip this step.

Select the region closest to you or to where you will be receiving most of your traffic.

Under Select Additional Options, place a check mark in the box next to Backups (as shown below).

Whenever you’re given the option to enable backups, it’s always the best thing to do. Unless you’re a server expert, leave the other boxes empty.

If you want to add SSH keys to your DigitalOcean server, wait until after you have connected it to ServerPilot; however, these are not necessary if you use strong passwords.

Now, give your Droplet a hostname.

Click Create, and you’re done. You receive your IP address and root password by email from DigitalOcean.

Step 2 : Connect a Server to ServerPilot

In ServerPilot, go to the Servers page and click + Connect Server.

Enter your IP address, your root password, and a password for the SSH/SFTP user serverpilot. Click Connect to ServerPilot.

 

Once the installation is complete, your server will show as connected in ServerPilot.

Step 3 : Create an App in ServerPilot

An app is a web application, such as WordPress.

In ServerPilot, click + Create App; this can be done immediately after connecting a server or by going to the Apps page.

Give your app a name and enter your site’s domain if you have one. Select the PHP version and the server you want this app to be on (probably the one you just set up). You may also select the system user you want to run this app.

Step 4 : Use the One-Click Installer

Now, place a check mark next to WordPress; a new form will appear.

Enter your site title, your administrator username, a password, and your email address for setup confirmation. The administrator username and password are not the same as those for the app’s system user.

Click Create App to submit the form. You’ll be shown some details about the app.

Step 5: Review Your Database

ServerPilot’s one-click WordPress installer automatically generates your MySQL database name, username, and password. You can review these in ServerPilot.

Open your app in ServerPilot and go to the Databases tab. Click + Create Database.

You’ll see your database name and username.

Clicking on the username will allow you to change the database password.

Note : If you change the automatically generated password, you will also need to change it in your app’s wp-config.php file.

That’s It!

You have successfully installed WordPress on DigitalOcean Server.

 

Ravindra Paradhi

Engineer & Blogger.

Leave a Reply