In this article, we will have explained the necessary steps to install and configure XAMPP on Debian 10. Before continuing with this tutorial, make sure you are logged in as a user with sudo
privileges. All the commands in this tutorial should be run as a non-root user.
XAMPP is a development tool for web developers especially targeted towards back-end web development. It is built by Apache Friends and basically serves as a local host or a local server. Through this local server, you can install this software on your system and test the clients or your website before uploading it to the remote web server or computer. XAMPP is most widely known by Windows users, but there are XAMPP packages for Debian Linux as well.
Install XAMPP on Debian
Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.
sudo apt update sudo apt upgrade sudo apt install net-tools
Step 2. Install XAMPP on Debian 10.
First, you should visit the XAMPP download page and download the XAMPP script:
wget https://www.apachefriends.org/xampp-files/7.3.10/xampp-linux-x64-7.3.10-0-installer.run sudo chmod +x xampp-linux-x64-7.3.10-0-installer.run
After setting up the permission run the file using the following command:
sudo ./xampp-linux-x64-7.3.0-0-installer.run
You will get the following screen then click on next:
Next, select components to install, it is recommended to leave it as default:
Then, you will be informed of the location where the XAMPP setup is going to be installed:
Here the installation process is started:
After completing the installation click on Finish to complete the setup:
Step 3. Launch XAMPP through the Terminal.
Starting XAMPP in Debian is very much easy. To start the XAMPP from the terminal on Debian run the following command:
sudo /opt/lampp/lampp start
Verify Installation:
http://localhost.com
Congratulation, you have learned how to install and configure XAMPP on Debian 10 Buster. If you have any questions, please leave a comment below.