1、useradd -M -s /sbin/nologin www
2、wget http://labs.frickle.com/files/ngx_cache_purge-1.6.tar.gz
3、tar -zxvf ngx_cache_purge-1.6.tar.gz -C /opt/
4、yum -y install zlib zlib-devel openssl openssl--devel pcre pcre-devel
5、./configure --prefix=/opt/nginx --user=www --group=www --with-http_stub_status_module --with-http_ssl_module --add-module=/opt/ngx_cache_purge-1.6/
6、make && make install
2、wget http://labs.frickle.com/files/ngx_cache_purge-1.6.tar.gz
3、tar -zxvf ngx_cache_purge-1.6.tar.gz -C /opt/
4、yum -y install zlib zlib-devel openssl openssl--devel pcre pcre-devel
5、./configure --prefix=/opt/nginx --user=www --group=www --with-http_stub_status_module --with-http_ssl_module --add-module=/opt/ngx_cache_purge-1.6/
6、make && make install