Nginx is a compact and efficient Linux Web server software developed by Igor Sysoev, the second Rambler site for Russian visits, has been running for years on a number of large Russian websites and is fairly stable. Nginx has the characteristics of stable performance, rich function, simple operation, fast processing of static files and very little consumption of system resources.
Kind of a little!!!.
Gossip
Recently has been not too much time, has been learning routing technology, who knows a friend called me to help do the next RAS, finished the thought of Nginx, so this article was born, where I used is CentOS 6.0. Installation is the default minimal installation, without any non-essential software packages! I can't finish the 1g!.
As for the installation of the operating system, graphics will certainly not challenge the IQ of everyone, as for the text installation, Chen Yi's blog has a redhat5 text installation of the whole process ~ here is omitted!
Pre-Installation Preparation:
1: Configure IP DNS gateway to ensure that Xshell tools can be connected to the ~ cough! Xshell is a good thing, use Linux should be used Xshell (personal insights, such as download, you can search in this blog!) )
2: Close SElinux
Vi/etc/selinux/config selinux=enforcing Comment out add a row to selinux=disabled
3: Close Iptables (not recommended)
You can add a policy for iptables to allow 80-port and 3306-Port! Relevant knowledge can be referenced in my blog!
Install the required packages!!! A little bit too much. Oh Ah!
Pcre-8.20.tar.gz (support nginx pseudo static)
Nginx-1.0.6.tar.gz (current stable version)
Mysql-5.1.59.tar.gz
Php-5.2.17.tar.gz
php-5.2.17-fpm-0.5.14.diff.gz (PHP fastcgi mode supported)
Zendoptimizer-3.3.9-linux-glibc23-i386.tar.gz
Libmcrypt-2.5.7.tar.gz