Centos7 搭建本地yum源方法
1、系统还是CentOS 7

3、挂载iso文件到/mnt目录mount -o loop CentOS-7-x86_64-DVD-1908.iso /mnt/

5、创建新的目录和yum源mkdir /etc/yum.repos.dvi /etc/yum.repos.d/CentOS-local.repo

7、更新yum源配置yum clean allyum makecache

1、系统还是CentOS 7
3、挂载iso文件到/mnt目录mount -o loop CentOS-7-x86_64-DVD-1908.iso /mnt/
5、创建新的目录和yum源mkdir /etc/yum.repos.dvi /etc/yum.repos.d/CentOS-local.repo
7、更新yum源配置yum clean allyum makecache