标签:
增加nginx源
vim /etc/yum.repos.d/nginx.repo
[nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=0 enabled=1
安装nginx
yum -y install nginx
配置nginx
vim /etc/nginx/nginx.conf
标签:
原文地址:http://www.cnblogs.com/zydev/p/5927826.html