Joomla! is a widely used open-source CMS for managing web content. This guide provides instructions for installing Joomla! on Debian Latest.
Prerequisites
Ensure you have the following before installing Joomla!:
- Debian Latest server with root access
- Apache web server
- MySQL or MariaDB database
- PHP 7.0 or higher with necessary extensions
Step-by-Step Installation
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install apache2
sudo apt-get install mysql-server mysql-client
or
sudo apt-get install mariadb-server mariadb-client
sudo apt-get install php libapache2-mod-php php-mysql php-gd php-curl php-intl php-mbstring php-xmlrpc php-xml
sudo systemctl restart apache2
wget https://downloads.joomla.org/cms/Joomla_3.9.15-Stable-Full_Package.zip
unzip Joomla_3.9.15-Stable-Full_Package.zip -d /var/www/html/
sudo nano /etc/apache2/sites-available/joomla.conf
Add the following to the file:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/Joomla_3.9.15-Stable-Full_Package/
<Directory /var/www/html/Joomla_3.9.15-Stable-Full_Package/>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/joomla_error.log
CustomLog ${APACHE_LOG_DIR}/joomla_access.log combined
</VirtualHost>
sudo a2ensite joomla
sudo systemctl restart apache2
sudo chown -R www-data:www-data /var/www/html/Joomla_3.9.15-Stable-Full_Package/
sudo chmod -R 755 /var/www/html/Joomla_3.9.15-Stable-Full_Package/
- Update your system:
- Install Apache:
- Install MySQL or MariaDB:
- Install PHP and extensions:
- Restart Apache:
- Download Joomla!:
- Unzip Joomla! package:
- Configure Apache:
- Enable Joomla! site:
- Restart Apache:
- Set permissions:
- Access Joomla! installation via browser using your server's IP or domain name and follow the setup.
Congratulations! Joomla! is now installed on your Debian Latest server.







