nginx gui 启动 div -s uid cnblogs logs
创建文件 /etc/yum.repos.d/nginx.repo ,内容为:
- [nginx]
- name=nginx repo
- baseurl=http://nginx.org/packages/centos/6/$basearch/gpgcheck=0
- enabled=1
- yum installnginx
- 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
centos6.5 安装 Nginx
来源: http://www.bubuko.com/infodetail-2140817.html