:::: MENU ::::
joomla-installation-guide-for-lamp
Software

Joomla installation on localhost

Joomla is a free, open-source content management system (CMS) and application framework that powers 2.7% of the entire web and a model–view–controller (MVC) Web application framework that can also be used independently. With a vibrant volunteer community, user-friendly features and plenty of power, Joomla is perfect. Recent CMS market share studies which comparing Open Source Content Management Systems showed Joomla as the market leader, followed by WordPress, then Drupal, then Plone.

This technical post on localhost joomla install will help a newbie to installing joomla on localhost linux ubuntu using LAMP server.

NB: RELATED POSTS

Installing Joomla on localhost windows WAMP server.
Installing Joomla 1.5 on localhost windows WAMP server. [ Old version install steps. ]

Here is the steps,

  1. Install LAMP server.
    You can use the steps explained on this post to install lamp server.
    [ Tested Version: Linux Ubuntu 12.04 , Apache Version: 2.2.22-1ubuntu1, PHP Version: 5.3.10-1ubuntu3.2, MySQL Version: 5.5.24-0ubuntu0.12, phpmyadmin: 3.4.10.1deb1 ]
  2.  

  3. Download the latest zip version of Joomla from joomla download page. [ Tested Version: Joomla_3.0.1-Stable-Full_Package ]
  4.  

  5. Extract the downloaded joomla version (Joomla_3.0.1-Stable-Full_Package.zip). Copy and paste Joomla (or folder name) folder in to www directory of the LAMP server.
    You can access local web server root directory on Ubuntu 12.04,

    Go to Terminal [ Ctrl+Alt+T ]
    Type sudo nautilus hit Enter,
    Type password hit Enter, a new window opens,

    Go to downloaded folder ( File System – home – username – downloads OR if you want to copy the setup from other folder(windows folders) than ubuntu file system, first mount that folder in to ubuntu ) and copy Joomla (or folder name) folder in to File System – var – www .

    Close the window and also type exit to close terminal.

  6.  

  7. Set correct permission for var/www/joomla folder.

    Open Terminal [ Ctrl+Alt+T ]
    And login on your “ubuntu server”, login as root, for this type sudo -i hit Enter and type your “password”.
    Your prompt changes from “$” to ubuntu server “#”.
    Then type, chown -R www-data /var/www/jommla enter.
    Type exit shows a logout and prompt back to “$”.
    Type exit to close terminal.

  8.  

  9. Create a MySQL database support for Joomla installation on your LAMP server phpMyAdmin interface as shown below.

    ( You can access phpmyadmin interface on ubuntu by entering http://localhost/phpmyadmin/ on your favorite web browser. )
    Write down the database name, user name, and password as you will need these later.

    a) Create New Database.

    phpMyAdmin -> Click on Databases menu -> Create database – Enter database name –> Create.

    b) Add a new database user with password.

    NB: It is not a good practice to use ‘root’ user for all databases due to security reasons. Read this post, SQL injections attack php.

    phpMyAdmin -> Click on Privileges menu -> Hit Add user-> Add user pop up box appears -> Enter database username and password, select ‘Local’ on Host: dropdown option -> Drag down hit ‘Check All’ on Global privileges -> hit on ‘Add User’ button.

    how to install joomla on localhost

    c) Add user to the Database.

    phpMyAdmin -> Click on Privileges menu -> Select username -> Edit privileges -> Edit privileges pop up box appears,

    joomla installation on ubuntu

    Drag down to Database-specific privileges menu -> Select Database name from drop down

    joomla installation on localhost

    The page will refresh-> Check all Database-specific privileges -> ‘Go’.

  10.  

  11. Step-by-Step Installation Wizard
     
    Enter http://localhost/joomla on your favorite web browser. Proceed as explain in below steps,

    1) Main Configuration

    On this step first select your language, Enter site name and description, Admin email, username and password. Click Next.

    install joomla

    2) Database Configuration

    Select database type ‘MySQL’ and host name ‘localhost’.
    And enter database name, username and password which is created on step 5. Click Next,

    how to install joomla

    3) Settings overview

    In the finalisation step you can select ‘Install sample data’ option, a newbie must use sample data. And also check main configuration and database configuration settings. Click Next,

    Next window shows installation process, wait for complete installation,

    After complete installation you will get a congrats message. On the same page use “Remove installation folder” button for remove install details for security reasons.

    Now you can login joomla admin end through http://localhost/joomla/administrator/ by entering your admin username and admin password.

    You can also view Joomla site front end by http://localhost/joomla(folder name)/ this url.

Happy coding……………..

3 Comments

  1. Mike

    A good “current” description of how to quickly set up Joomla on a local Windows server. This article saved a lot of time. Thanks!

    Reply
  2. Linda Huggins

    Thanks for the amazing info. I find this post have a lot of descriptive. Thank you very much.

    Reply
  3. Roho

    Pretty fine post. I just stumbled upon your blog. Big thanks for the beneficial information.

    Reply

Leave a comment

Before hitting COMMENT button, please fill * marked fields and the correct reCAPTCHA response.
  •