This article covers how you can set up your lamp environment with XAMPP. You can also go to and to see that the Apache server and MySQL database are up and running. This will open the XAMPP window, and you can see all the services and their status in the window. To start the said tool, run the following commands. You can also manage XAMPP services through the GUI tool. Using a Graphical Tool to Manage XAMPP Services sudo /opt/lampp/lampp startĬheck the XAMPP service status at any moment with the following command. You can start the XAMPP service by running the following command in the terminal. Installation should take 10 to 15 minutes, depending on your system.Ĭlick Finish when the installation is completed.Īfter installation, XAMPP files and the new projects you build can be found in the /opt/lampp and /opt/lampp/htdocs directories. Make sure to select both the XAMPP Core and Development files and proceed to installation.
Click Next until you are asked to select components of the installation. You will see the setup screen pop up after the command is issued. Start the XAMPP installer using the following command. The XAMPP installer will reside in your navigated folder, but before running it, we need to sort out permissions so that it can become executable using the chmod command. Note: Change the XAMPP version if an updated version is available.
Now, run the following wget command to download the XAMPP package from the internet. Download XAMPP for Ubuntuįirst of all, use the cd command to navigate to the folder you want to store or download the XAMPP package for Ubuntu. All the commands in the tutorial will work for any Linux-based system. Note: The methods in this tutorial are implemented on the Ubuntu 20.04 system. You will need terminal access and an account with sudo privileges on the Ubuntu-Desktop system.