How to install Joomla in ubuntu ?

Today we will discuss about how to install Joomla.

Lets start with LAMP Installation.

Please follow the command mentioned below. Note that caret (^) symbol is required.

sudo apt-get install lamp-server^

You will be asked to enter a new root password for the MySQL database. Press ENTER after password.

You will be prompted to enter the password again for confirmation.
Please wait upto completion of installation.

Let’s move on further step.

Check Apache

Launch your web browser (Firefox, Google Chrome, etc.) and open one of these addresses:

http://localhost/ or

Apache is working perfectly if you get this page:

Otherwise restart apache with following command:

sudo /etc/init.d/apache2 restart

Check PHP

You need to create PHP file in /var/www  and add following code into it:

<?php phpinfo();?>

and save this file as a test.php

Then open this address:


You should see a page like this:

Configure MySQL

Since you are using the LAMP web server locally, your MySQL database must uses the same IP address of your localhost which is: Via the Terminal, run this command to verify it:

cat /etc/hosts | grep localhost

Here is the correct output you must get:

cat /etc/hosts | grep localhost localhost
::1     ip6-localhost ip6-loopback

Also verify that the bind address is set correctly by running this command:

cat /etc/mysql/my.cnf | grep bind-address

You should get this output:

cat /etc/mysql/my.cnf | grep bind-address
bind-address =

If you get a different IP address, then edit the my.cnf file with this command:

sudo gedit /etc/mysql/my.cnf

Search for the line which has contain “bind-address” and correct its address by replacing it with

phpMyAdmin Installation

GUI for managing your MySQL databases:

sudo apt-get install libapache2-mod-auth-mysql phpmyadmin

You have to select a web server that will be configured automatically to run phpMyAdmin.
Select apache2 and press Enter:

You will be asked to configure a database for phpmyadmin with dbconfig-common, select Yes and press Enter:

Enter the MySQL password and press Enter:

phpMyAdmin installation is completed.

Now its turn to download joomla.

Download latest joomla version from following link :

Copy joomla directory in this directory : /var/www/joomla

Create a MySQL database and MySQL user

Disable Output_Buffering

The installation of Joomla requires to turn off output_buffering.

– Edit the “php.ini” file:

sudo gedit /etc/php5/apache2/php.ini

– Make following changes

output_buffering = 4096
output_buffering = off

– Save and close.

Now start the installation of joomla by opening following link:


Follow setup instructions :

In this page, provide database name, username and password as created above:

After finish installation process, click on ‘Remove Installation Folder’.

Now you will enter administrator information for access it.

Administrator console


Leave a Reply

Your email address will not be published.

Related Posts
Subscribe to Blog via Email

Join 634 other subscribers

Facebook Pagelike Widget
  • sergo75
  • pharmacies shipping to usa
  • technoreviewmobileapps
  • primeworks
  • turkce
  • penelopeburns
  • paynet11
  • Nisarg shukla
  • kusbas
  • DuplicateMySuccess
  • turkce
  • seoexpertdesign
  • Bookssorted Payroll Management
  • Mr. Gadget Heisenberg
  • Natural Skin Care Love
  • turkce
  • Kieran Doswell
  • connectpos
  • turkce
  • devangpipaliya
  • vteamitdevelopers
  • Jozsef Torsan
  • setiaji
  • lilhedr
  • felishia green
  • roslionel
  • derrickkorku
  • previsea
  • Zenaida Morrell
  • turkce
  • Seo
  • erotik
  • Bobby Carsan
  • Hilar AK
  • brian2010
  • Buy USA Private Proxies
  • buy CBD
  • 720p
  • webinarstarterblueprint
  • turkce
  • Sir. George Githunguri
  • Crave Freebies
  • turkce
  • turkce
  • abdullahnasseeb
  • sijisblog
  • Movies Route
  • webdevelopmentcompanyusa500104195
  • bea450
Mobile Application
%d bloggers like this: