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 How to Installing CMS Joomla 3.0 on Ubuntu Server 12.04

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 DATABASE 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';
FLUSH PRIVILEGES;

Log out from mysql server.

exit

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

wget http://joomlacode.org/gf/download/frsrelease/17574/76732/Joomla_3.0.1-Stable-Full_Package.zip
sudo mkdir /var/www/joomla

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

sudo unzip -q Joomla_3.0.1-Stable-Full_Package.zip -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
  • fazal

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

  • Greg

    Thanks so much – very easy to follow

  • Motion2082

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

  • http://www.pvwizard.com/ Steve C. Yang, P.E.

    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.

  • peradaban

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

  • andrey

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

    • banjo

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

  • Patchy

    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 http://192.168.100.100/ and reach the homepage instead of http://192.168.100.100/joomla.

  • Oflameo

    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.

Must read×

Top