2023-5-19
CentOS8更改华为yum源
因为CentOs Linux 8 从 2021.10.31 号后已经停止维护,所以之后centos8系统本身带的yum源无法使用,现在我们更换华为的源1、删除配置文件rm -rf /etc/yum.repos.d/*2、下载华为的centos8 repo包wget -O /etc/yum.repos.d/CentOS-Base.repo https://repo.huaweicloud.com/repository/conf/CentOS-8-reg.repo3、执行yum clean all清除原有yum缓存。4、执行yum makecache(刷新缓存)或者yum repol......