1.mount /dev/cdrom /mnt/cdrom2. cd /etc/yum.repos.d3. vi server.repo並添加下列內容: [base]name=serverbaseurl=file:///mnt/cdrom/Serverenabled=1gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release4.yum makecacheide