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.

READ  Linode VPS - Lish SSH Gateway

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
READ  How to Fix "Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again" Error When using Local DVD-ROM/CD-ROM Yum Repository on Fedora 16

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

Leave a Reply

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