how to install xampp

 

 

 

 

 

 

Installing XAMPP on Linux/UNIX
Although the following instructions were tested on an Ubuntu Linux system, the
steps are the same for a default installation of all other Linux or commercial UNIX
distributions. Should you encounter unexpected error messages during compilation,
contact your systems administrator or refer to the documentation for your particular
operating system.
If you are using the version of XAMPP included on this book’s CD-ROM, begin as
the superuser (either log in as root or su from a regular system user) and mount the
CD-ROM under /mnt on your filesystem:
# mount /dev/cdrom /mnt -t iso9660
Now that you have access to the XAMPP file on the CD-ROM, or if you have downloaded
the latest version from http://www.apachefriends.org/en/xampp-linux.html,
continue to the specific installation steps.
As the superuser, copy the file from the XAMPP directory on the CD-ROM (or from
your download location) to the /opt directory. Within the /opt directory, extract the
files you have downloaded:
# tar xvfz xampp-linux-VERSION-NUMBER.tar.gz -C /opt

This creates a directory called /opt/lampp, in which XAMPP is installed. To start
XAMPP, first change directories to the new directory:
# cd lampp
Issue the following command to start XAMPP (which starts Apache and MySQL):
# ./lampp start
You will see a message such as this:
Starting XAMPP for Linux 1.8.0…
XAMPP: Starting Apache with SSL (and PHP5)…
XAMPP: Starting MySQL…
XAMPP: Starting ProFTPD…
XAMPP for Linux started.
To test whether the web server is running, open a web browser and enter
http://localhost/xampp/index.php. The menu for the XAMPP service should
display, as shown

 

 

 

 

 

 

 

 

 

 

That’s all there is to it; XAMPP has installed Apache, PHP, and MySQL on your
machine, and you can see the status of services and read more information about
it through the links in the left column when viewing http://localhost/xampp/
index.php.
To stop XAMPP and its services, you can issue the following command at any time
from the command line:
# /opt/lampp/lampp stop

Be sure to read “Securing XAMPP” at the end of this chapter for more information
about locking down your XAMPP-powered machine (even if it is only for development).

 

how to install xampp on linux