XAMPP for Linux

By the way this software was called LAMPP but to avoid misreading we renamed it to <<XAMPP for Linux>>. So if you are seeking for LAMPP you’re on the right track.

You can install it in 4 Steps.

Step 1:

Download xampp-linux-1.6.4.tar.gz

Step 2:

After downloading simply type in the following commands:

  1. Go to a Linux shell and login as the system administrator root: su
  2. Extract the downloaded archive file to /opt: tar xvfz xampp-linux-1.6.4.tar.gz -C /optWarning: Please use only this command to install XAMPP. DON’T use any Microsoft Windows tools to extract the archive, it won’t work.Warning 2: already installed XAMPP versions get overwritten by this command.

That’s all. XAMPP is now installed below the /opt/lampp directory.

Step 3:

To start XAMPP simply call this command:

/opt/lampp/lampp start

You should now see something like this on your screen:

Starting XAMPP 1.6.4...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.

Ready. Apache and MySQL are running.

Step4 :

OK, that was easy but how can you check that everything really works? Just type in the following URL at your favourite web browser:


Now you should see the start page of XAMPP containing some links to check the status of the installed software and some small programming examples.

The Instant Art example: A small PHP/GD program (since 0.9.6pre1 also a flashy PHP/Ming example, see screenshot).


To stop XAMPP simply call this command:

/opt/lampp/lampp stop

You should now see:

Stopping LAMPP 1.6.4...
LAMPP: Stopping Apache...
LAMPP: Stopping MySQL...
LAMPP stopped.

And XAMPP for Linux is stopped.


To uninstall XAMPP just type in this command:

rm -rf /opt/lampp

The end.