Articles

How to Install Joomla

After you connect your server to ServerPilot, you can install Joomla on your DigitalOcean server using SFTP.

Creating an App in ServerPilot

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

If you want to deploy Joomla 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).

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

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

Creating a Database

To install Joomla, you'll need a MySQL database. Let's create one 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. Write these down, so you can enter them when the Joomla installer asks. Then, submit the form in ServerPilot to create the database.

If you forget to write down the database password and need to reset it, just click on the database user in ServerPilot to see the change password form.

Installing Joomla Using SFTP

Now, it's time to install Joomla on your server.

Visit www.joomla.org/download.html and click the Download Joomla MOST.RECENT.VERSION button.

Now, log in to your server through Cyberduck (or your preferred SFTP client) with the username serverpilot and the password you created when you connected your server to ServerPilot. (If you followed our tutorials on uploading files and configuring Cyberduck, then your server may already be displayed under Cyberduck's History tab, and you can double-click it.)

Follow this path to your app's web root directory, where APPNAME is the name of your app (we use joomla in this tutorial):

apps/APPNAME/public

Drag the Joomla .zip file from your computer's Downloads folder and drop it into your app's public folder in Cyberduck.

Next, delete the default index.php file that currently resides in your public folder.

Then, click once on the Joomla .zip file and select Expand Archive from the Cyberduck File menu.

When the file has decompressed, delete the Joomla .zip file.

Now, visit your server's IP address in your browser (or your website's domain if you have already configured DNS). Follow the instructions in the Joomla Installer and, when asked, use the MySQL database name, username, and password you created in ServerPilot. Leave the default settings as they are for each step.

That's It

Once the installation is complete, opt to remove the installer. You can now access your new Joomla dashboard.

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!