How to Installing CMS Joomla 3.0 on Ubuntu Server 12.04

In How To 1651 views

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
Must read×