<span style="color: rgb(194, 12, 185); font-weight: bold;">sudo</span> <span style="color: rgb(194, 12, 185); font-weight: bold;">apt-get</span> <span style="color: rgb(194, 12, 185); font-weight: bold;">install</span> build-essential libpcre3-dev libssl-dev libxslt-dev libgd2-xpm-dev libgeoip-dev zlib1g-dev
$sudo apt-get install zlib1g && \
$sudo apt-get install libpcre3-dev && \
$sudo apt-get install zlib1g-dev && \
$sudo apt-get install libssl && \
$sudo apt-get install libssl-dev
下载zlib模块http://www.zlib.net/
http://zlib.net/zlib-1.2.5.tar.bz2
这个模块需要libxml2的支持
ftp://xmlsoft.org/libxml2/
PCRE8.10
reference:
http://touya.iteye.com/blog/258480
http://forum.ubuntu.org.cn/viewtopic.php?f=54&t=208573
http://www.cnpublic.com/2009/08/install-nginx-on-ubuntu-904/