运到的错误:
get http://nginx.org/download/nginx-1.8.0.tar.gz cp nginx-1.8.0.tar.gz /usr/local cd /usr/local tar -zxvf nginx-1.8.0.tar.gz
安装Nginx时报错
./configure: error: the HTTP rewrite module requires the PCRE library.
解决办法:
yum -y install openssl openssl-devel
解决方法:
yum -y install pcre-devel openssl openssl-devel
./configure --prefix=/usr/local/nginx...................
make
make install