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 xampp-linux-5.6.38-0-installer.run

Now, Install XAMPP.

sudo ./xampp-linux-5.6.38-0-installer.run

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  Install Snapcraft On Ubuntu, Linux Mint And Elementary OS

Subscribe To Our Newsletter.

Join our mailing list to receive the latest linux tutorials, tips & tricks, freebies,news and updates from our team.

You have Successfully Subscribed!