Install WordPress on Ubuntu

If you have connected your server to ServerPilot, this tutorial will show you how to use ServerPilot to install WordPress on your server through SSH.

Creating an App

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.

If you want to deploy WordPress under a system user other than serverpilot, you must have first set up your new system user.

Give your app a name and select the server you want this app to be on (probably the one you just set up). Do not check the box next to WordPress as we are performing a manual install with these instructions.

You may also select the system user you want to run this app.

Go ahead and submit the form. You'll be shown some details about the app.

Installing WordPress through SSH

SSH into your server with the username serverpilot and the password you created when you connected your server to ServerPilot.

Next, run the following commands. If you didn't call your app "wordpress", then change the commands below to use your app's name.

cd apps/wordpress/public
tar xzf latest.tar.gz
mv wordpress/* .
rm latest.tar.gz
rmdir wordpress

You should now be able to bring up your server's IP address (e.g., in your browser and see the WordPress installer.

Creating a Database

The WordPress Installer will ask you for a database name and database user. Let's create those now.

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

Choose a database name. A database username and password will be generated for you. Copy these into the WordPress Installer and then submit the form in ServerPilot to create the database. If you forgot to copy the database password into the WordPress Installer and need to reset it, just click on the database user in ServerPilot to see the change password form.

Finish the Installer

Finally, answer the rest of the questions in the installer. When finished, you'll be able to log in to your brand new, blazingly fast WordPress installation.

That's It

ServerPilot will keep your server's system packages updated with security updates. ServerPilot also configured a firewall on your server so you don't have to worry about that.

We've taken the pain out of server management so you can focus on your apps.

Happy developing!