OpenResty 平滑升级

1、先去下载新版,当前最新版为“ngx_openresty-1.7.0.1”

2、开始升级

tar zxvf ngx_openresty-1.7.0.1.tar.gz
cd ngx_openresty-1.7.0.1
./configure --prefix=/usr/local/openresty/ --with-http_stub_status_module --add-module=/usr/local/nginx_upload_module-2.2. --with-luajit
make
mv /usr/local/openresty/nginx/sbin/nginx /usr/local/openresty/nginx/sbin/nginx.old
cp /usr/local/software/ngx_openresty-1.7.0.1/build/nginx-1.7./objs/nginx /usr/local/openresty/nginx/sbin/
service nginx restart
/usr/local/openresty/nginx/sbin/nginx -V
上一篇:blue and red ball


下一篇:Swift Modules for React Native