Browse this blog

Friday, October 23, 2009

Installing XAMPP in Linux

At first you have to switch to root:
  sudo -s

Unpacking the archive:
  tar xvfz xampp-linux-1.7.2.tar.gz -C /opt 

Start XAMPP:
  /opt/lampp/lampp start

Test it:

Close the security hole:
 /opt/lampp/lampp security   

More parameters to:

start Starts the XAMPP-Server
stop Stops the XAMPP-Server
restart Restarts the XAMPP-Server
startapache Only the Apache Server will be started
startssl The SSL assistance will be started for Apache
startmysql Only the Mysql-Server will be started
startftp Only the FTP-Server will be started
stopapache The Apache-Server will be stoped.
stopssl Deactivate the SSL assistance
stopmysql The Mysql-Server will be stoped.
stopftp The FTP-Server will be stoped

For everybody who wants to uninstall the XAMPP-Server:
  rm -rf /opt/lampp (you have to be root)

No comments:

Post a Comment