XAMPP INSTALLATION PROCESS
chmod 755 xampp-linux-*-installer.run
sudo ./xampp-linux-*-installer.run
That's all. XAMPP is now installed below the /opt/lampp directory.
sudo /opt/lampp/lampp start
Also, note that there is a graphical tool that you can use to manage your servers easily. You can start this tool with the following commands:
cd /opt/lampp
sudo ./manager-linux.run (or manager-linux-x64.run)
sudo /opt/lampp/lampp stop
Firstly, cd to/usr/share/applications
cd /usr/share/applications
Then create a new file with extension is *.desktop by opening the terminal then run this command:
sudo touch xampp.desktop
Open the new file with super admin right by:
sudo gedit xampp.desktop
Paste following to the file content:
[Desktop Entry]
Encoding=UTF-8
Name=XAMPP Control Panel
Comment=Start and Stop XAMPP
Exec=sudo /opt/lampp/manager-linux-x64.run
Icon=/opt/lampp/htdocs/favicon.ico
Categories=Application
Type=Application
Terminal=true
Exec:
Command to run the application (with Xampp you need sudo
right).
Terminal: true
if you want to open terminal when running this application. With Xampp I set value is true
to type the password of sudo
when running the app.
Save the file, now you have the Xampp shortcut available on start menu.
Credit (Xampp's Shortcut):
Truong An
Reference: XAMPP FAQs