I am in a similar situation as you, I to run XAMPP on a windows server and was wanting to make the switch. However, XAMPP was originally designed for Linux and has been modified to run in Windows environments.
Once you are up and running with your Linux environment, you can just go here and download XAMPP. Then extract it into the opt folder and start the service. You should be good to go from that point.
Below is a good tutorial for extracting XAMPP and getting started. Please note I didn't create this tutorial, it was created by TechInTrench.
- Locate the downloaded XAMPP archive file to the desktop if it is not already there.
- Open the terminal by selecting Application->Accessories->Terminal and execute the following command (It will install the XAMPP to the folder /opt)
sudo tar -xzf xampp-linux-1.7.3a.tar.gz -C /opt
Congrats!!! Now XAMPP is installed under /opt/lampp directory.
After the successful installation of XAMPP, now is the time to start the XAMPP.
- Open the Terminal again and type the following command.
sudo/opt/lampp/lampp start 2. After starting the XAMPP, you should see the following lines in the Terminal.
Starting XAMPP for Linux 1.7.3a…
XAMPP: Starting Apache with SSL (and PHP5)…
XAMPP: Starting MySQL…
XAMPP: Starting ProFTPD…
XAMPP for Linux started.
If till now everything work fine, you can easily check whether XAMPP is running on your system or not.
- Type the following url in the address bar of the browser you are using:
This will result in the following login page of XAMPP.
2. Select your preferred language on the login page and it will redirect you to the following index page of the XAMPP.
3. Click the status link to check the activated components of XAMPP.
This is all about the Installation, Start and Testing of XAMPP on your system.
The details of this tutorial can be found here.