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

419/5000 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.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.

Regards, Alex

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.

Regards, Alex

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