1 http://nginx.org
2 taobao's book:http://tengine.taobao.org/book/index.html
3 installation notes(install nginx 1.5.4 to ubuntu 12.04):
3.1 pcre may need to be download manually, download from here:
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
3.2 zlib may need to be download manually, download form here:
http://www.zlib.net/
3.3 extract source code of pcre and zlib to somewhere, e.g. /usr/opt/pcre-8.33 and /usr/opt/zlib-1.2.8
3.3.1 configure nginx with this command, assume nginx source code is in /usr/opt/nginx-1.5.4, and enter it:
./configure --prefix=/usr/local/nginx --with-pcre=../pcre-8.33 --with-zlib=../zlib-1.2.8
for more detail of configure option, please reference to http://nginx.org/en/docs/configure.html
3.3.2 make install
3.3.3 check /usr/local/nginx, there should be for direc