选择nginx作为网站的负载和反向代理
wget http://nginx.org/download/nginx-1.7.0.tar.gz
tar vxf nginx-1.7.0.tar.gz
cd nginx-1.7.0
./configure
出现异常
./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.
yum -y install gcc pcre-devel openssl openssl-devel
make
make install