标签:配置文件
针对 CentOS 6.3 1、配置repo源 $ cat /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 2、nginx配置文件: $ cat /etc/nginx/nginx.conf 3、启动 /etc/init.d/nginx start 4、关闭防火墙 service iptables stop 5、注册启动Nginx服务 chkconfig iptables off chkconfig nginx on
标签:配置文件
原文地址:http://tengq.blog.51cto.com/2004324/1792483