部署 openResty

openResty是一个基于ningx 与 lua 的高性能 web平台,他在内部集成了大量精良的Lua库。 以及第三方模块的依赖项,能够方便的搭建处理高并发。拓展性极高动态web应用。 web服务 和动态网关。

 

  1. 下载openResty

    wget https://openresty.org/download/openresty-1.13.6.2.tar.gz

  2. 下来openresty 依赖库

    yum install pcre-devel openssl-devel gcc curl

  3. 解压 openresty-1.13.6.2.tar.gz

tar -zxvf openresty-1.13.6.2.tar.gz -C /usr/local

  1. 检查代码

./configure

5.编译安装

make && make install

 

 

 lsof -i :80 知道80端口被哪个进程占用

posted @ 2020-07-29 20:21  neona  阅读(227)  评论(0编辑  收藏  举报