openresty源码安装

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/ldaokun2006/article/details/78305332

环境准备

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

猜你喜欢

转载自blog.csdn.net/ldaokun2006/article/details/78305332