安装openresty

2018-12-10  本文已影响0人  洒了油

1.安装依赖

1)yum install pcre-devel, yum install ncurses-devel, yum install readline-devel

2)下载 openresty包 wget https://openresty.org/download/openresty-1.13.6.2.tar.gz

3) 解压 tar zxvf openresty-1.13.62.tar.gz

4)进入到解压后的目录,配置

./configure --prefix=/app/openresty --with-http_realip_module --with-pcre --with-luajit

5)编译安装 make&make install

上一篇 下一篇

猜你喜欢

热点阅读