1

设置Nginx服务环境

[root@mm nginx-1.12.0]#yum install gcc-c++
[root@mm nginx-1.12.0]#yum install zlib-devel
[root@mm nginx-1.12.0]#yum install openssl-devel
[root@mm nginx-1.12.0]#yum install pcre-devel

[root@mm nginx-1.12.0]#./configure --prefix=/usr/local/nginx --with-pcre=/usr/lib64 指定路径和构建库

openssl、zlib、pcre,
yum install gcc gcc-c++ openssl openssl-devel zib-devel zib
yum install gcc- glibc- openssl openssl-devel pcre pcre-devel zlib zlib-devel -y


达龙
250 声望19 粉丝

天才是重复次数最多的人!