Commit 6c7c89c56feeecb4fc6fa564da380f866abb4e3f
1 parent
3095960b
Updates 01_basic/yum.md
Auto commit by GitBook Editor
Showing
1 changed file
with
3 additions
and
0 deletions
01_basic/yum.md
| ... | ... | @@ -29,6 +29,9 @@ rpm -ivh yum-3.2.29-81.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.30-41. |
| 29 | 29 | ``` |
| 30 | 30 | // 下载repo |
| 31 | 31 | wget http://mirrors.163.com/.help/CentOS6-Base-163.repo |
| 32 | +// 改名成rhel-source.repo移动到/etc/yum.repos.d下 | |
| 33 | +cp CentOS6-Base-163.repo /ect/yum.repos.d/ | |
| 34 | +mv CentOS6-Base-163.repo rhel-source.repo | |
| 32 | 35 | // 配置yum变量releasever |
| 33 | 36 | // 在指定位置创建同变量名的文件 |
| 34 | 37 | touch /etc/yum/vars/releasever | ... | ... |