First, frequently asked questions
1. After installing Xampp4linux, only native (http://localhost) access, other machines in the LAN can not access
Answer: Modify httpd.conf in/opt/lampp/etc, change listen 80 to listen native IP address: 80 native IP address use ifconfig view
2. After I have modified the 1, the machine inside the LAN is still inaccessible.
Answer: Turn off your firewall and enter under Terminal: Chkconfig iptables off
3. I can't connect to MySQL remotely
Answer: On the computer at localhost, after logging in to MySQL, change the "host" entry in the "User" table in the "MySQL" Database, and rename "%" from "localhost"
4. How to enable Apache to run CGI programs---> Configuration
Answer: Modify the Apache configuration file httpd.conf:
Modify the Apache configuration file httpd.conf: <Directory "D: / Apache Group / Apache2 / cgi-bin"> AllowOverride None Options None Order allow, deny Allow from all </ Directory> #AddHandler cgi-script.cgi to: <Directory "D: / Apache Group / Apache2 / cgi-bin"> AllowOverride None Options ExecCGI Order allow, deny Allow from all </ Directory> AddHandler cgi-script .cgi .pl |
Second, the installation process XAMPP---> Source: Official website
Step 1: Download just click on the link below. It's always a good idea to download the latest version. :) A complete list of downloads (older versions) can be found at SourceForge. Detailed XAMPP version update records can be found in the release notes. |
|
XAMPP Linux version of 1.7.4, January 26, 2011 |
Version |
Size |
Related information |
xampp Linux 1.7.4 |
75 MB |
apache 2.2.17, MySQL 5.5.8, PHP 5.3.5 & PEAR + SQLite 2.8.17/3.6.16 + multibyte (mbstring) Support, Perl 5.10.1, ProFTPD 1.3.3d, PhpMyAdmin 3.3.8, OpenSSL 1.0.0c, GD 2.0.1, Freetype2 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 00 9e, ncurses 5.7, Mod_perl 2.0.4, FreeTDS 0.63, GetText 0.17, IMAP c-client 2007e, OpenLDAP (Client) 2.4.21, MCrypt 2.5.7, Mhash 0.8.18, Eaccelerator 0.9.6.1, CURL 7.21.0, libxslt 1.1.26, Libapreq 2.12, FPDF 1.6, XAMPP Control Panel 0.8, bZIP 1. 0.5, Pbxt 1.0.11-6-pre-ga (temporarily disabled), PBMs 0.5.15 (temporarily disabled), Pbmslib 0.5.15, icu4c Library 4.2.1& nbsp MD5 Value: 7d83c9829d8c79d43ea607e5b009dc58 |
Upgrade from 1.7.3a to 1.7.4 |
In MB |
Upgrade the package. How do I upgrade? MD5 Value: 0cc42bf52e5d7ef1e51311cb254e96ea |
Development Kit |
MB |
If you want to compile other packages for XAMPP yourself, the development kit contains the files and Unix manuals you need. It is installed in the same way as the general XAMPP release: Tar xvfz xampp-linux-devel-1.7.4.tar.gz-c/opt MD5 Value: 5530C8E5BEEA1FA0CC447CCBB79447A1 |
|
Note:If you download these files in a Windows system that is running the McAfee virus scanner, you may experience false positives for virus warnings. This is an error between McAfee and gzip compressed files, which you can ignore. Step 2: After installing the download, enter the following command:
- Enter the Linux shell and log in as a system administrator:
Su
- To release the downloaded compressed file to/OPT:
Tar xvfz xampp-linux-1.7.4.tar.gz-c/opt Warning: only allow XAMPP to be installed using the above command. Do not use any Microsoft Windows tools to release compressed files, which is no use. Warning 2: When you use this command, older versions of XAMPP that already exist will be overwritten.
This is the end. XAMPP is installed in/opt/lamppDirectory. Step 3: Get started run XAMPP using the following command: /opt/lampp/lampp start You should be able to see a message similar to the following on the screen: Starting XAMPP 1.7.4 ... Lampp:starting Apache ... Lampp:starting MySQL ... Lampp started. All right. Apache and MySQL are running. If you encounter any error messages, please check the Linux FAQ. Step 4: Test it, it's simple, but how do you detect if all the components are working correctly? Just enter the following link in your browser: http://localhost You should now see a link to detect the working status of installed software and a XAMPP start page for some sample programs. Real-time Art example: a small PHP/GD program (from version 0.9.6pre1 with a flash php/ming example, see screen). Thanks for the fonts provided by Anke Arnold? Ankecalligraph?. Instructions for use security questions (must read!) As mentioned earlier, XAMPP is not intended for production environments and is intended for use by the development environment only. XAMPP is set to be as open as possible and provides the developer with any features he or she wants. This is great for the development environment, but it can be deadly for production environments. Here's a list of XAMPP. Lack of security protection:
- MySQL Administrator (Root) does not have a password.
- MySQL is accessible over 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 over the network.
- MySQL and Apache run under the same user name (nobody).
To fix most of the security weaknesses, simply execute the following command:
/OPT/LAMPP/LAMPP Security
It enables a small security check feature to make the XAMPP you install more secure. Advanced start and stop parameters prior to version 0.9.4/opt/lampp/lamppYou can simply start or stop XAMPP. Since the beginning of the 0.9.5 edition, it has learned a lot of new things. |
|
Advanced Start and Stop parameters |
Parameters |
Describe |
Start |
Start XAMPP. |
Stop |
Stop XAMPP. |
Restart |
Restart XAMPP. |
Startapache |
Only Apache is started. |
Startssl |
Start the Apache SSL support. The command will continue to activate SSL support, for example: After executing the command, if you shut down and restart the Xampp,ssl will still be active. |
Startmysql |
Start the MySQL database only. |
Startftp |
Start the ProFTPD server. Via FTP, you can upload files to your Web server (username "Nobody", Password "lampp"). The command will continue to activate ProFTPD, for example: After executing the command, if you close and restart Xampp,ftp will still be active. |
Stopapache |
Stop Apache. |
Stopssl |
Stop the Apache SSL support. The command will continue to stop SSL support, for example: After executing the command, if you shut down and restart the Xampp,ssl will still be in the stopped state. |
Stopmysql |
Stop the MySQL database. |
Stopftp |
Stop the ProFTPD server. The command will continue to stop ProFTPD, for example: After executing the command, if you close and restart Xampp,ftp will still be in the stopped state. |
Security |
Start a small security check procedure. |
|
For example: To enable Apache with SSL support, simply enter the following command (as root): /opt/lampp/lampp Startssl You can now access the Apache server in the form of SSL https://localhost. Where do you put the stuff? Where do you put the stuff? A big question Oh, here are some answers! ;) |
|
Important Files and directories |
Files/Directories |
Use |
/opt/lampp/bin/ |
XAMPP Command Library. For example,/opt/lampp/bin/mysql executable MySQL monitor. |
/opt/lampp/htdocs/ |
The Apache document root directory. |
/opt/lampp/etc/httpd.conf |
Apache configuration files. |
/opt/lampp/etc/my.cnf |
MySQL configuration file. |
/opt/lampp/etc/php.ini |
PHP configuration files. |
/opt/lampp/etc/proftpd.conf |
ProFTPD the configuration file. (starting from version 0.9.5) |
/opt/lampp/phpmyadmin/config.inc.php |
PhpMyAdmin the configuration file. |
|
Stop XAMPP want to stop XAMPP, just enter the following command: /opt/lampp/lampp stop You should now be able to see: Stopping Lampp 1.7.4 ... Lampp:stopping Apache ... Lampp:stopping MySQL ... Lampp stopped. Then XAMPP's Linux version stops running. Uninstall to uninstall XAMPP, just enter the following command: Rm-rf/opt/lampp Uninstall complete. :) |
|
Linux XAMPP FAQs