

After running nano sktop enter the following code.desktop to launch the XAMPP graphical service manager, run the following commands, in the path / usr / share / applications: #! / bin / bash $ (pkexec /opt/lampp/manager-linux-圆4.run) Touch xampp-control-panel nano xampp-control-panel We must create the script with name xampp-control-panel: Creating the script responsible for executing the graphical panel of XAMPP in the path / usr / bin / .Inside the file .policy we paste the following code:Īuthentication is required to run XAMP Control Panel xampp auth_admin auth_admin auth_admin /opt/lampp/manager-linux-x1.0.run true For this we go to the route / usr / share / polkit-1 / actions and we execute: Setting up the rule .policy for the graphical panel to run with administrator permissions this will generate a bash file that runs xampp-linux-圆4-5.6.n.$ ln -s / opt / lampp / bin / mysql / usr / bin / $ which mysql $ type mysql $ ls -lart / usr / bin / mysql We accept everything and wait for the installation to finish.$ sudo su $ chmod + x xampp-linux-圆4-5.6.n $. We proceed to give execution permissions to the.We open a Terminal with Control + T, or from our menu.run, which we must install in the following way: How to install and configure XAMPP? Installing XamppĢ.- At the end of the download we have a archive.

Completely free and easy to install Apache distribution containing MariaDB, PHP, and Perl. The XAMPP installation package has been designed to be incredibly easy to install and use. To verify that XAMPP starts automatically at the startup, reboot the system.Īfter reboot, open the terminal and run the following command.XAMPP is a completely free and easy to install Apache distribution that contains MariaDB, PHP, and Perl. Technically, we created a custom service through the script file and instructed Ubuntu to start this service at the startup. Once the script file is created, run the following command to instruct Ubuntu to execute it at the startup. Unless you are an experienced Linux user, I highly recommend you to simply ignore these warning messages. You have three choices to deal with these warning messages update the gedit to fix the bug, use other text editor to create the script file such as the vim and nano or ignore these messages.Ĭreating a script file from other text editors is not as simple and straightforward as creating it from the gedit. More information about this bug is available here. There is a known bug in the gedit text editor which displays these warning messages. You may get the following warning messages at the terminal.
