仓库地址为:https://repo.huaweicloud.com/kunpeng/yum/el/7/aarch64/Packages/
大数据 的下载地址为:https://repo.huaweicloud.com/kunpeng/yum/el/7/aarch64/Packages/bigdata/
Web的下载地址为:https://repo.huaweicloud.com/kunpeng/yum/el/7/aarch64/Packages/web/
分布式存储的下载地址为:https://repo.huaweicloud.com/kunpeng/yum/el/7/aarch64/Packages/ceph/
数据库 的下载地址为:https://repo.huaweicloud.com/kunpeng/yum/el/7/aarch64/Packages/database/
云& 虚拟化 的下载地址为:https://repo.huaweicloud.com/kunpeng/yum/el/7/aarch64/Packages/cloud/
原生应用的下载地址为:https://repo.huaweicloud.com/kunpeng/yum/el/7/aarch64/Packages/native/
1、备份配置文件:
mv/etc/yum.repos.d//etc/yum.repos.d-bak
2、将新配置写入repo文件:
mkdir/etc/yum.repos.d echo-e"[kunpeng]nname=CentOS-kunpeng-Base-mirrors.huaweicloud.comnbaseurl=https://repo.huaweicloud.com/kunpeng/yum/el/ 7/aarch64/ngpgcheck=0nenabled=1">/etc/yum.repos.d/CentOS-Base-kunpeng.repo
3、更新yum源配置:
yum clean all#清除系统所有的yum缓存 yum makecache#生成yum缓存 yum update