超級網迷

超級網迷+ 電腦迷+ 音樂迷
個人資料
正文

Adding RedHat DVD as Repository

(2010-11-19 21:46:42) 下一個
1) First, mount your RedHat DVD.
- Make the mount point:
  mkdir /mnt/dvd
- Mount the DVD:
  mount /dev/cdrom /mnt/dvd

2) Clean all cached data:
- yum clean all

3) Remove all existing repositories
- rm  -rf /etc/yum.repos.d/*.repo

4) Create your own repository file
- vi /etc/yum.repos.d/rhel-dvd.repo

Copy and paste the following lines, and save it.
##############################
[dvd]
name=Red Hat Enterprise Linux Installation DVD
baseurl=file:///mnt/dvd
enabled=1
gbcheck=0
##############################

5) Launch the Package Manager GUI. That's it.

在城裏

[ 打印 ]
閱讀 ()評論 (0)
評論
目前還沒有任何評論
登錄後才可評論.