This configuration applies to a new Linux machine all configuration, installed the following configuration, the basic can be assured to play.
1.lampp
2.ulimit modification
#ulimit-N Look at the 1024
Change it into 8192.
#ulimit-N 8192
Simple change is only currently valid, want to continue to effectively modify Etc/profile
Finally add Ulimit-n 8192
#source/etc/profile
3. Modify the file location of MySQL
4. Set Iptables
Open Port 80
Centos
/sbin/iptables-i input-p tcp–dport 80-j ACCEPT
5. Configure phpMyAdmin
Change the name of phpMyAdmin
Turn off phpMyAdmin Root and set the password for root
Modify login mode, for cookies or HTTP
6. Configure FTP
/sbin/iptables-i input-p TCP--dport 21-j ACCEPT
/etc/rc.d/init.d/iptables Save
Save the two rules just now
Turn off anonymous logins, set user names and passwords
7.php rewrite configuration to take effect config file http-vhost.conf need to be increased
<Directory/backup/www/>
Options FollowSymLinks
AllowOverride All
#XAMPP
#Order Deny,allow
#Deny from all
</Directory>
8. Join Apache Auto Start
Etc/profile