centos 快速安装nginx

1、CentOS 6,先执行:
rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm

 

 

2.[root@server ~]# yun install nignx

[root@server ~]# service nginx start
Starting nginx:                                            [  OK  ]

你可能感兴趣的:(centos)