apt-get install libpcre3-dev libssl-dev perl make build-essential curl cd /root/openresty-1.13.6.2 ./configure make make install
curl 127.0.0.1
有以下信息说明安装成功
Welcome to OpenResty! If you see this page, the OpenResty web platform is successfully installed and working. Further configuration is required. For online documentation and support please refer to openresty.org. Commercial support is available at openresty.com. Thank you for flying OpenResty.