In this tutorial you can understand how to install XAMPP in Ubuntu. XAMPP is the package which provide you PHP, Apache, MySQL, Sqlite and many more other services. Earlier XAMPP was known as LAMPP so don't get confused, you are on the right way.
As XAMPP comes in compressed
package. You have to decompress it and install it. For this you have
to use terminal so open terminal [ctrl+alt+T] and type the following
commands step by step.
1. First you have to extract file
from their '.tar.gz' file using
the following command in /opt
directory.
sudo tar xvfz xampp-linux-1.7.7.tar.gz -C /opt
2. Now
XAMPP is installed in /opt/lampp directory so you
can start it by
issuing the following command.
sudo /opt/lampp/lampp start
and you
get the following message if the installation done successfully.
Starting XAMPP for Linux 1.7.7...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
Now you can check the installation of XAMPP by writing http://localhost in any of your browser.
If in
case you want to remove XAMPP, first you have to stop all the
services which are currently running. For this execute the following
command.
sudo /opt/lampp/lampp stop
And you
get the following information.
Stopping XAMPP for Linux 1.7.7...
XAMPP: Stoping Apache with SSL...
XAMPP: Stoping MySQL...
XAMPP: Stoping ProFTPD...
XAMPP stopped.
Now
issue the following command to remove/uninstall the complete directory
/opt/lampp
sudo rm
-rf /opt/lampp
If you
want to see the video of this tutorial for how to do, here is the
video of it.
menyambut . . .
ReplyDeleteexcellent,
ReplyDeletebut, I have any advice on what if your article submit in the my social bookmarking (fargoparkscalendar.com)...
thank you very much.
How I can remove xampp from /opt folder ?
ReplyDeletesudo rm -rf /opt/lampp
Deletethanks...saved my lots of time
ReplyDelete