For those of you who didn’t know, Joomla is a free and open source popular content management that uses a PHP and a backend database, such as MySQL. It offers a wide variety of features that make it an incredibly flexible content management system right out of the box. A major advantage of using a content management system (CMS) is that it requires almost no technical skill or knowledge to manage.
This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step by step installation Joomla on CentOS 7.
Step 1. Install required packages.
Step 2. Download the latest version of Joomla.
Unzip and copy the package into web server’s document root:
Change ownership of /var/www/html:
Step 3. Configure Apache web server.
First add the lines “ServerName fqdn” and “NameVirtualHost *:80″ to Apache global configuration file (/etc/httpd/conf/httpd.conf) with the following echo commands:
Create a new virtual host configuration file at location /etc/httpd/conf.d:
Step 4. Create MySQL database and user.
# mysql -u root -p
Step 5. Start Apache and MySQL services.
Step 6. Configure Iptables or firewall.
Step 7. Access the Joomla Installer.
Now you can finish your Joomla installation by opening your favorite web browser and navigate to: http://your_ip_address.
Congratulation’s! You have successfully installed Joomla. Thanks for using this tutorial for installing Joomla content management system on CentOS 7 systems.