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

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 :

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 Turn Off or Disable Output Buffering for php.ini on PHP 5.3.3

In this post, i will show how turn off or disable output buffering for php.ini on PHP 5.3.3. Output buffering is used by PHP to improve performance and to perform a few tricks. PHP will send buffer to browser every get_opt(‘output_buffering’) bytes. Turning on output buffering alone decreases the amount of time it takes to download and render our HTML because it’s not being sent to the browser in pieces as PHP processes the HTML. For information, this steps has been tested 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 and RHEL 5.x.

1. Open /etc/php.ini :

[root@centos58 ~]# vi /etc/php.ini

In PHP 5.3.3, output_buffering’s directive is set to ‘enabled’ or ‘On’ with buffer size 4096 by default. It’s on line 264 on /etc/php.ini file :

; http://www.php.net/manual/en/outcontrol.configuration.php#ini.output-buffering
output_buffering = 4096

2. In order to disable or turn it ‘off’, you have to comment out the line 264 as below :

; http://www.php.net/manual/en/outcontrol.configuration.php#ini.output-buffering
;output_buffering = 4096

3. Don’t forget to restart httpd service to take effect immediately :

[root@centos58 ~]# /etc/init.d/httpd restart

How to Fix “Your host needs to use PHP 5.2.4 or higher to run this version of Joomla!”

Question :
When i try run joomla 2.5.4 installation wizard, I get the following error :
http://server_ip_address/joomla254/installation/index.php

Your host needs to use PHP 5.2.4 or higher to run this version of Joomla!

Solution :
Install latest version of the PHP. To install PHP version 5.3.3, simply run the following command :

[root@centos58 ~]# yum install php53-* -y
Transaction Summary
====================================================================================================
Install      58 Package(s)
Upgrade       0 Package(s)

