Tags: style blog http color os using AR strong file
--When reproduced please keep the following, for everyone to add my MSN, enhance communication, learn together.
--Kang Tinghua msn: [email protected]
Software downloads on the following website
XAMPP is a version of Apache that is easy to install and contains MySQL, PHP, and Perl. XAMPP is really easy to install and use: Just download, unzip, start. The software was formerly known as LAMPP.
The idea behind XAMPP is to provide a set of easy-to-install distributions for developers who want to enter the world of Apache. For the convenience of developers, XAMPP is configured by default to turn all features on.
From a security standpoint, the default configuration is not ideal and is not safe for production environments-do not use XAMPP in such environments.
Starting with Lampp 0.9.5, you can make XAMPP more secure by calling»/opt/lampp/lampp security«.
To date, there are four versions of the XAMPP:
The XAMPP version for Mac OS X and Solaris is still in the first phase of development. Use it at your own risk!
One. Enter the Linux shell and log in as a system administrator:
Two. Release the downloaded compressed file to/OPT:
Tar xvfz xampp-linux-1.7.3a.tar.gz-c/opt
Only allow installation of XAMPP using the above command. When you use this command, older versions of XAMPP that already exist will be overwritten. The XAMPP is installed in the /opt/lampp directory.
Three. Start running XAMPP using the following command:
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 ...
All right. Apache and MySQL are running.
Four. Test if the installation is successful, enter the following information in the browser:
This will open the XAMPP to start the main page. It includes phpMyAdmin, and now there is no password to enter.
After this installation, you need to set the appropriate permissions and passwords.
XAMPP lack of security protection list:
Five. Output the security check and configure the appropriate password.
Six. When this password is set, the user name and password are prompted when you enter again via http://localhost or http://192.168.0.1.
Note You cannot open phpMyAdmin at this time, you will be prompted with a password error. You need to configure the phpMyAdmin configuration file and configure the user name and password inside.
Important Files and directories
|/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)|
PhpMyAdmin the configuration file.
Seven. Stop XAMPP
To stop XAMPP, simply enter the following command:
You should now be able to see:
Stopping Lampp 1.7.3a ...
Lampp:stopping Apache ...
Lampp:stopping MySQL ...
Then XAMPP's Linux version stops running.
To uninstall XAMPP, simply enter the following command:
Uninstall complete. :)
Nine. Adjust the xampp to run each time it is powered on.
Add a line to the last face:
Advanced Start and Stop parameters
|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.|
|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):
You can now access the Apache server in the form of SSL https://localhost.
Transferred from: http://blog.csdn.net/jaimejth/article/details/5669089
Turn: Linux under XAMPP installation and configuration