CentOS Install Nginx

1.INSTALL

1
2
3
4
5
1 http://nginx.org/en/linux_packages.html##stable
2.cd /etc/yum.repos.d/
3.nginx.repo
4.yum makecache
5.yum install nginx.x86_64

2.USE

1
2
3
start: nginx
stop: nginx -s stop
reload: nginx -s reload