yum


参考:

(2条消息) yum源配置及详解_ThinkerWalker-CSDN博客_配置yum源

一 配置 YUM 源

1.在centos中,有一个yum源,/etc/yum.repos.d中。

2.备份 CentOS-Base.repo 文件。使用命令:

mv Centos-Base.repo Centos-Base.repo.back

3.安装wget ,命令:

yum install -y wget

4.安装腾讯云(CentOS (tencent.com))命令:

https://mirrors.cloud.tencent.com/help/centos.html

选择安装centos7.

5.更新缓存,命令:

yum clean all
yum makecache 

至此,结束。