安装与配置nginx+php+mysql:centOS篇
1. 安装nginx a.添加nginx的软件源,新建文件/etc/yum.repos.d/nginx.repo b.在该文件中填写如下内容: [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=0 enabled=1 c.执行yum安装命令: yum install nginx d.启动nginx服务: service nginx start //或者 […]