OpenResty安装

2016-01-22  本文已影响66人  随想的风

下载源码:http://openresty.org/

tar xvf ngx_openresty-VERSION.tar.gz

cd ngx_openresty-VERSION/

./configure

make

make install

安装过程提示错误:./configure: error: the HTTP rewrite module requires the PCRE library.You can either disable the module by using --without-http_rewrite_moduleoption, or install the PCRE library into the system, or build the PCRE librarystatically from the source with nginx by using --with-pcre=option.时,

运行命令:yum -y install pcre-devel openssl openssl-devel  git即可

上一篇下一篇

猜你喜欢

热点阅读