1、CentOS 6,先执行:
rpm -ivhhttp://Nginx.org/packages/centos/6/noarch/RPMS/Nginx-release-centos-6-0.el6.ngx.noarch.rpm
[root@server ~]# yum install Nginx
[root@server ~]# service Nginx start
Starting Nginx: [ OK ]
配置
原文链接:https://www.f2er.com/centos/381233.html