apt-get install libpcre3-dev libssl-dev perl make build-essential curl cd /root/openresty-18.104.22.168 ./configure make make installcurl 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.