How to install XAMPP (LAMPP) on Ubuntu – with desktop icon and autostart

HomeOther ContentHow to install XAMPP (LAMPP) on Ubuntu – with desktop icon and autostart
How to install XAMPP (LAMPP) on Ubuntu – with desktop icon and autostart
How to install XAMPP (LAMPP) on Ubuntu – with desktop icon and autostart
In this video I will show you how to install XAMPP (LAMPP) on Ubuntu. I will also show you how to make XAMPP (LAMPP) automatically start at system startup. Also, how to add desktop icon for XAMPP Control Panel (LAMPP) and how to start it without password

All orders are included in the description

## Install xampp (Lamp) ##
sudo chmod 755 xampp-linux-*-installer.run
sudo ./xampp-linux-x64-8.0.7-0-installer.run

## Make xampp start automatically at system startup ##
sudo gedit /etc/systemd/system/xampp.service

[Unit]
DescriptionXAMPP

[Service]
ExecStart/opt/lampp/xampp start
ExecStop/opt/lampp/xampp stop
Typeforking

[Install]
WantedBymulti-user.target

sudo systemctl activate xampp.service
sudo systemctl status xampp.service

## Create desktop icon for xampp control panel ##

sudo gedit /usr/share/applications/xampp.desktop

#!/usr/bin/env xdg-open
[Office entrance]
Version1.0
TypeApplication
Terminalfake
Icon[en_US]/opt/lampp/htdocs/favicon.ico
Run /opt/lampp/manager-linux-x64.run
Comment[en_US]start the xampp manager
Name[en_US]xampp
Namexampp
Comment start xampp application

### It must be run using sudo!! ###

### Get username ###
USER echo

### Run command without password ###
sudo visudo
mzn ALL NOPASSWD: /opt/lampp/manager-linux-x64.run

[CTRL o] then Enter then [CTRL x]

Please take the opportunity to connect and share this video with your friends and family if you find it useful.

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *