nginx升级Tengine

软件地址: http://tengine.taobao.org

软件地址:ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre

升级步骤:

tar -zxvf tengine-1.4.0.tar.gz
cd tengine-1.4.0
/usr/local/nginx/sbin/nginx -V
nginx version: nginx/1.0.15
built by gcc 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) 
TLS SNI support enabled
configure 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下载后解压的目录) 
make
mv /usr/local/nginx/sbin/nginx /usr/local/nginx/sbin/nginx.old
cp -r objs/nginx /usr/local/nginx/sbin/nginx
/usr/local/nginx/sbin/nginx -t
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
service nginx restart
Stopping nginx: [ OK ]
Starting nginx: [ OK ]
/usr/local/nginx/sbin/nginx -v
Tengine version: Tengine/1.4.0 (nginx/1.2.3)


你可能感兴趣的:(tengine)