银河麒麟(Kylin Linux Advanced Server V10)配置centos8的yum源

1、将麒麟的yum源备份。

mv kylin_x86_64.repo /tmp/

2、将阿里云开源镜像站的centos8的yum源,下载到麒麟的服务器下并重新加载。

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
或curl -o   /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo

yum clean all && yum makecache

猜你喜欢

转载自blog.csdn.net/weixin_48711696/article/details/139683892