Chinaunix首页 | 论坛 | 博客
  • 博客访问: 13227
  • 博文数量: 8
  • 博客积分: 1415
  • 博客等级: 上尉
  • 技术积分: 90
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-13 08:24
文章分类

全部博文(8)

文章存档

2010年(8)

我的朋友

分类: Oracle

2010-03-13 08:56:06

1、修改yum的配置文件,指向dvd源
# vi /etc/yum.repos.d/rhel-debuginfo.repo
[rhel-debuginfo]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[base]
name=Server Local Sources
baseurl=file:///mnt/cdrom/Server
enable=1
gpcheck=1
gpgkey=file:///mnt/cdrom/RPM-GPG-KEY-redhat-release
~
 
2、加载dvd安装盘
# mkdir /mnt/cdrom
# mount /dev/cdrom-hdc /mnt/cdrom
阅读(381) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~