参考:http://sjsky.iteye.com/blog/1156195
nginx官网:http://nginx.org/
perc:http://www.pcre.org/ a) ./configure ; b) make ;c) make install
zlib: http://zlib.net/ a).configure; b)make ; c) make install
安装nginx后测试一下, 浏览器输入127.0.0.1,显示: Welcome to nginx!
若没启动,进入/usr/local/nginx/sbin启动nginx, sudo ./nginx ;