How to Install and Configure Joomla 2.5.4 on CentOS 5.8

On 2nd April 2012, Joomla Project has announced the immediate availability of Joomla 2.5.4 which is security release. In this post, i will show the steps to install Joomla 2.5.3 on CentOS 5.8 server. This steps may also working on other versions such as CentOS 5.1, CentOS 5.2, CentOS 5.3, CentOS 5.4, CentOS 5.5, CentOS 5.6, CentOS 5.7, CentOS 6.x, RHEL 5.x and RHEL 6.x.

1. Download using wget command the Joomla 2.5.3 Stable Package from official Joomla Download site :

[root@centos58 ~]# wget

2. Make directory joomla254 under web server’s document root then unzip the package into it :

[root@centos58 ~]# mkdir /var/www/html/joomla254
[root@centos58 ~]# unzip -d /var/www/html/joomla254

3. Create database for joomla 2.5.4 :

[root@centos58 ~]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 11
Server version: 5.0.95 Source distribution

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> create database joomla254db;
Query OK, 1 row affected (0.00 sec)

mysql> create user 'joomla254user'@'localhost' identified by 'joomla254password';
Query OK, 0 rows affected (0.04 sec)

mysql> grant all privileges on joomla254db.* to joomla254user@localhost;
Query OK, 0 rows affected (0.17 sec)

mysql> show grants for 'joomla254user'@'localhost';
| Grants for joomla254user@localhost                                                          |
| GRANT USAGE ON *.* TO 'joomla254user'@'localhost' IDENTIFIED BY PASSWORD '498fbbd24bace5da' |
| GRANT ALL PRIVILEGES ON `joomla254db`.* TO 'joomla254user'@'localhost'                      |
2 rows in set (0.00 sec)


4. Copy and Allow write-able to configuration.php as below command :

[root@centos58 ~]# cp /var/www/html/joomla254/installation/configuration.php-dist /var/www/html/joomla254/configuration.php
[root@centos58 ~]# chmod 777 /var/www/html/joomla254/configuration.php

5. Turn off output buffering on php as below guidelines :
How to Turn Off or Disable Output Buffering for php.ini on PHP 5.3.3

See also  How to Install PHP GD-library on Ubuntu

6. Open you default web browser. This steps has been tested using Mozilla Firefox. Navigate to this URL :

7. Select your prefered language :

8. Make sure your follow the requirements and recommendations. Please make sure your actual server setting equal to recommended setting :

9. Read and accept the joomla license.

10. Enter your database name as what you have created on step (3) above :

11. Ignore FTP configuration if you not sure or if your server’s not configured :

12. Complete main configuration and install sample data if you need it :

See also  How to Uninstall Ghost CMS on Ubuntu

13. Setup and configuration wizard complete :

14. For extra security, disable write-able to configuration.php and remove installation folder as below command :

[root@centos58 ~]# chmod 664 /var/www/html/joomla254/configuration.php
[root@centos58 ~]# rm -rf /var/www/html/joomla254/installation

15. You can enjoy using Joomla 2.5.4 now :

To access your Joomla 2.5.4 administrator’s page :

To browse your Joomla 2.5.4 CMS :


Leave a Reply

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