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.

See also  How to Show Line Number in vi or vim Editor

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
See also  How to Mount CDROM Media on CentOS 5/CentOS 6/CentOS 7

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

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

Leave a Reply

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