Total download size: 24 M
Downloading Packages:
(1/58): php53-recode-5.3.3-1.el5.i386.rpm                                    | 5.9 kB     00:00
(2/58): firebird-filesystem-2.1.4.18393.0-1.el5.i386.rpm                     | 6.6 kB     00:00
(3/58): php53-enchant-5.3.3-1.el5.i386.rpm                                   | 9.7 kB     00:00
(4/58): php53-mcrypt-5.3.3-1.el5.i386.rpm                                    |  16 kB     00:00
(5/58): php53-tidy-5.3.3-1.el5.i386.rpm                                      |  18 kB     00:00
(6/58): php53-php-gettext-1.0.11-3.el5.noarch.rpm                            |  20 kB     00:00
(7/58): zarafa-common-7.0.6-1.el5.i386.rpm                                   |  21 kB     00:00
(8/58): boost141-system-1.41.0-2.el5.i386.rpm                                |  24 kB     00:00
(9/58): php53-pspell-5.3.3-7.el5_8.i386.rpm                                  |  26 kB     00:00
(10/58): php53-mssql-5.3.3-1.el5.i386.rpm                                    |  26 kB     00:00
(11/58): php53-snmp-5.3.3-7.el5_8.i386.rpm                                   |  29 kB     00:00
(12/58): php53-ldap-5.3.3-7.el5_8.i386.rpm                                   |  36 kB     00:00
(13/58): php53-process-5.3.3-7.el5_8.i386.rpm                                |  38 kB     00:00
(14/58): php53-dba-5.3.3-7.el5_8.i386.rpm                                    |  39 kB     00:00
(15/58): php53-bcmath-5.3.3-7.el5_8.i386.rpm                                 |  42 kB     00:00
(16/58): libntlm-1.0-1.el5.i386.rpm                                          |  43 kB     00:00
(17/58): libXpm-3.5.5-3.i386.rpm                                             |  45 kB     00:00
(18/58): php53-imap-5.3.3-7.el5_8.i386.rpm                                   |  50 kB     00:00
(19/58): php53-interbase-5.3.3-1.el5.i386.rpm                                |  50 kB     00:00
(20/58): php53-odbc-5.3.3-7.el5_8.i386.rpm                                   |  51 kB     00:00
(21/58): php53-xmlrpc-5.3.3-7.el5_8.i386.rpm                                 |  52 kB     00:00
(22/58): php53-pdo-5.3.3-7.el5_8.i386.rpm                                    |  66 kB     00:00
(23/58): boost141-filesystem-1.41.0-2.el5.i386.rpm                           |  72 kB     00:00
(24/58): php53-pgsql-5.3.3-7.el5_8.i386.rpm                                  |  73 kB     00:00
(25/58): php53-intl-5.3.3-7.el5_8.i386.rpm                                   |  74 kB     00:00
(26/58): php53-mysql-5.3.3-7.el5_8.i386.rpm                                  |  87 kB     00:00
(27/58): mod_ssl-2.2.3-63.el5.centos.1.i386.rpm                              |  94 kB     00:00
(28/58): libgsasl-0.2.29-1.el5.i386.rpm                                      | 100 kB     00:01
(29/58): php53-gd-5.3.3-7.el5_8.i386.rpm                                     | 109 kB     00:00
(30/58): php53-xml-5.3.3-7.el5_8.i386.rpm                                    | 112 kB     00:00
(31/58): distcache-1.4.5-14.1.i386.rpm                                       | 119 kB     00:00
(32/58): m4-1.4.5-3.el5.1.i386.rpm                                           | 133 kB     00:01
(33/58): libtidy-0.99.0-14.20070615.el5.i386.rpm                             | 140 kB     00:01
(34/58): php53-soap-5.3.3-7.el5_8.i386.rpm                                   | 146 kB     00:01
(35/58): enchant-1.4.2-4.el5.1.i386.rpm                                      | 151 kB     00:01
(36/58): libical-0.48-1.el5.i386.rpm                                         | 202 kB     00:01
(37/58): php53-mapi-7.0.6-1.el5.i386.rpm                                     | 217 kB     00:02
(38/58): firebird-libfbclient-2.1.4.18393.0-1.el5.i386.rpm                   | 295 kB     00:02
(39/58): imake-1.0.2-3.i386.rpm                                              | 319 kB     00:02
(40/58): automake-1.9.6-2.3.el5.noarch.rpm                                   | 476 kB     00:03
(41/58): libxslt-1.1.17-2.el5_2.2.i386.rpm                                   | 485 kB     00:04
(42/58): lm_sensors-2.10.7-9.el5.i386.rpm                                    | 511 kB     00:04
(43/58): libc-client-2004g-2.2.1.i386.rpm                                    | 516 kB     00:04
(44/58): unixODBC-libs-2.2.11-10.el5.i386.rpm                                | 551 kB     00:04
(45/58): php53-devel-5.3.3-7.el5_8.i386.rpm                                  | 591 kB     00:05
(46/58): php53-common-5.3.3-7.el5_8.i386.rpm                                 | 604 kB     00:04
(47/58): autoconf-2.59-12.noarch.rpm                                         | 647 kB     00:05
(48/58): net-snmp-5.3.2.2-17.el5.i386.rpm                                    | 703 kB     00:06
(49/58): recode-3.6-24.el5.i386.rpm                                          | 838 kB     00:07
(50/58): libmapi-7.0.6-1.el5.i386.rpm                                        | 886 kB     00:07
(51/58): libvmime-0.9.2-0.1.20110626svn.el5.i386.rpm                         | 887 kB     00:07
(52/58): freetds-0.91-2.el5.i386.rpm                                         | 992 kB     00:08
(53/58): php53-mbstring-5.3.3-7.el5_8.i386.rpm                               | 1.2 MB     00:09
(54/58): zarafa-client-7.0.6-1.el5.i386.rpm                                  | 1.2 MB     00:11
(55/58): php53-5.3.3-7.el5_8.i386.rpm                                        | 1.3 MB     00:10
(56/58): net-snmp-libs-5.3.2.2-17.el5.i386.rpm                               | 1.3 MB     00:11
(57/58): php53-cli-5.3.3-7.el5_8.i386.rpm                                    | 2.5 MB     00:22
(58/58): libicu-3.6-5.16.1.i386.rpm                                          | 5.3 MB     00:47
----------------------------------------------------------------------------------------------------
Total                                                               114 kB/s |  24 MB     03:37
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : php53-common                                                                1/58
  Installing     : php53-pdo                                                                   2/58
  Installing     : libicu                                                                      3/58
  Installing     : boost141-system                                                             4/58
  Installing     : unixODBC-libs                                                               5/58
  Installing     : net-snmp-libs                                                               6/58
  Installing     : freetds                                                                     7/58
  Installing     : boost141-filesystem                                                         8/58
  Installing     : php53-cli                                                                   9/58
  Installing     : php53                                                                      10/58
  Installing     : php53-mbstring                                                             11/58
  Installing     : enchant                                                                    12/58
  Installing     : libc-client                                                                13/58
  Installing     : libxslt                                                                    14/58
  Installing     : libntlm                                                                    15/58
  Installing     : libgsasl                                                                   16/58
  Installing     : libvmime                                                                   17/58
  Installing     : libical                                                                    18/58
  Installing     : m4                                                                         19/58
  Installing     : lm_sensors                                                                 20/58
  Installing     : net-snmp                                                                   21/58
  Installing     : libtidy                                                                    22/58
  Installing     : libXpm                                                                     23/58
  Installing     : imake                                                                      24/58
  Installing     : distcache                                                                  25/58
  Installing     : mod_ssl                                                                    26/58
  Installing     : recode                                                                     27/58
  Installing     : autoconf                                                                   28/58
  Installing     : automake                                                                   29/58
  Installing     : firebird-filesystem                                                        30/58
  Installing     : zarafa-common                                                              31/58
  Installing     : firebird-libfbclient                                                       32/58
  Installing     : php53-interbase                                                            33/58
  Installing     : php53-recode                                                               34/58
  Installing     : php53-gd                                                                   35/58
  Installing     : php53-tidy                                                                 36/58
  Installing     : php53-snmp                                                                 37/58
  Installing     : php53-xml                                                                  38/58
  Installing     : php53-imap                                                                 39/58
  Installing     : php53-enchant                                                              40/58
  Installing     : php53-mssql                                                                41/58
  Installing     : php53-odbc                                                                 42/58
  Installing     : php53-intl                                                                 43/58
  Installing     : php53-pgsql                                                                44/58
  Installing     : php53-mysql                                                                45/58
  Installing     : php53-pspell                                                               46/58
  Installing     : php53-bcmath                                                               47/58
  Installing     : php53-mcrypt                                                               48/58
  Installing     : php53-ldap                                                                 49/58
  Installing     : php53-soap                                                                 50/58
  Installing     : php53-process                                                              51/58
  Installing     : php53-xmlrpc                                                               52/58
  Installing     : php53-dba                                                                  53/58
  Installing     : php53-devel                                                                54/58
  Installing     : php53-php-gettext                                                          55/58
  Installing     : libmapi                                                                    56/58
  Installing     : php53-mapi                                                                 57/58
  Installing     : zarafa-client                                                              58/58

