二,安装pcre【支持 Rewrite 功能】 wget http://downloads.sourceforge.net/project/pcre/pcre/8.35/pcre-8.35.tar.gz tar -zxvf pcre-8.35.tar.gz cd pcre-8.35/ ./configure make & make install pcre-config --version
三,安装nginx wget http://nginx.org/download/nginx-1.6.2.tar.gz tar -zxvf nginx-1.6.2.tar.gz cd nginx-1.6.2/ ./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-pcre=/usr/local/pcre-8.35 make make install