This is a simple and easy to use guide to install joomla without any permission issues on ubuntu. You can successfully install joomla within 15 minutes.
Let's start the clock and start working.
First you need to have a web server on your local machine. Xampp is the most popular open source web server which installs all the required components for your web server.
Download XAMPP for Linux to your your Home folder.
Open Terminal and enter:
sudo tar xvfz xampp-linux-1.7.7.tar.gz -C /opt
(replace xampp-linux-1.7.7.tar.gz with the version of XAMPP you downloaded).
This installs ... Apache2, mysql and php5 as well as an ftp server.
Start the xampp server with this command.
sudo /opt/lampp/lampp start
Test your XAMPP localhost server
Open your Browser and point it to
The index.php will redirect to
There you will find instructions on how to change default usernames/passwords. On a PC that does not server files to the Internet or LAN then changing the defaults is personal choice.
Download the latest Joomla instalation zip 
Unzip to your hard drive
Connect to localhost with an FTP client. You can use FileZilla client as an open source ftp client. you can download it from here
once you installed filezilla, start filezilla and connect to your localhost server with following information.
Create a folder for your Joomla on the localhost server
FTP the unpacked Joomla installation files to the newly created Joomla folder. You can drag and drop files using filezilla client.
- The XAMPP installation sets the correct Ownership of the files and permissions.
- Using the CHOWN command will cause Ownership problems with xampp.
- Using nautilus to manipulate folders/files on localhost will cause Ownership problems with xampp.
In your Browser type
In the first Joomla installation screen if error reporting is shown as on then:
In your Terminal type
sudo gedit /opt/lampp/etc/php.ini
In the php.ini file, locate
And change the value to
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
display_errors = On
display_errors = Off
Stop then restart xampp for the new settings to take effect
FTP layer is NOT needed
Then go to your phpmyadmin database page and create a database for the joomla installation. You can do this by going to your localhost folder and then click on the phpmyadmin link and then it will take you to the phpmyadmin home page.
create a database named db_joomla (or whatever name you like)
once the database is created, go to the phpmyadmin home page and click on previleges tab and create a new user and asign all the previleges from the option.
password: joomla123 (Best practise is to use the generate password option).
OK. Now you have a separate database for your joomla installation.
- Database user:
- Password for Database user: joomla123
Installing Sample Data is recommended for the novice user.
After installation delete the installation directory and point your Browser to:
That's it. Now you have installed joomla on your ubuntu machine within 15 minutes.