What is Joomla? Joomla is one of the most Popular Content Management System (CMS) Like WordPress.Which is having different tools available creating the dynamic website, writing the Blogs. Without having prior knowledge of programming Language one can easily create dynamic pages, Blogs,Upload Pictures with Joomla.
Why to Install Joomla in Linux?
Linux is popular mostly in the server side and Use of Linux Apache Mysql Php (LAMP) for web hosting over the Cloud(VPS) or in Data Center is increasing now a days. Everything is open source. we can get advantage of different Communities for Troubleshooting the issues.
- Redhat Linux/Centos/Fedora
- Linux Apache Mysql Php(LAMP) already installed using Package Manager (YUM).
In this tutorial I am going to show you how to install and configure the Joomla in Linux .
First check all the required packages along with their dependencies are installed or not.If not then install it using YUM.
[root@srk html]# yum -y install httpd* mysql* php-*
Go to the Document Root of Apache (/var/www/html) and Download the Joomla from the
https://joomlacode.org by wget command and extract it using tar archive.
[root@srk html]# wget http://joomlacode.org/gf/download/frsrelease/18323/80367/Joomla_3.1.1-Stable-Full_Package.tar.gz [root@srk html]# tar -xzpvf Joomla_3.1.1-Stable-Full_Package.tar.gz
Change the ownership and group ownership of the Document root to the Apache user.
[root@srk]# chown -R apache:apache /var/www/html
Go to the configuration file of the apache and edit the following lines
[root@srk html]# vi /etc/httpd/conf/httpd.conf
ServerAdmin email@example.com # give your domain name here
ServerName http://www.admin.com:80 # give name for site,if your DNS is configured otherwise keep IP address of your computer.
Restart the httpd service and permanently on the service
[root@srk html]#service httpd restart [root@srk html]# chkconfig httpd on
Login As a root user to Mysql,Create database joomla and grant all privileges as follows:
mysql> create database joomla;
mysql>grant all on joomla.* to joomla@’localhost’ identified by ‘redhat’;
mysql> flush privileges;
Go to the Browser and type your domain name or ip address and press enter this will shows you joomla installation screen.
Admin Panel of joomla.