1:安装准备依赖:
yum -y install gcc openssl-devel pcre-devel zlib-devel;
2:解压nginx包;
3:执行./configue;
4:编译make,安装make install;
5: /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
1:安装准备依赖:
yum -y install gcc openssl-devel pcre-devel zlib-devel;
2:解压nginx包;
3:执行./configue;
4:编译make,安装make install;
5: /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf