You can follow the same method for installing Joomla 1.6.0 on CentOS

Joomla! is a free open source content management system for publishing content on the World Wide Web and intranets as well as a Model–view–controller (MVC) Web Application Development framework. The system includes features such as page caching to improve performance, RSS feeds, printable versions of pages, news flashes, blogs, polls, website searching, and language internationalization. Joomla is licensed under the GPL, and is the result of a fork of Mambo.

It is written in the PHP programming language and uses the MySQL database. Here is the step by step guide of how to install joomla on CentOS.

Operating System

Joomla v.1.5.10

Installing prerequisites:

Enabling RPM repositeries:

rpm -ivh http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

Enabling Utter Ramblings repositeries:

rpm --import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

Creating repo file:

touch /etc/yum.repos.d/utterramblings.repo
echo '[utterramblings]' >> /etc/yum.repos.d/utterramblings.repo
echo "name=Jason’s Utter Ramblings Repo" >> /etc/yum.repos.d/utterramblings.repo
echo 'baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/' >> /etc/yum.repos.d/utterramblings.repo
echo 'enabled=1' >> /etc/yum.repos.d/utterramblings.repo
echo 'gpgcheck=1' >> /etc/yum.repos.d/utterramblings.repo
echo 'gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka' >> /etc/yum.repos.d/utterramblings.repo

Installing required packages:

yum -y install mysql mysql-server mysql-devel httpd php php-mysql

Creating database for joomla:

mysql -u root -p
mysql>create database joomla;
echo "extension=mysql.so" >> /etc/php.ini

Installation of joomla:

Download and unzip the joomla package in your web root directory. In my case it is /var/www/html

Creating a temporary configuration file
touch /var/www/html/joomla/configuration.php
chmod 777 /var/www/html/joomla/configuration.php

Restart your web server:

service httpd restart

Enter the following url in your browser:

http://your_ip/joomla and follow the webinstallation process. It is quit simple.

Installing Joomla on CentOS
Tagged on:                             

11 thoughts on “Installing Joomla on CentOS

  • October 3, 2009 at 9:14 pm

    i do it already and completely.So I would like to appreciate for your information above.
    I Use Centos for running Joomla. if anybody want me to show how to pls. write to me tjking2514@hotmail.com

  • May 11, 2010 at 1:52 am

    Your effort is helpful.
    I’m trying to install it in “CentOS5.4”

    I’ve two questions:

    1.I can’t login as ‘root’ in mysql.See below:
    mysql -u root -p
    Enter password:
    ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)

    2.Why the others need write option in configuration.php ?
    chmod 777 /var/www/html/joomla/configuration.php


  • May 11, 2010 at 2:46 am

    Problem “1” solved. I’ve login as ‘root’ and create the ‘joomla’ database.
    But now in the configuration window is shows:
    – MySQL Support No
    All others are YES.

  • May 12, 2010 at 8:17 am

    Thanks for your reply.
    I was missing *php-mysql*
    After installing it with “yum install php-mysql” followed by restarting “mysqld” and “httpd” and a SELinux rule “setsebool -P httpd_can_network_connect=1”

    It’s working.
    Your blog is really resourceful. ^_^

  • June 2, 2010 at 6:47 am

    i have completed de steps you have indicated above but i can not touch configuration.php in joomla when i tipe de command it says:touch: cannot touch `/var/www/html/Joomla_1.5.18-Stable-Full_Package/configuration.php-dist’: No such file or directory
    can you tell me why please

  • June 2, 2010 at 7:46 am

    Run the below command
    #touch /var/www/html/Joomla_1.5.18-Stable-Full_Package/configuration.php

  • June 2, 2010 at 8:23 am

    Thanks for your replay
    I have solved the problem but now another one appears.
    when i type localhost/joomla in my browser it says: waiting for localhost
    after that nothing appears in my browser page a big white page i have there
    i can´t understand what is wrong
    can you tell me please? thanks

  • June 2, 2010 at 10:49 am

    yes i have restarted the server but still the same problem

  • February 3, 2011 at 3:25 pm

    i am running joomla in cent os… while installing a new component i am having the error msg WARNING FAILED TO MOVE… can any 1 help me…


Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recommend on Google