yum使用本地光盤作爲軟件倉庫,讓它自動的檢測依賴關係,並且自動安裝依賴的包 1.掛載光驅 #mount /dev/cdrom /mnt 2.備份原來軟件倉庫配置文件 #cp -a /etc/yum.repos.d/rhel-