案发现场还原:
wget 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时报错
解决办法:
yum -y install openssl openssl-devel
总结:
yum -y install pcre-devel openssl openssl-devel
./configure --prefix=/usr/local/nginx
make
make install
一切搞定
时间: 2024-11-13 11:32:01