1.前言
openresty是基于nginx开发的.主要添加了自定义的一些功能:nginx+lua平台
2.openresty下载
3.openresty安装
openresty安装基于debian 10操作系统,需要安装基础包
apt install gcc g++ libxml2-dev libxslt-dev make automake cmake
./configure –prefix=/usr/local/openresty –user=www –group=www –with-threads –with-file-aio –with-stream –with-http_iconv_module –with-http_v2_module –with-http_gzip_static_module –with-http_secure_link_module –with-http_ssl_module –with-http_stub_status_module –with-http_xslt_module –with-pcre=../pcre-8.45 –with-openssl=../openssl-1.1.1p –with-zlib=../zlib-1.2.12
make && make install
4.启动openresty
/usr/local/openresty/nginx/sbin/nginx
ps -ef | grep nginx