Installed:
  php53.i386 0:5.3.3-7.el5_8                         php53-bcmath.i386 0:5.3.3-7.el5_8
  php53-cli.i386 0:5.3.3-7.el5_8                     php53-common.i386 0:5.3.3-7.el5_8
  php53-dba.i386 0:5.3.3-7.el5_8                     php53-devel.i386 0:5.3.3-7.el5_8
  php53-enchant.i386 0:5.3.3-1.el5                   php53-gd.i386 0:5.3.3-7.el5_8
  php53-imap.i386 0:5.3.3-7.el5_8                    php53-interbase.i386 0:5.3.3-1.el5
  php53-intl.i386 0:5.3.3-7.el5_8                    php53-ldap.i386 0:5.3.3-7.el5_8
  php53-mapi.i386 0:7.0.6-1.el5                      php53-mbstring.i386 0:5.3.3-7.el5_8
  php53-mcrypt.i386 0:5.3.3-1.el5                    php53-mssql.i386 0:5.3.3-1.el5
  php53-mysql.i386 0:5.3.3-7.el5_8                   php53-odbc.i386 0:5.3.3-7.el5_8
  php53-pdo.i386 0:5.3.3-7.el5_8                     php53-pgsql.i386 0:5.3.3-7.el5_8
  php53-php-gettext.noarch 0:1.0.11-3.el5            php53-process.i386 0:5.3.3-7.el5_8
  php53-pspell.i386 0:5.3.3-7.el5_8                  php53-recode.i386 0:5.3.3-1.el5
  php53-snmp.i386 0:5.3.3-7.el5_8                    php53-soap.i386 0:5.3.3-7.el5_8
  php53-tidy.i386 0:5.3.3-1.el5                      php53-xml.i386 0:5.3.3-7.el5_8
  php53-xmlrpc.i386 0:5.3.3-7.el5_8

