How to Install and Configure Joomla 2.5.4 on CentOS 5.8

Share this Article :

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 :

[[email protected] ~]# wget

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

[[email protected] ~]# mkdir /var/www/html/joomla254
[[email protected] ~]# unzip -d /var/www/html/joomla254

3. Create database for joomla 2.5.4 :

[[email protected] ~]# 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 [email protected];
Query OK, 0 rows affected (0.17 sec)

mysql> show grants for 'joomla254user'@'localhost';
| Grants for [email protected]                                                          |
| 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 :

[[email protected] ~]# cp /var/www/html/joomla254/installation/configuration.php-dist /var/www/html/joomla254/configuration.php
[[email protected] ~]# 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

Also Read :   4 lvcreate Command Examples on Linux

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 :

Also Read :   How to Uninstall Webmin 1.570 on CentOS 5.7

13. Setup and configuration wizard complete :

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

[[email protected] ~]# chmod 664 /var/www/html/joomla254/configuration.php
[[email protected] ~]# 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