Chinaunix首页 | 论坛 | 博客
  • 博客访问: 231896
  • 博文数量: 36
  • 博客积分: 1137
  • 博客等级: 少尉
  • 技术积分: 305
  • 用 户 组: 普通用户
  • 注册时间: 2007-12-06 09:58
文章分类

全部博文(36)

文章存档

2012年(1)

2011年(31)

2010年(3)

2007年(1)

分类: LINUX

2011-11-16 22:12:18

YUM server

環境:
os:Enterprise-R4-U8-x86_64
# uname -a
Linux dbatest 2.6.9-89.0.0.0.1.ELlargesmp #1 SMP Tue May 19 05:38:23 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/redhat-release (oracle的操作系統)
Red Hat Enterprise Linux AS release 4 (Nahant Update 8)
步驟:
# mount /dev/cdrom /mnt -o loop
# cp -r /mnt /usr/local/src/

# rpm -ivh createrepo-0.4.4-2.noarch.rpm
# createrepo /usr/local/src/cdrom1/
1872/1872 - SRPMS/comps-4AS-0.20090520.src.rpm                                  rpm4.rpm.rpmpm
Saving Primary metadata
Saving file lists metadata
Saving other metadata

# yum makecache
Making cache files for all metadata files.
This may take a while depending on the speed of this computer
Setting up repositories
dvd                       100% |=========================|  951 B    00:00     
primary.xml.gz            100% |=========================| 718 kB    00:00     
dvd       : ################################################## 1872/1872
Added 1872 new packages, deleted 0 old in 4.28 seconds
filelists.xml.gz          100% |=========================| 2.2 MB    00:00     
dvd       : ################################################## 1872/1872
Added 1872 new packages, deleted 0 old in 7.47 seconds
other.xml.gz              100% |=========================| 8.1 MB    00:00     
dvd       : ################################################## 1872/1872
Added 1872 new packages, deleted 0 old in 11.86 seconds
Metadata Cache Created

阅读(2553) | 评论(0) | 转发(0) |
0

上一篇:rac_install(9i)

下一篇:CRS-0215解决一例

给主人留下些什么吧!~~