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 http://joomlacode.org/gf/download/frsrelease/16914/73508/Joomla_2.5.4-Stable-Full_Package.zip

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 Joomla_2.5.4-Stable-Full_Package.zip -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
owners.

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)

mysql>

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 Reset Forgotten Root Password in Ubuntu 14.04

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

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 Download and Install Angry Birds on Android Smart Phone

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 :
http://serverip/joomla254/administrator/

To browse your Joomla 2.5.4 CMS :
http://serverip/joomla254/

How to Reset the Directory Manager Password on RHEL 7 / CentOS 7
How to Reset the Directory Manager Password on RHEL 7 / CentOS 7

It is best practice to remember passwords, but because too many passwords, sometimes we forget. We are not encouraged to write the password on any paper or share the password...

How to Find Big Files Size on Linux RHEL/CentOS
How to Find Big Files Size on Linux RHEL/CentOS

As the linux administrator, sometimes we have to identify which files are most take much space in the linux server resulting in low free space. Low disk space can also...

Why Linux users should worry about malware and what they can do about it
Why Linux users should worry about malware and what they can do about it

Don’t drop your guard just because you’re running Linux. Preventing the spread of malware and/or dealing with the consequences of infection are a fact of life when using computers. If...

How to Reset Forgotten Root Password on Linux RHEL 7/CentOS 7
How to Reset Forgotten Root Password on Linux RHEL 7/CentOS 7

This article will explain the steps to reset a lost root password or to reset forgotten root password on Linux RHEL 7 or CentOS 7. Basically, the steps will adding...

How to Update CentOS or Upgrade CentOS to the Latest Version
How to Update CentOS or Upgrade CentOS to the Latest Version

Recently, the latest version of CentOS 7.3 was released. All users of CentOS 7.0, 7.1 and 7.2 can upgrade their system to the most recent. This quick guide will explain...

How to Change your WordPress Username, Nickname and Display Name in MySQL
How to Change your WordPress Username, Nickname and Display Name in MySQL

After you create an account log in WordPress, you may want to change your WordPress username, as appropriate or due to security reason. However, you can not do this from...

How to Enable SSH Root Login on Ubuntu 16.04
How to Enable SSH Root Login on Ubuntu 16.04

As what we wrote in the previous article on how to allow SSH root on Ubuntu 14.04, after installing a fresh new copy of Ubuntu 16.04 LTS, we find that...

How to Change UUID of Linux Partition on CentOS 7
How to Change UUID of Linux Partition on CentOS 7

UUID (Universally Unique IDentifier) should be unique and it is used to identify storage devices on a linux system. If you cloned a virtual machine from vCenter, the metadata containing...

Leave a Reply

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