Friday, May 16, 2014

Install XAMPP using command line on Linux

Install XAMPP using command line on Ubuntu, CentOS, Fedora, Debian, RHEL

If you are installing xampp first time on your linux system then it is fine but if you have installed it before and there is directory lampp in your /opt. You should rename it first.
# mv /opt/lampp /opt/lampp_old
Now download xampp installer from here.
A file xampp-linux-version-number-installer.run will be downloaded.
Suppose it is in directory Downloads.
Make the file executable.
# chmod a+x ~/Downloads/xampp-linux-version-number-installer.run
Now run the file.
# cd ~/Downloads
# ./xampp-linux-version-number-installer.run
It will open the wizard, now complete it to install xampp.


 





Now when you click on finish button, XAMPP's GUI interface will be appeared.


Now you can start/stop Apache & mysql using UI interface. Click on 'Manage servers' and you will be able to start/stop servers using buttons.

Open xampp in Browser
http://localhost/xampp

Open XAMPP control panel / GUI interface
Run following command in terminal
# cd /opt/lampp && sudo ./manager-linux.run




1 comment:

  1. This is a drag trying to install it on Debian. I can't do it. Booo.

    ReplyDelete