Install xampp for linux3/10/2024 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. ![]() 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 Then we will need to grant the root access for the installer file to run it as a superuser. After finding the XAMPP run file on your filesystem, open it through the terminal shell. After running nano sktop enter the following code Usually, the wget command stores downloaded files inside the Home directory.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 Note: The latest XAMPP 8.1.10 is available at this writeup.To get the latest installer version, you must visit the XAMPP official website. 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: Setup/Installer present screen to display information or get inputs from the user. This starts the XAMPP installation process. 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. Next, run the installer using the below command. ![]() $ 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.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |