1,http://nginx.org/en/download.html下载http://nginx.org/download/nginx-1.2.0.tar.gz
2,tar -xf nginx-1.2.0.tar.gz
3,进入解压目录 chmod a+rwx *
4,./configure --without-http_rewrite_module
5,make && make install
6,sudo /usr/local/nginx/sbin/nginx
浏览器访问 localhost