Linux Tutorials

How to Install XAMPP in Ubuntu 18.04

xampp in ubuntu

Insight: Tutorial To Install XAMPP In Ubuntu 18.04 LTS

Installing XAMPP in Ubuntu is really a easy job if you knows few lines of command. Even if you are new into the web development world and want to setup web server in your Ubuntu then we can help you to setup XAMPP. Let’s see the commands to install XAMPP.

XAMPP is an easy to install Apache distribution which contains various tools likeĀ  MariaDB, PHP, and Perl.


Install XAMPP in Ubuntu

How to Install XAMPP in Ubuntu

You need to download the latest version of XAMPP from the official download page. Run the following command after downloading. Move to the downloads directory and change the permission.

cd ~/Downloads
sudo chmod +x

Now, Install XAMPP.

sudo ./

After installing the xampp, you need to execute the following command to start xampp service.

$ sudo /opt/lampp/lampp start

If you see any errors like netstat: command not found then run the following command to solve this error.

$ sudo apt install net-tools

After installing all tools, you can browse your local server environment through browser. Type http://localhost/ in your browser to access it. To access my sql database panel, you need to visit http://localhost/phpmyadmin in your browser.

Let us know if there is any error in this tutorial post. Like and share if you find this article useful.

READ THIS ALSO  How To Kill Unresponsive Applications In Ubuntu