Skip to content

Instantly share code, notes, and snippets.

@lh900519
lh900519 / centos6.5_nginx
Created April 22, 2017 11:20 — forked from ifels/centos6.5_nginx
centos 6.5 nginx安装与配置
第一步,在/etc/yum.repos.d/目录下创建一个源配置文件nginx.repo:
cd /etc/yum.repos.d/
vim nginx.repo
填写如下内容:
[nginx]
name=nginx repo