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.
After downloading simply type in the following commands:
- Go to a Linux shell and login as the system administrator root: su
- 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.
To start XAMPP simply call this command:
You should now see something like this on your screen:
Starting XAMPP 1.6.4...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
Ready. Apache and MySQL are running.
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:
You should now see:
Stopping LAMPP 1.6.4...
LAMPP: Stopping Apache...
LAMPP: Stopping MySQL...
And XAMPP for Linux is stopped.
To uninstall XAMPP just type in this command:
rm -rf /opt/lampp