软件地址: http://tengine.taobao.org
软件地址:ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre
升级步骤:
tar -zxvf tengine-1.4.0.tar.gzcd tengine-1.4.0
/usr/local/nginx/sbin/nginx -Vnginx version: nginx/1.0.15built by gcc 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) TLS SNI support enabledconfigure arguments: --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --with-ipv6
./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --with-ipv6 --with-pcre=/usr/src/pcre-8.31(这个是pcre-8.31下载后解压的目录) makemv /usr/local/nginx/sbin/nginx /usr/local/nginx/sbin/nginx.oldcp -r objs/nginx /usr/local/nginx/sbin/nginx
/usr/local/nginx/sbin/nginx -tthe configuration file /usr/local/nginx/conf/nginx.conf syntax is okconfiguration file /usr/local/nginx/conf/nginx.conf test is successfulservice nginx restartStopping nginx: [ OK ]Starting nginx: [ OK ]/usr/local/nginx/sbin/nginx -vTengine version: Tengine/1.4.0 (nginx/1.2.3)