歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> 學習Linux >> Centos 6.7配置阿裡源

Centos 6.7配置阿裡源

日期:2017/3/3 17:46:00   编辑:學習Linux

Centos 6.7配置阿裡源

Centos 6.7配置阿裡源


[root@test yum.repos.d]# cat /etc/issue 查看系統版本

CentOS release 6.7 (Final)

Kernel \r on an \m

[root@test yum.repos.d]# wget -O /etc/yum.repos.d/CentOS-Base.repohttp://mirrors.aliyun.com/repo/Centos-6.repo 下載阿裡源

[root@test yum.repos.d]# ls

CentOS6-Base-163.repo.bak CentOS-Base.repo local.repo.bak 在這裡只使用了阿裡雲,對其他源進行備份處理。

[root@test yum.repos.d]# yum clean all 清除緩存

[root@test yum.repos.d]# yum makecache 生成緩存

[root@test yum.repos.d]# yum list查看生成的源,如果成功是列出一些系統安裝包

http://xxxxxx/Linuxjc/1184787.html TechArticle

Copyright © Linux教程網 All Rights Reserved