Skip to content

Latest commit

 

History

History
81 lines (62 loc) · 2.01 KB

xampp.md

File metadata and controls

81 lines (62 loc) · 2.01 KB

XAMPP INSTALLATION PROCESS

Change the permissions to the installer

chmod 755 xampp-linux-*-installer.run

Run the installer

sudo ./xampp-linux-*-installer.run

That's all. XAMPP is now installed below the /opt/lampp directory.

To start XAMPP simply call this command:

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)

To stop XAMPP simply call this command:

sudo /opt/lampp/lampp stop

How to create Xampp shortcut in Ubuntu's/Other Distro's Start Menu

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