cd /usr/servers/ngx_openresty-1.7.7.2/bundle cd /usr/servers/openresty-1.13.6.2/bundle/ wget https://github.com/yaoweibin/nginx_upstream_check_module/archive/v0.3.0.tar.gz tar -xvf v0.3.0.tar.gz
6. 安装 openresty
1 2 3 4
yum install openssl-devel pcre-devel zlib-devel -y cd /usr/servers/openresty-1.13.6.2/ ./configure --prefix=/usr/servers --with-http_realip_module --with-pcre --with-luajit --add-module=./bundle/ngx_cache_purge-2.3/ --add-module=./bundle/nginx_upstream_check_module-0.3.0/ -j2 make && make install