Come hang with us on Discord and chat directly with the team!Discordtop-bar-close-icon

2024-09-04

How to Install Joomla! on Debian Latest

tutorials
img

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/
  1. Update your system:
  2. Install Apache:
  3. Install MySQL or MariaDB:
  4. Install PHP and extensions:
  5. Restart Apache:
  6. Download Joomla!:
  7. Unzip Joomla! package:
  8. Configure Apache:
  9. Enable Joomla! site:
  10. Restart Apache:
  11. Set permissions:
  12. 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.