-
Notifications
You must be signed in to change notification settings - Fork 0
joomla
-
mysql -u root -p
-
MariaDB [(none)]> CREATE DATABASE joomladb;
-
MariaDB [(none)]> CREATE USER 'joomlauser'@'localhost' IDENTIFIED BY 'your-strong-password';
-
MariaDB [(none)]> GRANT ALL PRIVILEGES ON joomladb.* TO 'joomlauser'@'localhost';
-
MariaDB [(none)]> EXIT
-Download Joomla: https://downloads.joomla.org/ -> (wget https://downloads.joomla.org/cms/joomla4/4-1-2/Joomla_VERSION-Stable-Full_Package.zip)
-
create a directory for Joomla inside the Apache web root:
sudo mkdir /var/www/html/joomla
-
extract the downloaded file to the Joomla directory: sudo unzip Joomla_*-Stable-Full_Package.zip -d /var/www/joomla
-
change some folder permissions:
sudo chown -R www-data:www-data /var/www/html/joomla
sudo chmod -R 755 /var/www/html/joomla
-
restart Apache:
sudo systemctl restart apache2
(Optional you can create a VirtualHost: https://httpd.apache.org/docs/current/vhosts/) https://github.com/G4NST3/Linux-Troubleshooters/wiki/_new
-
Open web browser, have a look if service is installed properly or not:
IP_ADDRESS/joomla
-
Recommended settings for PHP in order to ensure full compatibility with Joomla:
Output Buffering Recommended -> Off: comment the line where isoutput_buffering = xxxx
in/etc/php/7.4/apache2/php.ini
file
intl Available Recommended -> On: Install php-intl package:sudo apt install php-intl
-
Delete the Joomla Instalation folder(if not already deleted) in
/var/www/html/joomla/
-
Check your new Joomla site:
IP_ADDRESS/joomla
-
For Joomla Administrator Login:
IP_ADDRESS/joomla/administrator