安装: http://wiki.nginx.org/Install (http://nginx.org/download/nginx-1.6.0.tar.gz)
下载,解压,
然后
$./configure
$make
$sudo make install
$sudo vi /usr/local/nginx/conf/nginx.conf
$sudo /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
更多参考: http://www.360doc.com/content/11/0719/12/5907545_134467868.shtml