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

openresty安装

时间:2017-04-18 15:09:10      阅读:147      评论:0      收藏:0      [点我收藏+]

标签:make   查看   分享   1.0   http   alt   html   ati   png   

官网:http://openresty.org/en/installation.html

先下载pcre-8.40,openssl-1.0.1u   //验证过此版本。其他版本有问题!!!!

./configure --with-luajit --with-openssl=../openssl-1.0.1u --with-pcre=../pcre-8.40
make
sudo make install

查看/usr/local/,如果已经有了openresty,则表明已经安装成功。

然后到
/usr/local/openresty/nginx/sbin下启动Nginx

默认80端口,访问ip

技术分享

 

 

openresty安装

标签:make   查看   分享   1.0   http   alt   html   ati   png   

原文地址:http://www.cnblogs.com/ningyouting/p/6727842.html

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