下载源码:http://nginx.org/en/download.html
1: yum -y install gcc gcc-c++ autoconf automake make
2:yum -y install pcre-devel
3:yum -y install openssl openssl-devel
4:./configure --prefix=/home/ap/sdcn/nginx
5:make install
6:/home/ap/sdcn/nginx/sbin/nginx
7:ps auxfww|grep nginx