Commit b8c921a5c8e6db073985d453ce5597d665fe1be0
1 parent
6e8aad66
Updates 01_basic/yum.md
Auto commit by GitBook Editor
Showing
1 changed file
with
4 additions
and
1 deletions
01_basic/yum.md
| ... | ... | @@ -52,7 +52,10 @@ yum install epel-release |
| 52 | 52 | // 安装完成后,在/etc/yum.repo.d下有eprl.repo文件 |
| 53 | 53 | // 去除baseUrl注释,注释mirrorlist,然后安装nrpe等组件 |
| 54 | 54 | // 如果网速不好,可以考虑下载阿里的epel |
| 55 | - | |
| 55 | +wget http://mirrors.aliyun.com/repo/epel-6.repo | |
| 56 | +// 然后存放到/etc/yum.repo.d下,然后重建yum cache | |
| 57 | +yum clean all | |
| 58 | +yum makecache | |
| 56 | 59 | ``` |
| 57 | 60 | |
| 58 | 61 | ... | ... |