CentOS系统 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[local_server]name=CentOS repobaseurl=file:///media/cdromenabled=1gpgcheck=0#gpgkey=file:/