Tuesday, December 14, 2010

Quick install rpms using YUM with local DVD Repo for Oracle database 11gR2


[root@unknown-08-00-27-07-fa-07 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)



[root@unknown-08-00-27-07-fa-07 ~]# mount -r -o loop -t iso9660 /dev/cdrom /mnt



[root@unknown-08-00-27-07-fa-07 ~]# cat /etc/yum.repos.d/dvd.repo
[dvd]
name=OEL5DVD
baseurl=file:///mnt/Server
enabled=1
gpgcheck=1
gpgkey=file:///mnt/RPM-GPG-KEY file:///mnt/RPM-GPG-KEY-oracle



[root@unknown-08-00-27-07-fa-07 ~]# yum clean all
Loaded plugins: security
Cleaning up Everything
[root@unknown-08-00-27-07-fa-07 ~]# yum update
Loaded plugins: security
dvd | 1.1 kB 00:00
dvd/primary | 818 kB 00:00
dvd 2334/2334
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update


[root@unknown-08-00-27-07-fa-07 ~]# yum install binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel elfutils-libelf-devel-static gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers kernel-headers ksh libaio libaio-devel libgcc libgomp libstdc++ libstdc++-devel make sysstat unixODBC unixODBC-devel
Loaded plugins: security
Setting up Install Process
Package binutils-2.17.50.0.6-14.el5.i386 already installed and latest version
Package elfutils-libelf-0.137-3.el5.i386 already installed and latest version
Package glibc-2.5-49.i686 already installed and latest version
Package glibc-common-2.5-49.i386 already installed and latest version
Package ksh-20100202-1.el5.i386 already installed and latest version
Package libaio-0.3.106-5.i386 already installed and latest version
Package libgcc-4.1.2-48.el5.i386 already installed and latest version
Package libstdc++-4.1.2-48.el5.i386 already installed and latest version
Package 1:make-3.81-3.el5.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package compat-libstdc++-33.i386 0:3.2.3-61 set to be updated
---> Package elfutils-libelf-devel.i386 0:0.137-3.el5 set to be updated
---> Package elfutils-libelf-devel-static.i386 0:0.137-3.el5 set to be updated
---> Package gcc.i386 0:4.1.2-48.el5 set to be updated
---> Package gcc-c++.i386 0:4.1.2-48.el5 set to be updated
---> Package glibc-devel.i386 0:2.5-49 set to be updated
---> Package glibc-headers.i386 0:2.5-49 set to be updated
---> Package kernel-headers.i386 0:2.6.18-194.el5 set to be updated
---> Package libaio-devel.i386 0:0.3.106-5 set to be updated
---> Package libgomp.i386 0:4.4.0-6.el5 set to be updated
---> Package libstdc++-devel.i386 0:4.1.2-48.el5 set to be updated
dvd/filelists | 2.4 MB 00:00
---> Package sysstat.i386 0:7.0.2-3.el5 set to be updated
---> Package unixODBC.i386 0:2.2.11-7.1 set to be updated
---> Package unixODBC-devel.i386 0:2.2.11-7.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================
Package Arch Version Repository Size
================================================================================================
Installing:
compat-libstdc++-33 i386 3.2.3-61 dvd 232 k
elfutils-libelf-devel i386 0.137-3.el5 dvd 24 k
elfutils-libelf-devel-static i386 0.137-3.el5 dvd 66 k
gcc i386 4.1.2-48.el5 dvd 5.2 M
gcc-c++ i386 4.1.2-48.el5 dvd 3.4 M
glibc-devel i386 2.5-49 dvd 2.0 M
glibc-headers i386 2.5-49 dvd 614 k
kernel-headers i386 2.6.18-194.el5 dvd 1.1 M
libaio-devel i386 0.3.106-5 dvd 12 k
libgomp i386 4.4.0-6.el5 dvd 70 k
libstdc++-devel i386 4.1.2-48.el5 dvd 2.9 M
sysstat i386 7.0.2-3.el5 dvd 170 k
unixODBC i386 2.2.11-7.1 dvd 830 k
unixODBC-devel i386 2.2.11-7.1 dvd 743 k

Transaction Summary
================================================================================================
Install 14 Package(s)
Upgrade 0 Package(s)

Total download size: 17 M
Is this ok [y/N]: y
Downloading Packages:
------------------------------------------------------------------------------------------------
Total 708 MB/s | 17 MB 00:00
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 1e5e0159
dvd/gpgkey | 1.4 kB 00:00
Importing GPG key 0x1E5E0159 "Oracle OSS group (Open Source Software group) " from /mnt/RPM-GPG-KEY
Is this ok [y/N]: y
dvd/gpgkey | 1.4 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libgomp 1/14
Installing : unixODBC 2/14
Installing : compat-libstdc++-33 3/14
Installing : sysstat 4/14
Installing : libstdc++-devel 5/14
Installing : kernel-headers 6/14
Installing : glibc-headers 7/14
Installing : glibc-devel 8/14
Installing : unixODBC-devel 9/14
Installing : libaio-devel 10/14
Installing : gcc 11/14
Installing : gcc-c++ 12/14
Installing : elfutils-libelf-devel 13/14
Installing : elfutils-libelf-devel-static 14/14

Installed:
compat-libstdc++-33.i386 0:3.2.3-61 elfutils-libelf-devel.i386 0:0.137-3.el5
elfutils-libelf-devel-static.i386 0:0.137-3.el5 gcc.i386 0:4.1.2-48.el5
gcc-c++.i386 0:4.1.2-48.el5 glibc-devel.i386 0:2.5-49
glibc-headers.i386 0:2.5-49 kernel-headers.i386 0:2.6.18-194.el5
libaio-devel.i386 0:0.3.106-5 libgomp.i386 0:4.4.0-6.el5
libstdc++-devel.i386 0:4.1.2-48.el5 sysstat.i386 0:7.0.2-3.el5
unixODBC.i386 0:2.2.11-7.1 unixODBC-devel.i386 0:2.2.11-7.1

Complete!

No comments:

Post a Comment