mkdir /mnt/cdrom
mount -t iso9660 /dev/cdrom /mnt/cdrom
2. 修改/etc/yum.repo.d/yum.repo
修改baseurl=/mnt/cdrom
enabled=1
gpgchek=0