openresty源码安装,openresty源码


环境准备

1、安装perl工程

yum install -y perl

2、安装gcc、gcc-c++
3、下载openssl、zlib、pcre源码
具体下载方法可以去官网下载

源码安装

1、下载openresty源码
2、进入到openresty,按顺序执行命令

./configure --prefix=openresty安装路径 \
            --with-luajit 
            --without-http_redis2_module \
            --with-http_iconv_module \
            --with-pcre=pcre源码路径 \
            --with-zlib=zlib源码路径 \
            --with-openssl=openssl源码路径
make && make install

知识来源:http://www.cnblogs.com/taiyonghai/p/6728707.html

相关内容

    暂无相关文章