yum

参考:

yum源配置的三种方法 - Huidoo_Yang - 博客园 (cnblogs.com)

(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 

 

 

至此,结束。

 

 

 

posted @ 2022-01-20 17:19  夜行&迷者  阅读(109)  评论(0)    收藏  举报