Dependency Installed:
  autoconf.noarch 0:2.59-12                        automake.noarch 0:1.9.6-2.3.el5
  boost141-filesystem.i386 0:1.41.0-2.el5          boost141-system.i386 0:1.41.0-2.el5
  distcache.i386 0:1.4.5-14.1                      enchant.i386 1:1.4.2-4.el5.1
  firebird-filesystem.i386 0:2.1.4.18393.0-1.el5   firebird-libfbclient.i386 0:2.1.4.18393.0-1.el5
  freetds.i386 0:0.91-2.el5                        imake.i386 0:1.0.2-3
  libXpm.i386 0:3.5.5-3                            libc-client.i386 0:2004g-2.2.1
  libgsasl.i386 0:0.2.29-1.el5                     libical.i386 0:0.48-1.el5
  libicu.i386 0:3.6-5.16.1                         libmapi.i386 0:7.0.6-1.el5
  libntlm.i386 0:1.0-1.el5                         libtidy.i386 0:0.99.0-14.20070615.el5
  libvmime.i386 0:0.9.2-0.1.20110626svn.el5        libxslt.i386 0:1.1.17-2.el5_2.2
  lm_sensors.i386 0:2.10.7-9.el5                   m4.i386 0:1.4.5-3.el5.1
  mod_ssl.i386 1:2.2.3-63.el5.centos.1             net-snmp.i386 1:5.3.2.2-17.el5
  net-snmp-libs.i386 1:5.3.2.2-17.el5              recode.i386 0:3.6-24.el5
  unixODBC-libs.i386 0:2.2.11-10.el5               zarafa-client.i386 0:7.0.6-1.el5
  zarafa-common.i386 0:7.0.6-1.el5

Complete!

How to Fix Writable Issue or Error During Joomla CMS Pre-Installation Check on Linux

Joomla is a the dynamic portal engine and content management system. Some of the Joomla’s newbie don’t really familiar with the joomla installation process and some of them stuck on “Pre-Installation Check” when trying to install Joomla site on your linux server. Most of them will get the following warning during the installation wizard :

configuration.php Writeable  -----------------> Set to 'No'
You can still continue the installation as the configuration settings will be displayed at the end. 
You will have to manually upload the code. Click in the text area to highlight all of the code and 
then paste into a new text file. Name this file 'configuration.php' and upload it to your site root folder.  

Joomla

Solution :
This is just a warning. The only file that needs to be writable during joomla installation is configuration.php. It should be set to 777 during the installation only. Before you start to change permission, you should copy the file configuration.php-dist from installation’s folder to joomla root folder. Make sure you rename configuration.php-dist to configuration.php.

[root@rhel6 ~]# cp /var/www/html/joomlatest/installation/configuration.php-dist /var/www/html/joomlatest/configuration.php

Check the existing permission setting for configuration.php. It should 644.

[root@rhel6 ~]# ls -l /var/www/html/joomlatest/configuration.php
-rw-r--r-- 1 root root 3184 Mar 24 21:42 /var/www/html/joomlatest/configuration.php

Initially, configuration.php is set to 644 or “rw-r–r–‘. Permission is set to 777 during installation process only. After successfully installed your joomla site, please change back the configuration.php to 644.

[root@rhel6 ~]# chmod 777 /var/www/html/joomlatest/configuration.php

Avoid using 777 to any directories or folders on the server for Joomla site because that means anyone can do anything to your folders!

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

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 :

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 Install Joomla 1.7 using cPanel

There are two methods to install Joomla 1.7 on your webhosting. First method is with the automatic installer from the webhosting’s application that’s already included in the control panel, also called cPanel. Second method is manually install from the web hosting server. In this post, i will show you on how to install the Joomla 1.7 using cPanel.

1. Make sure you have domain or subdomain configured as below :
Joomla 1.7

2. Click on the QuickInstall from the Software/Services column :
Joomla 1.7

3. Select Joomla 1.7 :
Joomla 1.7

4. Click Continue :
Joomla 1.7

5. Click Install Now! :
Joomla 1.7

6. Installation has been completed. Take note on the temporary password. Kindly reset your temporary password asap :
Joomla 1.7

7. You can log in to joomla administrator’s page using the following URL:
http://domain/administrator
CMS URL will be as below : http://domain.

In this example, my joomla subdomain is http://joomla1.7.ehowstuff.com

How to Install Joomla 1.5 on CentOS 5.5

On this tutorial, i will guide you about how to install and create the website using Joomla 1.5 content management system on Linux CentOS 5.5 server. In this tutorial, you’ll learn how to setup Joomla database and go through the installation wizard.

What is Joomla

Joomla is a Content Management System, also referred to as a CMS. Joomla CMS will allow you to build Web sites and powerful online applications and easily manage your website or application. Joomla is an open source solution that is freely available to everyone.

