Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1077244
  • 博文数量: 120
  • 博客积分: 887
  • 博客等级: 准尉
  • 技术积分: 1883
  • 用 户 组: 普通用户
  • 注册时间: 2010-04-05 21:10
个人简介

RHCE,CCNA,熟悉shell脚本

文章分类

全部博文(120)

文章存档

2015年(16)

2014年(20)

2013年(48)

2012年(20)

2011年(16)

分类: LINUX

2013-06-18 11:38:06

[root@localhost~]# mount -o loop /root/rhel6.2_x86_64.iso  /mnt/cdrom

[root@localhost~]# cat /etc/yum.repos.d/rhel-source.repo
[rhel-source]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
#baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/SRPMS/
baseurl=file:///mnt/cdrom/         ###rhel6.2与rhel5.X有小小的区别(rhel5.X为baseurl=file:///mnt/cdrom/Server)
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
阅读(1825) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~