![]() However, those who have not installed it yet can see our article on the installation of XAMPP in Ubuntu step by step. Paste this inside of the file, save it, and close it: Įxec=sudo /opt/lampp/manager-linux-圆4. Well, I am assuming that you already have XAMPP installed on your Ubuntu Linux system and now you are looking for a way to start it using the terminal. (follow the installation steps to finish it you may close it after that)Ĭreate a desktop icon for it: $ sudo touch /usr/share/applications/sktop Run the following commands to install and run it: $ cd /tmp Now suppose that you want to edit code of sol.desktop run the following command: sudo gedit /usr/share/applications/sol.desktopĪs Singh already gave a really good and well explained answer, here it is a short summary on how to add an entry to the Desktop (app) + how to download and install XAMPP! If there is already of shortcut of XAMPP present in this folder then you can also edit its code instead of creating new file, by knowing its name as shown below: Now go to /usr/share/applications and check if the entry is created or not: Put the following text in /usr/share/applications/sktop: So you have to create file of shortcut in its directory. I tried to go to /opt/lampp but that directory doesnt exists. xampp-linux-1.8.n Su goes well, but the terminal doesnt run the other two lines and doesnt raise any error, so I cant understand how to fix it. Run the following command to confirm if it is installed, and it will install it if it isn't already: sudo apt-get install gksuĪll the shortcuts are present in applications folder. Im trying to install xampp as shown here, with the following line: su chmod 755 xampp-linux-1.8.n. In this post I explained how shortcuts actually worksįirstly gksu should be installed in Ubuntu. xampp-linux-圆4-5.6.nĬheck if the following command runs or not: sudo /opt/lampp/lampp startĪlso check in this way if it works or not: ![]() Search `xampp-linux-圆4-5.6.n` in Google and download it. Check mine and compare.Ĭopy paste below commands in terminal and hit enter button. I have checked your directory it is correct, but some folders of xampp are missing. It will not create icon on desktop, it will create a entry in applications search as shown in the screenshot. Now check applications, its icon has been created. Run following command in terminal: sudo apt-get update Note: For 32 bit xampp type "n" at place of "manager-linux-圆4.run" (You are using 64 bit system so there is no need to change anything, simply do copy paste) Įxec=gksudo /opt/lampp/manager-linux-圆4.run Afterwards, change the permissions of the installer you downloaded. In order to access it through the browser, Open a browser of your choice and enter the following URL. Just in case if you see any errors like netstat: command not found, run the following command: sudo apt install net-tools. Htdocs is the folder which contains the files and var is the folder which contains the databases of all your projects. In order to launch XAMPP, Run the following command in your terminal. sudo /opt/lampp/lampp stop sudo /opt/lampp/lampp start (if not start, please do it again. This will keep untouched three folders in your installation directory (htdocs, temp and var). Then, run: gksu gedit /usr/share/applications/sktop In the opt/lampp folder, you can see a phpmyadmin folder.So the phpmyadmin is exactly to be installed. Installing XAMPP on Ubuntu 22.04.īy default, the XAMPP is not available on Ubuntu 22.04 base repository.First of all you need to install gksu with the following command: sudo apt-get install gksu First, make sure that all your system packages are up-to-date by running the following apt commands in the terminal. Installation Unter Linux installiert sich XAMPP komplett in das Verzeichnis /opt/lamp/. Install XAMPP on Ubuntu 22.04 LTS Jammy Jellyfish We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root. A non-root sudo useror access to the root user.SSH access to the server (or just open Terminal if you’re on a desktop).It’s recommended that you use a fresh OS install to prevent any potential issues. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |