In this tutorial we are going to learn how to install XAMPP on Ubuntu 18.04. We will also install and configure its prerequisites. XAMPP is a source cross-platform internet server alternative Stack which comprises PHP, Apache web server, MySQL database, and Perl. It’s lightweight and simple Apache distribution consequently it is extremely Easy for developers to create a local web server for analyzing and Installation functions.
I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an Ubuntu 18.04 LTS minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.
Install XAMPP on Ubuntu 18.04
Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:
apt-get update -y apt-get upgrade -y
Step 2. Installing XAMPP on Ubuntu 18.04.
First, download the XAMPP package by executing the wget command:
Change the execution rights if the installation file, So we can run it as executable file:
sudo chmod +x xampp-linux-x64-7.2.6-0-installer.run
Run installation process by executing the following command:
A installation set up dialog box will open. In the dialog box, click next(for each step) and move through the process of installation. Once XAMPP is installed, click finish:
Next, launch the Xampp control panel like shown below. Here Click “Manage servers“.
Now start all three services by pressing start all button:
You can also use the commands below to run the Xampp control panel:
Once all Apache server is running, You can use the URL http://localhost/dashboard to open the Dashboard:
Congratulation’s! You have successfully install and configured XAMPP on your Ubuntu 18.04 server. Thanks for using this tutorial for installing XAMPP on Ubuntu 18.04 LTS (Bionic Beaver) system.