1.跳转到yum.repo.d文件夹
cd /etc/yum.repo.d
2.重命名系统镜像源文件
mv kylin_x86_64.repo kylin_x86_64.repo.bak
3.添加新的镜像源
vi kylin.repo
[ks10-adv-cdrom]
name = Kylin Linux Advanced Server 10 - cdrom
baseurl = file:///run/media/root/Kylin-Server-10
gpgcheck = 0
enabled = 1
baseurl = http://update.cs2c.com.cn:8080/NS/V10/V10SP1/os/adv/lic/base/aarch64/
gpgcheck = 0
enabled = 1[ks10-adv-os]
name = Kylin Linux Advanced Server 10 - Os
baseurl = http://archive2.kylinos.cn/rpm/kylin/production/KY-KY10-GFB-aarch64/custom/kylin-server/KY10-GFB-aarch64-2204/
#baseurl = http://update.cs2c.com.cn:8080/NS/V10/V10SP1/os/adv/lic/base/$basearch/
gpgcheck = 0
enabled = 1
4.清理缓存
yum clean all
5.创建新的缓存
yum makecache