Hey there,

Okay This tutorial tell how to install XAMPP on Linux , I will tell step by step ..

Step 1: First Download XAMPP


Code:
http://www.apachefriends.org/download.php?xampp-linux-1.7.4.tar.gz
OR
login into your SSH as "root" and type

Code:
wget http://www.apachefriends.org/download.php?xampp-linux-1.7.4.tar.gz
Attention: If you download these files on a Windows system and you're running McAfee virus scanner you may get a false positive virus warning. This is a problem with McAfee and gzip-compressed files, it should be ignored.

Step 2: Installation

After downloading ;

1. Open puTTY(SSH client) , in that login to your server as "root".

2. Extract the downloaded archive file to /opt i.e


Code:
tar xvfz xampp-linux-1.7.4.tar.gz -C /opt

Warning: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.



now XAMPP is installed on your server , and Start it..type command

Code:
/opt/lampp/lampp start
now open your Server's IP address in browser or if you have Remote Desktop conection your srever then open localhost in browser i.ehttp://localhost


To secure it type
Code:
/opt/lampp/lampp security
It will ask you if you want to keep Password for PhpMyAdmin,xampp etc, Type Y
and then type your password whatever you want to keep

now again open your localhost and it will prompt for password and user

default user is "lampp" and user for phpmyadmin is root.