![]() ![]() These are two separate components and they must both be installed to present a website as intended. ![]() For example, it’s common for PHP to dynamically render web content but retrieve data from a database. Now to the user specified sudo will no longer ask for a password and if we now click on the Applications menu on the Xampp Control Panel it will start up without any problem.Hosting a website on a Linux system usually involves multiple software packages that operate together to deliver a web browsing experience to potential viewers. We must go to the end of the document and as the last line add this one.Īs “username” we write the username with which we have logged in Elementary OS and then we save This sentence will open a configuration document for the «sudo» command. ![]() The simplest solution is to prevent sudo from asking for a password, so we execute it from a terminal The problem is that when launching it from applications we cannot provide the password to sudo so in the end it does not get started ![]() Now if we display the applications menu, the Xampp Control Panel appearsīut when we click on the Xampp Control Panel it does not get started Inside the file we include the following text:Įxec=sudo /opt/lampp/manager-linux-圆4.run Vim sudo vim /usr/share/applications/sktop To do that we will create the sktop file with any text editor for example: In order to add an installed program to this menu, we must create the file with the extension ‘.desktop’ in the following folder: /usr/share/applications The problem happens if for convenience we want to add the Xampp Control Panel to the Elementary OS Applications menu to be able to launch it without executing any command in the terminal. Sudo will ask us for the user’s password and after entering it the Xampp Control Panel window will appear sudo vim /usr/share/applications/sktop Installing a web server at home with Xampp and Elementary OSĪfter installing Xampp in Elementary OS to launch the Xampp Control Panel we must open a terminal window ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |