1、CentOS 设置cdrom为yum源
mv CentOS-Base.repo CentOS-Base.repo.old,
mv CentOS-Media.repo CentOS-Media.repo.old
vim -Media.repo
[c5-media]
name=CentOS-$releasever - Media baseurl=file:///cdrom/ # file:///media/cdrom/ # file:///media/cdrecorder/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5--------------------------------------------------------------