How to Install and Setup Joomla 2.5.3 on CentOS 6/RHEL 6

On 15 March 2012, Joomla Project has announce the new released of Joomla 2.5.3 version. This is a security release. Joomla 2.5.3 has fixed 2 security issues as below :
High Priority – Core – Privilege Escalation – 20120303
High Priority – Core – Password Change – 20120304
In this post, i will show the steps to install Joomla 2.5.3 on Red Hat Linux Enterprise 6 (RHEL 6) 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 and RHEL 5.x.

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

[root@rhel6 ~]# wget http://joomlacode.org/gf/download/frsrelease/16804/73116/Joomla_2.5.3-Stable-Full_Package.zip
--2012-03-24 03:59:13--  http://joomlacode.org/gf/download/frsrelease/16804/73116/Joomla_2.5.3-Stable-Full_Package.zip
Resolving joomlacode.org... 206.123.111.164
Connecting to joomlacode.org|206.123.111.164|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://downloads.joomlacode.org/frsrelease/7/3/1/73116/Joomla_2.5.3-Stable-Full_Package.zip [following]
--2012-03-24 03:59:14--  http://downloads.joomlacode.org/frsrelease/7/3/1/73116/Joomla_2.5.3-Stable-Full_Package.zip
Resolving downloads.joomlacode.org... 206.123.111.167
Connecting to downloads.joomlacode.org|206.123.111.167|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7984960 (7.6M) [application/zip]
Saving to: âJoomla_2.5.3-Stable-Full_Package.zipâ

100%[==========================================================>] 7,984,960   55.7K/s   in 2m 41s

2012-03-24 04:01:55 (48.5 KB/s) - âJoomla_2.5.3-Stable-Full_Package.zipâ

2. Unzip the package into web server’s document root :

[root@rhel6 ~]# unzip Joomla_2.5.3-Stable-Full_Package.zip -d /var/www/html/joomla253

3. Create database for joomla 2.5.3 :

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

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license

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

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

mysql> CREATE USER 'joomla253user'@'localhost' IDENTIFIED BY 'joomla253password';
Query OK, 0 rows affected (0.01 sec)

mysql> GRANT ALL PRIVILEGES ON joomla253db.* to joomla253user@localhost;
Query OK, 0 rows affected (0.00 sec)

mysql> SHOW GRANTS FOR 'joomla253user'@'localhost';
+----------------------------------------------------------------------------------------------------------------------+
| Grants for joomla253user@localhost                                                                                   |
+----------------------------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'joomla253user'@'localhost' IDENTIFIED BY PASSWORD '*F421F24167FCE0B4DAE4130DFB268C7897CF0C3D' |
| GRANT ALL PRIVILEGES ON `joomla253db`.* TO 'joomla253user'@'localhost'                                               |
+----------------------------------------------------------------------------------------------------------------------+
2 rows in set (0.01 sec)

mysql> exit
Bye

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

[root@rhel6 ~]# cp /var/www/html/joomla253/installation/configuration.php-dist /var/www/html/joomla253/configuration.php
[root@rhel6 ~]# chmod 777 /var/www/html/joomla253/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.2

See also  How to Install wget on CentOS 5.7

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

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 Install MySQL Database in Linux Using Yum

13. Setup and configuration wizard complete :

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

[root@rhel6 ~]# chmod 664 /var/www/html/joomla253/configuration.php
[root@rhel6 ~]# ls /var/www/html/joomla253/ | grep installation
installation
[root@rhel6 ~]# rm -rf /var/www/html/joomla253/installation

15. You can enjoy using Joomla 2.5.3 now :

To access your Joomla 2.5.3 administrator’s page :
http://serverip/joomla253/administrator/

To browse your Joomla 2.5.3 CMS :
http://serverip/joomla253/

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 short howto will explain the steps to reset a lost root password or to reset a forgotten root password on Linux RHEL 7 or CentOS 7. Basically, we will...

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...