tions SetupRPM with up2date, using the following command:
# up2date --install oracle-validated
--通过ULN 安装oracle-validated
9. If you arerunning a cluster, repeat steps 1 through 8 on all other servers in yourcluster.
Note: Check the Oracle ValidatedConfiguration RPM log file to review system configuration changes,
--Validated Configuration 的log文件:
for releaseolder than 1.0.0.18
/etc/sysconfig/oracle-validated/results/orakernel.log
for releases 1.0.0.18 and up
/var/log/oracle-validated/results/orakernel.log
2.2 How to Switch fromRed Hat Network to Unbreakable Linux Network (ULN) [ID 397038.1]
This document describes how to connect tothe Oracle Unbreakable Linux Network (ULN) to obtain software updates. Itoutlines the steps needed to switch a server installed with Red Hat EnterpriseLinux 6, Red Hat Enterprise Linux 5, Red Hat Enterprise Linux version 4 or RedHat Enterprise Linux Server version 3, Update 8 or Update 9 from Red HatNetwork(RHN) to Unbreakable Linux Network(ULN).
(1)Regards howto switch the system from RHN to ULN, please see https://linux.oracle.com/switch.html forthe latest version of this document.
(2)Regards howto register a ULN account, please go to https://linux.oracle.com/register
支持ULN的平台:
Red Hat Enterprise Linux 6
Oracle's ULNregister program will allow you to switch to ULN if you are running RedHat Enterprise Linux 6 up to and including Update 1
Red Hat Enterprise Linux 5
Oracle's up2dateprogram will allow you to switch to ULN if you are running Red HatEnterprise Linux 5 up to and including Update 6
Red Hat Enterprise Linux 4
Oracle's up2dateprogram will allow you to switch to ULN if you are running Red HatEnterprise Linux 4 up to and including Update 9
Red Hat Enterprise Linux 3
Oracle's up2dateprogram will allow you to switch to ULN if you are running Red HatEnterprise Linux 3 Update 8 or later
三.安装Validated Configuration
在第二节看到,可以使用ULN 来安装validated configurations。 其实在Oracle Linux 5中自带了Validated Configurations 的安装包。我们在安装操作系统的时候就可以把validated configurations 一起安装了。
(1)Select Customize now, andclick Next.
(2)On the Customize selection page,select Base System on the list on the left side of the screen, andthen select System Tools on the right side of the screen. Then click OptionalPackages.
(3)The Packages in System Tools windowopens. Select the Oracle Validated RPM package box from the package list, andclick Next.
注意:OEL 6.x 还不支持oracle-validated package。
这个可以从Oracle的public yum 上可以看到对应版本的Oracle Linux 是否有对应的rpm 包:
http://public-yum.oracle.com/repo/OracleLinux/OL5/7/base/x86_64/
我们也可以配置yum后使用yum 来安装Validated Configurations。
1.创建介质装载目录/media/disk:
[root@rac1 /]#mkdir /media/disk
2.插入OEL DVD光盘
3.装载目录:
[root@rac1 media]# mount /dev/cdrom/media/disk
mount: block device /dev/sr0 iswrite-protected, mounting read-only
4. 创建yum 配置文件:
[root@rac1 yum.repos.d]# pwd
/etc/yum.repos.d
[root@rac1 yum.repos.d]# vi dave.repo
[rhel-base]
name= TianleSoftware Oracle Linux 6.1
baseurl=file:///media/disk/Server/
gpgcheck=0
enabled=1
5. 使用YUM 安装
yum install oracle-validated
四. Validated Configuration 使用
From:
http://renaps.wordpress.com/2007/10/04/oracle-validated-configuration-rpm-for-oel5/
使用之前必须先注册到ULN,否则会报如下错误:
[root@oracletest ~]# up2dateoracle-validated
Fetching Obsoletes list for channel:el5_i386_latest…
Fetchin