RedHat系统 1.挂载镜像光盘[root@localhost ~]# mount /dev/sr0 /media/cdrom/ 2.创建本地yum源仓库[root@localhost ~]# cd /etc/yum.repos.d/[root@localhost yum.repos.d]# vim yum.repo[RedHat_server]name=RedHat repobaseurl=file:///media/cdromenabled=1gpgcheck=0gpgkey=file:/…