赞
踩
# nginx.repo[nginx]name=nginx repobaseurl=http://nginx.org/packages/centos/6/$basearch/gpgcheck=0enabled=1
# yum update nginx... ... 省略了更多的输出和选项 ... ...3 packages downloaded and installed... ... 省略了更多的输出和选项 ... ...
# service nginx stopStopping nginx: [ OK ]# service nginx startStarting nginx: [ OK ]
# nginx -vnginx version: nginx/1.6.0
# nginx -tnginx: the configuration file /etc/nginx/nginx.conf syntax is oknginx: configuration file /etc/nginx/nginx.conf test is successful
# nginx.repo
[nginx]# 其他内容省略enabled=0
# yum clean all
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。