How to Install the Joomla Environment on a Local Linux Server
The tools that Joomla requires to run can be installed as a single package via XAMPP. When you install XAMPP on your Linux Server, it installs the Apache web server, PHP, and MySQL for you, along with some other tools that will make your life as a Joomla administrator a little easier. XAMPP lays the full groundwork for Joomla; after you install XAMPP, all you’ve got to do is to unzip and install Joomla.
XAMPP is free and can be installed with minimal effort and in just a few minutes. Just select the version for your operating system to go to the correct download page.
To install XAMPP in Linux, follow these steps:
Download the .tar.gz installer file (such as xampp-linux-1.6.7.tar.gz).
Open a Linux shell.
Log in as the system administrator by entering the su command.
Extract the downloaded .tar.gz file to the /opt directory by entering this command:
tar xvfz xampp-linux-1.6.7.tar.gz -C /opt
That’s it! XAMPP is now installed in a directory named /opt/lampp (LAMPP is the Linux version of XAMPP).
To start XAMPP, just enter this:
You should get the following message:
Starting XAMPP 1.6.7 . . . LAMPP: Starting Apache . . . LAMPP: Starting MySQL . . . LAMPP started. Ready. Apache and MySQL are running.
When you see this message, open a browser, and navigate to http://localhost. You should see the main XAMPP page.
If you don’t end up with the results you’re after, visit the XAMPP for Linux FAQ page.