How to Install XAMPP on Ubuntu 15.04

This is simple how to tutorial to install XAMPP stack on Ubuntu 15.04 and its officiall flavors.

You can install XAMPP packages from their website http://www.apachefriends.org/download.html. The latest version is 5.6.8,as is released.

First, make the installer executable with chmod:
[sourcecode]
sudo chmod +x xampp-linux-x64-5.6.8-0-installer.run
[/sourcecode]

Then run the installer:

[sourcecode]
sudo ./xampp-linux-x64-5.6.8-0-installer.run
[/sourcecode]

When you asked a couple of question, just answer it with “Y”. The XAMPP stack is installed on /opt/lampp

You can test it, with this command to start the XAMPP stack:
[sourcecode]
sudo /opt/lampp/lampp start
[/sourcecode]