Wednesday, February 22, 2012

How to Setup Xampp for Linux

Install XAMPP
Two easy steps:
  1. Download the most recent version of XAMPP: (at time of writing 1.7.4)
    http://prdownloads.sourceforge.net/x…ar.gz?download
    (Source URL:http://www.apachefriends.org/en/xampp-linux.html#374)
  2. Extract the archive to /opt using sudo: (make sure you are in the directory that you downloaded the archive to)
    Code:
    sudo tar xvfz xampp-linux-1.5.3a.tar.gz -C /opt
Start XAMPP
sudo /opt/lampp/lampp start
Stop XAMPP
sudo /opt/lampp/lampp stop
Additional XAMPP commands
sudo /opt/lampp/lampp
Close existing connections
To stop the already running apache server:
sudo /etc/init.d/apache2 stop
stops already running mysql (to work with the lampp mysql)
sudo /etc/init.d/mysql stop

Source: Ubuntu Forums

No comments:

Post a Comment