一、编译安装
1、Openresty下载编译包
OpenResty® 提供 官方预编译包,确保你首先用这种方式来安装,选择你要的包。
或者使用wget下载:
# 推荐去下载最新版
wget https://openresty.org/download/openresty-1.17.8.1rc1.tar.gz
tar -zxvf openresty-1.17.8.1rc1.tar.gz
cd openresty-1.17.8.1rc1/bundle
# 去下载最新版
wget http://labs.frickle.com/files/ngx_cache_purge-2.3.tar.gz
tar -zxvf ngx_cache_purge-2.3.tar.gz