标签:stat ack inner pack 创建文件 baseurl div start lin
创建文件 /etc/yum.repos.d/nginx.repo ,内容为:
[nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/6/$basearch/ gpgcheck=0 enabled=1
yum install nginx
service nginx status
nginx 或 service nginx start
nginx -s reload
参考:
http://nginx.org/en/linux_packages.html
http://nginx.org/en/docs/beginners_guide.html
标签:stat ack inner pack 创建文件 baseurl div start lin
原文地址:http://www.cnblogs.com/windyWu/p/7085925.html