How to Install XAMPP in Ubuntu for Localhost Server

How to Install XAMPP in Ubuntu for Localhost ServerXAMPP is very popular Open-Source Software for the Web Developer. It runs on Windows, Linux, Mac.

4 Steps to Install XAMPP in Ubuntu. [Tested on Ubuntu 14.04 LTS]

  1. Download xampp-linux-x64-7.3.6-2-installer.run software in your Download Directory from ApacheFriends.
  2. Open Terminal CTRL + ALT +T . And type cd Downloads.
  3. Next run chmod 755 xampp-linux-x64-7.3.6-2-installer.run from your terminal.
  4. Install XAMPP:Run the following command and follow the window.
    sudo ./xampp-linux-x64-7.3.6-2-installer.run
N.B.Replace xampp-linux-x64-7.3.6-2-installer.run with the similar name of downloaded xampp package.

How to Start and Stop XAMPP in Ubuntu/Linux through Terminal

1. To Start XAMPP - sudo /opt/lampp/xampp start

2. To Stop XAMPP -sudo /opt/lampp/xampp stop

How to Fix XAMPP permission denied /opt/lampp/htdocs Directory in Ubuntu

To fix this (Granting Permission) just run the following command through your Terminal.
sudo chmod -R 777 /opt/lampp/htdocs
Elliyas A.
I am Elliyas Ahmed, Founder of COMPROMATH. Follow me @CSElliyas in Twitter, Facebook, Instagram, LinkedIn.

Comments

Announce for Comments: Don't put spam message. We check each comment before publishing.
We allows Videos, Images, GIF in comment.
For Video - Use any YouTube Video link. Example: https://youtu.be/wG8gYDWj-mg
For Image - Use image source link that contains .jpg, jpeg, .png, jpeg, .gif . Example: https://i.imgur.com/7LFytQc.jpeg