HOW TO INSTALL XAMPP ON UBUNTU
open Terminal
Assume the file is called
xampp-linux-x64-5.5.38-3-installer.run
and is in the folder /home/user/Downloads
. You will need to modify these instructions to fit your situation.- Open a terminal ( cntrl+alt+t ).
- enter
cd /home/user/Downloads
- enter
chmod +x xampp-linux-x64-5.5.38-3-installer.run
- enter
./xampp-linux-x64-5.5.38-3-installer.run
- if step 4 fails with a message including 'permission denied', try entering
sudo ./xampp-linux-x64-5.5.38-3-installer.run
(you will need to enter your password for this).then install itXAMPP: Starting Apache with SSL (and PHP5)...3. Stopping xampp
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
Give command
sudo /opt/lampp/lampp stop
4. Verification of xampp works
For that start xampp first.
sudo /opt/lampp/lampp start
Then open a browser and just give URL,
http://localhost
You will get xampp welcome screen as in the attached screenshot xmpp-welcome-screen.png
5. Security
To make the xampp secure, you have to set password for xampp pages, mysql/phpmyadmin and mysql root user.
Otherwise when you are trying to access xampp pages, you will get error as in the screenshot error-phpmydmin.png.
So to set password, give command on the terminal,
sudo /opt/lampp/lampp security
and set password accordingly to the instructions showing on the terminal.
Now you can start using xampp
Reference link: http://www.apachefriends.org/en/xampp-linux.html
HOW TO INSTALL XAMPP ON UBUNTU
Reviewed by Mydreamzz
on
January 06, 2017
Rating:
No comments
Post a Comment