需求:
Openresty
- 安装位置:/usr/local/openresty
- nginx日志 /data/www/logs
- 代码目录 /data/www/htdocs
安装依赖
yum install pcre-devel openssl-devel gcc curl
到openresty下载安装包1.13.6.1,放置于家目录下。
tar zxf openresty-1.13.6.1.tar.gz
cd openresty-1.13.6.1
./configure --prefix