The following content is reproduced from http://starsliao.blog.163.com/blog/static/89048201041553024170/
Wget http://www.apachefriends.org/download.php? Xampp-linux-1.7.3a.tar.gz
Apache 2.2.14, MySQL 5.1.41, PHP 5.3.1 & pear + SQLite 2.8.17/3.6.16 + multibyte (mbstring) support, Perl 5.10.1, proftpd 1.3.2c, phpMyAdmin 3.2.4, OpenSSL 0.9.8l, GD 2.0.1, limit 2.1.7, libjpeg 6B, libpng 1.2.12, gdbm 1.8.0, zlib 1.2.3, expat 1.2, sablotron 1.0, libxml 2.7.6, Ming 0.4.2, Webalizer 2.21-02, PDF class 009e, ncurses 5.3, mod_perl 2.0.4, freetds 0.63, gettext 0.17, imap c-client 2007e, OpenLDAP (client) 2.3.11, mcrypt 2.5.7, mhash 0.8.18, 255.0.9.5.3, curl 7.19.6, lib1.1.xslt 26, libapreq 2.12, fpdf 1.6, XAMPP Control Panel 0.8, bzip 1.0.5, pbxt 1.0.09-RC, PBMs 0.5.08-Alpha, icu4c library 4.2.1
Tar xvfz xampp-linux-1.7.3a.tar.gz-C/OPT
XAMPP is installed on/Opt/lamppDirectory.
Run the following command to run XAMPP:
/Opt/lampp start
You should be able to see a message similar to the following on the screen:
Starting XAMPP 1.7.3a...
Lampp: Starting Apache...
Lampp: Starting MySQL...
Lampp started.
Okay. Apache and MySQL are running.
But how do you check whether all components work normally? You only need to enter the following link in your browser:
Http: // localhost
Now you can see links that check the working status of installed software and the XAMPP start page of some sample programs.
Here is a list of XAMPP lack of security protection:
- MySQL Administrator (Root)NoPassword.
- MySQL can be accessed through the network.
- ProFTPD uses "lampp" as the password for the user name "nobody.
- PhpMyAdmin can be accessed over the network.
- The sample program can be accessed through the network.
- MySQL and Apache run under the same user name (nobody.
To fix most of the security vulnerabilities, run the following command:
/opt/lampp/lampp security
It enables a small security check function to make the XAMPP installed more secure.
XAMPP official description http://www.apachefriends.org/zh_cn/xampp-linux.html