yum挂在本地镜像
首先服务器需有镜像包将其镜像使用mount -o loop 镜像名 地址
按照这个语法进行操作 挂在完成之后进行编写REPO文件
地址是
/etc/yum.repo.d/名字.repo
编写内容如下