Login as root
### Create a folder `installer` ###
mkdir /installer
cd /installer
### Download the installer from apachefriends usin wget ###
wget http://www.apachefriends.org/download.php?xampp-linux-1.6.8a.tar.gz
### Unpack the tar ball to folder `/opt` and install service ###
tar xvfz xampp-linux-1.6.8a.tar.gz -C /opt
lvl=`egrep :initdefault: /etc/inittab|cut -d: -f2`
cd /etc/rc.d/rc${lvl}.d
ln -s /opt/lampp/lampp S99lampp
ln -s /opt/lampp/lampp K01lampp
### Start Server ###
cd /opt/lampp
./lampp start
./lampp status

Recent Comments