Skip to content

Instantly share code, notes, and snippets.

@JrogeT
Last active May 15, 2024 12:25
Show Gist options
  • Save JrogeT/03ec88946d102f276cae7befdd5fc5ef to your computer and use it in GitHub Desktop.
Save JrogeT/03ec88946d102f276cae7befdd5fc5ef to your computer and use it in GitHub Desktop.
Ubuntu command lines to install xampp
sudo -s
apt update
apt upgrade
wget chmod +x xampp-linux-x64-7.1.10-0-installer.run
chmod +x xampp-linux-x64-7.1.10-0-installer.run
./xampp-linux-x64-7.1.10-0-installer.run
#In order to start all the xampp services, we need to run the following command in the terminal:
/opt/lampp/xampp start
/opt/lampp/xampp stop
/opt/lampp/xampp restart
#Start Apache only:
/opt/lampp/xampp startapache
/opt/lampp/xampp stopapache
#Start Proftpd FTP server only:
/opt/lampp/xampp startftp
/opt/lampp/xampp stopftp
#Start MySQL Database server only:
/opt/lampp/xampp startmysql
/opt/lampp/xampp stopmysql
#Xampp help
/opt/lampp/xampp --help
#Xampp uninstall
/opt/lampp/uninstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment