How to install joomla on DO? My droplet use Debian 9

Posted April 21, 2020 2.5k views
JoomlaDebian 9

I am a new user at DO and I need to install my joomla to develop a small newspaper portal.
I chose Debian 9. But, I don’t know how to accomplish this task.
I’ve researched here in the community and found only very old posts.
can anybody help me? We are not yet very good at managing DO, but we are willing to study hard to achieve something level of proficiency. We are already studying linux.

1 comment
  • Thank you for the two responses: @jasonjpeters @alexdo
    But, I forgot to mention an important detail: I bought a template from Joomshaper and I intend to install this template with a “quickstart” package. In other words, quickstar includes the installation of the joomla + template itself.
    It is not possible to install quickstar on a joomla previously installed.

    So the question should be rephrased to: How to install quicktarj/joomla on DO? My droplet use Debian 9.

    I will ask on the joomshaper support if it is possible to install joomla here in DO and then install only the template, without the quickstar. I still don’t quite understand these issues

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers

It’s not actually all that hard to do. The following guide can help you achieve this.

You will need to be somewhat comfortable working on the command line. As well the guide uses PHP7.0, you may be able to use a newer version. To see what you have available in your repository you can use the following command:

sudo apt update && sudo apt-cache search php | grep php7

Hello, @LexusSocial

You will first need to setup the LAMP (Linux, Apache, MariaDB, PHP) or LEMP (Linux, Nginx, MariaDB, PHP) stack on your Debian 9 droplet. In order to do that you can follow our tutorials for LAMP/LEMP stack on Debian 9



Once this is done you can then continue with the actual Joomla installation. To install Joomla, you will need to download the latest version of the Joomla. You can download it from the Git repository with the following command:


You can then navigate to the /var/www/html folder or to the root directory of your domain name (you should’ve already created a virtual host for your domain name) and simply extract the downloaded Joomla core files.

If you’ve downloaded Joomla in another directory make sure to move/copy the file to your domain’s directory and then simply execute this command:

sudo tar -xvzf Joomla_3-9-17-Stable-Full_Package.tar.gz -C /var/www/html/

You should’ve already set the correct ownership and permissions of the domain’s root directory but if now you can do that using these commnads:

sudo chown -R www-data:www-data /var/www/html/
sudo chmod -R 750 /var/www/html/

You can double check your virtual host file and it should look like this:

nano /etc/apache2/sites-available/
<VirtualHost *:80>
DirectoryIndex index.php
DocumentRoot /var/www/html/
<Directory /var/www/html/>
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
ErrorLog /var/log/apache2/
CustomLog /var/log/apache2/yourdomain.com_log common

You can restart apache:

sudo systemctl restart apache2

If you access your domain name (or the IP address if you’re not using domain name) you should see the Joomla Installation Page.

Hope this helps!

Let me know how it goes.


by Mark Drake
A "LAMP" stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This stack typically consists of the Linux operating system, the Apache web server, a MariaDB database, and PHP, a dynamic content processor. This tutorial serves as a guide for installing these components on a Debian 9 server.

Hello, @LexusSocial

Please let us know how it goes. I personally think that you should be able to install their template on a clean/fresh Joomla installation if they can only send you the template.