#install nginx useradd -s /sbin/nologin -M nginx yum install pcre pcre-devel openssl openssl-devel -y mkdir /server/tools -p cd /server/tools/ wget http://nginx.org/download/nginx-1.6.3.tar.gz tar -zxvf nginx-1.6.3.tar.gz cd nginx-1.6.3 ./configure --prefix=/usr/local/nginx-1.6.3 --user=nginx --group=nginx --with-http_ssl_module --with-http_stub_status_module make && make install ln -s /usr/local/nginx-1.6.3/ /usr/local/nginx /usr/local/nginx/sbin/nginx /etc/init.d/iptables stop chkconfig iptables off
本文出自 “sunmmi” 博客,请务必保留此出处http://sunmmi.blog.51cto.com/1203662/1762960
原文地址:http://sunmmi.blog.51cto.com/1203662/1762960