在Ubuntu下安装nginx和combo
cd /usr/local
mkdir src
apt-get install subversion
wget http://zlib.net/zlib-1.2.8.tar.gz
tar -zxvf zlib-1.2.8.tar.gz
cd zlib-1.2.8/
./configure
make
make install
cd ../
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.35.tar.gz
tar -zxvf pcre-8.35.tar.gz
cd pcre-8.35
./configure
make
make install
cd ../
apt-get install openssl
apt-get install libssl-dev
cd ../
apt-get install gcc g++ autoconf
svn co http://code.taobao.org/svn/nginx_concat_module/trunk nginx_concat_module
wget http://nginx.org/download/nginx-1.2.4.tar.gz
tar -zxvf nginx-1.2.4.tar.gz
cd nginx-1.2.4/
./configure --prefix=/usr/local/nginx --user=www --group=www --with-http_ssl_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_gzip_static_module --with-http_stub_status_module --add-module=/usr/local/src/nginx_concat_module --with-ld-opt="-L /usr/local/lib"
make
make install
*******站在巨人的肩膀上