下载包 openresty-1.13.6.2.tar.gz

chmod -R 777 openresty-1.13.6.2.tar.gz

tar -zxvf openresty-1.13.6.2.tar.gz

cd openresty-1.13.6.2/

安装OpenResty

预先安装   apt-get install libpcre3-dev \

                               libssl-dev perl make build-essential curl

./configure

make

make install

cd /usr/local 

安装OpenResty

 cd  /usr/local/openresty/nginx

sbin/nginx -c conf/nginx.conf

netstat -an | grep 80 ( 查看是否启动)

 

相关文章:

  • 2021-06-25
  • 2021-10-03
  • 2021-08-09
  • 2021-11-28
  • 2021-07-08
  • 2021-11-21
  • 2022-01-22
  • 2021-10-24
猜你喜欢
  • 2021-06-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-25
  • 2021-04-10
相关资源
相似解决方案