标签:
yum install zlib zlib-devel openssl openssl-devel pcre pcre-devel gcc
http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
#rpm nginx-release-centos-6-0.el6.ngx.noarch.rpm -ivh
1.8.0-1.el6.ngx
wget http://nginx.org/keys/nginx_signing.key
#sudo rpm --import nginx_signing.key
Options:
-?,-h : this help
-v : show version and exit
-V : show version and configure options then exit
-t : test configuration and exit
-q : suppress non-error messages during configuration testing
-s signal : send signal to a master process: stop, quit, reopen, reload
-p prefix : set prefix path (default: /etc/nginx/)
-c filename : set configuration file (default: /etc/nginx/nginx.conf)
-g directives : set global directives out of configuration file
Start Ngnix
#ngnix
标签:
原文地址:http://www.cnblogs.com/baxk/p/4997171.html