码迷,mamicode.com
首页 > 其他好文 > 详细

openrestry编译安装

时间:2018-06-19 14:04:58      阅读:721      评论:0      收藏:0      [点我收藏+]

标签:dev   eal   org   安装软件   创建   编译安装   adl   line   attribute   

 

openrestry官网:http://www.openresty.org/

1.安装依赖包

yum install -y gcc gcc-c++ zlib-devel pcre-devel openssl-devel readline-devel

2.安装openrestry

#解压压缩包
tar
-zxvf openresty-1.13.6.2.tar.gz
#编译软件 cd openresty
-1.13.6.2 ./configure --prefix=/data/server/openresty-1.13.6.2 --user=www --group=www --with-http_ssl_module --with-http_flv_module --with-http_stub_status_module --with-http_gzip_static_module --with-pcre --with-http_realip_module
#安装软件
gmake && gmake install
#创建软链接
cd /data/server/openresty-1.13.6.2
ln -sf openresty-1.13.6.2 openresty

 

  

 

openrestry编译安装

标签:dev   eal   org   安装软件   创建   编译安装   adl   line   attribute   

原文地址:https://www.cnblogs.com/bdhk/p/9197909.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!