openresty源码安装

来源:互联网 发布:淘宝美工是平面美工吗 编辑:程序博客网 时间:2024/04/30 11:13

环境准备

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

原创粉丝点击