Install Xampp on Linux (Ubuntu , Mint or any other Distro)

If you want to install Apache,PHP, MYSQL (with PHPMYAMIN) and feels traditional way some what difficult then you can try XAMPP.

XAMPP is a completely free, easy to install Apache distribution containing MySQL, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and to use. Best part is Xampp is cross-platform tool available for Windows , Mac and Linux.

XAMPP Installation

First Download Xampp ( choose 32-bit or 64-bit version ) from apache friends and copy it to home directory.
Now open Terminal and Change the permissions to the installer using command

chmod 755 xampp-linux-*

Now run the Xampp Installer

sudo ./xampp-linux-*

XAMPP is now installed below the /opt/lampp directory.


first we have to make /opt/lampp/htdocs/ writable so we can easily create files and folders there by following command
 sudo chmod 777 -R /opt/lampp/htdocs

How to Use Xampp

Using a xampp is quite easy using following commands in terminal

sudo /opt/lampp/lampp start (Will Start Xammp)
sudo /opt/lampp/lampp stop  (will Stop Xampp)
sudo /opt/lampp/lampp restart (will restart Xampp)


You can also watch my youtube video to Easy to use Tutorial to install xampp, laravel, lumen on Linux , If you like then don't forget to subscribe my channel

How to install xampp laravel lumen on linux


After starting Xampp , open your favourite browser mine Firefox and browse url http://localhost or you want to access phpmyadmin enter http://localhost/phpmyadmin

 Category : Open-Source   Posted By : Sanjay   on 2017-02-20 08:08:35

Related Post

blog comments powered by Disqus



May I Know You

  • System » Unknown
  • Browser » Unknown
  • IP Address »
  • 8 Online