In addition to WordPress, Joomla is the second most widely used open source content management system (CMS). Joomla programming is done with php.
How to Install Joomla (CMS) on Ubuntu 18.04
Before installing Joomla, you need to have a working Apache web server, php and mysql server.
Instructions for installing these can be found in previously written articles. Below is a list of articles.
Installing Apache2 on Ubuntu 18.04 Installing
PHP on Ubuntu 18.04 Installing
MySQL Server on Ubuntu 18.04
After you have installed all the necessary servers and services, we can start the installation of Joomla by following these steps.
First install the unzip program in Ubuntu as the Joomla installation package used in this tutorial is packaged in a zip file.
sudo apt-get install unzip
Next, download the Joomla installation package to the tmp directory. Move to tmp directory with the following command.
cd / tmp
Next, download the Joomla installation file.
Joomla is now downloaded to Joomla_3-9-4-Stable-Full_Package.zip.
You need to extract this file and copy it to the website directory eg Joomla.
First, create a Joomla directory on the Apache server.
sudo mkdir / var / www / html / Joomla
Extract the Joomla_3-9-4-Stable-Full_Package.zip file you previously downloaded to the correct directory on the Apache web server.
sudo unzip Joomla_3-9-4-Stable-Full_Package.zip -d / var / www / html / Joomla
Joomla and file permissions
Copy the htaccess.txt file to the same directory under the .htaccess name.
sudo cp /var/www/html/joomla/htaccess.txt /var/www/html/joomla/.htaccess
Configure the permissions needed by Apache.
sudo chown -R www-data.www-data / var / www / html / Joomla
sudo chmod -R 755 / var / www / html / Joomla
Finally, restart the Apache web server.
sudo service apache2 Reload
Joomla Installation Completion
Enter http ://10.0.0.1/joomla in your browser and start the actual installation.
If you’ve entered the address correctly , so you will open the following window . Enter the site name , administrator email , username and password . Finally, select the following .
Joomla installation start
Enter the database username and database name and password. Finally, select the following.
Next, the installer will ask you to install sample articles. You can choose to install them if you have not used Joomla before. Finally, select install.
Joomla is now installed and you will see the following window.
Finally, delete the installation files.
The site is now installed and ready to use .