centos 6.4 安装 nginx

yum源中暂时没有Nginx等软件包,所以我们需要使用EPEL的yum源

先更新系统

yum update

添加atomic源

[root@localhost ~]# wget http://www.atomicorp.com/installers/atomic
[root@localhost ~]# sh ./atomic
 yum -y install nginx  一路yes即可

启动

service nginx start

猜你喜欢

转载自hongmin118.iteye.com/blog/1880585