How to Installing CMS Joomla 3.0 on Ubuntu Server 12.04

Joomla 3.0 is out, released and announced by Joomla community in few days ago. Joomla is an popular free and open-source CMS (content management system) in world, On this release Joomla 3.0 includes the mobile-friendly Twitter Bootstrap framework. Twitter Bootstrap is a free collection of tools for creating Websites and Web applications. It contains HTML and CSS-based design templates for typography, forms, buttons, charts, navigation and other interface components, as well as optional JavaScript extensions.

If you are joomla fans and interested to try new features of joomla 3.0, Follow the guide step-by-step to installing Joomla 3.0 on Ubuntu Server 12.04.

Step-by-Step Installing Joomla 3.0 on Ubuntu Server 12.04

Step 1. Install Web Server (LAMP)

Joomla developed using php script, database MySQL and running on apache web server. So, before install joomla 3.0 in ubuntu server you need to install LAMP Server (Linux Apache MySQL PHP). Login to ubuntu server machine via ssh then install it.

sudo apt-get install lamp-server^

or you can install lamp server using command tasksel then select LAMP Server

sudo apt-get install tasksel
sudo tasksel

tasksel - LAMP Server

Step 2. Configure Apache and Create Database

On this step, you need create apache config for joomla in directory apache webserver.

sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/joomla

then enable the Joomla website and restart apache web-server with following commands:

sudo a2ensite joomla
sudo service apache2 restart

Next, Log in to mysql server as root user

mysql -u root -p

Create database for joomla with command below,in case we’ll create database with name “dbjoomla”


Create a new user of username joomlauser, with following command below:

CREATE USER joomlauser;

Create password “joomlapwd” for user “joomlauser”;

SET PASSWORD FOR joomlauser = PASSWORD("joomlapwd");

Grant user joomlauser all permissions on the database.

GRANT ALL PRIVILEGES ON dbjoomla.* TO joomlauser@localhost IDENTIFIED BY 'joomlapwd';

Log out from mysql server.


Now joomla ready to install on ubuntu server

Step 3. Download and Installing Joomla 3.0

Download joomla 3.0 from joomla official website. then create directory joomla  in the default apache folder /var/www

sudo mkdir /var/www/joomla

Extract joomla package has beed downloaded in to directory /var/www/joomla

sudo unzip -q -d /var/www/joomla

Change access /var/www/joomla to apache user and goup (www-data) and set permission /var/www/joomla 775

sudo chown -R www-data.www-data /var/www/joomla/
sudo chmod -R 777 /var/www/joomla/

Now you can install joomlo 3.0 from your favorite browser by typing http://[hostname]/joomla, see screenshot below

Link Reference :

Tags: #CMS #Joomla 3.0 #Ubuntu Server 12.04

How to Upgrade Ubuntu Server 12.04 to Ubuntu Server 14.04 LTS
How to Upgrade Ubuntu Server 12.04 to Ubuntu Server 14.04 LTS
This tutorial will describes how to upgrade
  1. author

    fazal2 years ago

    Thanks a lot for the post…………very very helpful.

  2. author

    Greg2 years ago

    Thanks so much – very easy to follow

  3. author

    Motion20822 years ago

    No problems installing Joomla but I cant upload templates or delete my installation folder, any idea if I need to change something in Ubuntu?

  4. author

    Steve C. Yang, P.E.2 years ago

    Thanks, your posting is the most helpful, among 3 I tried. But, I just went through steps for installing LAMP and Joomla 3.1.5 in /var/www/joomla. but I can’t see the Joomla installation screen, as depicted by screen shots, according to instructions above. Please advise.

  5. author

    peradaban1 year ago

    Thankyou, Very easy to follow and very helpful. I succeed in installing joomla on ubuntu.

  6. author

    andrey1 year ago

    guys I didnt understand what should i write here
    {http://[hostname]/joomla }

    • author

      banjo1 year ago

      It is typically the I.P add of your computer where you installed joomla, but you can also use the server name of that machine, but if you are using a virtual host, then you can use ” localhost ” in replace of ” [hostname] “.

  7. author

    Patchy1 year ago

    I found it a lot cleaner to unzip the Joomla package directly into /var/www instead of creating a separate folder called /joomla. For my server, this will be the only site hosted, so I can probably get by with doing that. It makes it look cleaner to point a browser to and reach the homepage instead of

  8. author

    Oflameo11 months ago

    Hold It! What the fsck is up with that
    “sudo chmod -R 777 /var/www/joomla/”?
    Kids, don’t do that on you computer if you like it not to be defaced.


Leave a reply "How to Installing CMS Joomla 3.0 on Ubuntu Server 12.04"

Must read×