Steps :
1. Download the Joomla 1.5 here
2. Assume that you already install the LAMP ( Linux, Apache, MySQL and PHP) server.
3. Create the mysql database for Joomla website as below:

    mysql> create database joomladb;
    Query OK, 1 row affected (0.01 sec)
    
    mysql> create user 'joomlauser'@'localhost' identified by 'joomlapassword';
    Query OK, 0 rows affected (0.01 sec)
    
    mysql> grant all privileges on joomladb.* to joomlauser@localhost;
    Query OK, 0 rows affected (0.00 sec)
    
    mysql> show grants for 'joomlauser'@'localhost';
    +------------------------------------------------------------------------------------------+
    | Grants for joomlauser@localhost                                                          |
    +------------------------------------------------------------------------------------------+
    | GRANT USAGE ON *.* TO 'joomlauser'@'localhost' IDENTIFIED BY PASSWORD '5e559f7f7a9d59e2' |
    | GRANT ALL PRIVILEGES ON `joomladb`.* TO 'joomlauser'@'localhost'                         |
    +------------------------------------------------------------------------------------------+
    2 rows in set (0.01 sec)
    

Please note the the MySQL database creation method is optional. It’s depend on your style on how you manage the MySQL, wether use phpMyAdmin or Webmin or mysql command line.

4. Extract and upload the joomla to your Linux CentOS server.
5. Start install the joomla 1.5 cms. In your web browser, navigate to your root directory where you have installed Joomla. The screen that appears should indicate 7 steps, but none of them are very complicated.
Example: http://192.168.2.2/joomla/installation/

Error :

    PHP Version >= 4.3.10 Yes
    - Zlib Compression Support Yes
    - XML Support  Yes
    - MySQL Support  Yes
    MB Language is Default  Yes
    MB String Overload Off  Yes
    configuration.php Writable No
    

Solution for error above

  • Leave the configuration.php-dist file as is.
  • Follow regular installation, ignoring the warning that the configuration file is not writable. Just proceed until 7. Finish

6. The configuration file or directory is not writable or there was a problem creating the configuration file. You will have to upload the following code by hand. Click in the text area to highlight all of the code and then paste into a new text file. Name this file ‘configuration.php’ and upload it to your site root folder.

    [root@server ~]# vi /var/www/html/joomla/configuration.php
    
     Please check back again soon.';
    var $sitename = 'Mywebsites';
    var $editor = 'tinymce';
    var $list_limit = '20';
    var $legacy = '0';
    /* Debug Settings */
    var $debug = '0';
    var $debug_lang = '0';
    /* Database Settings */
    var $dbtype = 'mysql';
    var $host = 'localhost';
    var $user = 'joomlauser';
    var $password = 'joomlapassword';
    var $db = 'joomladb';
    var $dbprefix = 'jos_';
    /* Server Settings */
    var $live_site = '';
    var $secret = '3s1LjD640azuPkHG';
    var $gzip = '0';
    var $error_reporting = '-1';
    var $helpurl = 'http://help.joomla.org';
    var $xmlrpc_server = '0';
    var $ftp_host = '127.0.0.1';
    var $ftp_port = '21';
    var $ftp_user = '';
    var $ftp_pass = '';
    var $ftp_root = '';
    var $ftp_enable = '0';
    var $force_ssl = '0';
    /* Locale Settings */
    var $offset = '0';
    var $offset_user = '0';
    /* Mail Settings */
    var $mailer = 'mail';
    var $mailfrom = 'mynewjoomla@gmail.com';
    var $fromname = 'Mywebsites';
    var $sendmail = '/usr/sbin/sendmail';
    var $smtpauth = '0';
    var $smtpsecure = 'none';
    var $smtpport = '25';
    var $smtpuser = '';
    var $smtppass = '';
    var $smtphost = 'localhost';
    /* Cache Settings */
    var $caching = '0';
    var $cachetime = '15';
    var $cache_handler = 'file';
    /* Meta Settings */
    var $MetaDesc = 'Joomla! - the dynamic portal engine and content management system';
    var $MetaKeys = 'joomla, Joomla';
    var $MetaTitle = '1';
    var $MetaAuthor = '1';
    /* SEO Settings */
    var $sef           = '0';
    var $sef_rewrite   = '0';
    var $sef_suffix    = '0';
    /* Feed Settings */
    var $feed_limit   = 10;
    var $feed_email   = 'author';
    var $log_path = '/var/www/html/joomla/logs';
    var $tmp_path = '/var/www/html/joomla/tmp';
    /* Session Setting */
    var $lifetime = '15';
    var $session_handler = 'database';
    }
    ?>
    

7. Save configuration.php file and change the permission using chmod command

    [root@server ~]# chmod 644 /var/www/html/joomla/configuration.php
    

8. Please remember to completely remove the installation directory. You will not be able to proceed beyond this point until the installation directory has been removed. This is a security feature of Joomla!. Run below command :

    [root@server ~]# rm -rf /var/www/html/joomla/installation
    

9. Finish and Enjoy your new websites using joomla cms