This is all the guide, I hope you liked it and do not forget to leave your comments. Now we can graphically manage our XAMPP and access mysql normally without going to the / opt / lampp / bin directory. Here is the steps to install XAMPP in Ubuntu : Download XAMPP file from Open linux terminal then change mod using: chmod +x filename Run command in terminal: sudo. To use mysql, if you did the previous configuration you no longer need to go to the directory / opt / lampp / bin / mysql -u root -p to log in now you just need to open a terminal and run mysql -u root -p.Now we have an icon that when pressed will execute the PKEXEC, which asks us for a login to assign execution permissions to the XAMPP graphical panel.Comment = Start / Stop XAMPP Name = XAMPP Control Panel Exec = xampp-control-panel Icon = xampp Encoding = UTF-8 Terminal = false Type = Application 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. ![]() ![]()
0 Comments
Leave a Reply. |