首先将iso镜像上传到centos系统的/home/images/ 目录下
将iso镜像挂载到/mnt目录
mount -t iso9660 /home/imags/Kylin-Server-V10-SP3-General-Release-2303-X86_64.iso /mnt
配置本地yum
vim /etc/yum.repo.d/centos.repo
###Kylin Linux Advanced Server 10 - os repo###
[centosos]
name = centos
baseurl = file:///mnt
gpgcheck = 0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-kylin
enabled = 1
清除缓存
yum clean all
重建yum缓存区域
yum makecache
安装所有更新软件
yum update
查看安装包列表
yum list all