部署 openResty
-
下载openResty
wget https://openresty.org/download/openresty-1.13.6.2.tar.gz
-
下来openresty 依赖库
yum install pcre-devel openssl-devel gcc curl
-
解压 openresty-1.13.6.2.tar.gz
tar -zxvf openresty-1.13.6.2.tar.gz -C /usr/local
-
检查代码
./configure
5.编译安装
make && make install
lsof -i :80 知道80端口被哪个进程占用