首页 > 其他 > 详细

Centos7 Openresty 开发环境

时间:2019-04-24 10:45:28      阅读:153      评论:0      收藏:0      [点我收藏+]

首先要安装编译环境

yum group install "Development Tools"
 yum install pcre-devel openssl-devel gcc curl postgresql-devel geoip-devel

  

从下载页 Download下载最新的 OpenResty® 源码包,将其解压:

tar -xzvf openresty-VERSION.tar.gz

 

然后

./configure --prefix=/opt/openresty             --with-luajit             --without-http_redis2_module             --with-http_iconv_module             --with-http_postgres_module              --with-stream              --with-stream=dynamic                 --with-stream_ssl_module                    --with-stream_realip_module                 --with-stream_geoip_module                --with-stream_geoip_module=dynamic              --with-stream_ssl_preread_module 

 

 然后

gmake
gmake install

  

Centos7 Openresty 开发环境

原文:https://www.cnblogs.com/maintell/p/10760547.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!