在Oracle Linux 5中,我们可以使用使用Oracle validated Configuration 来加速部署Oracle 环境,关于Validated Configurations参考:
OracleValidated Configurations 安装使用 说明
在Oracle Linux 6中,没有推出oracle validate包,而是推出了oracle-rdbms-server-11gR2-preinstall包。
一.官网说明
Oracle RDBMS Server 11gR2 Pre-Install RPMfor Oracle Linux 6 has been released
https://blogs.oracle.com/linux/entry/oracle_rdbms_server_11gr2_pre
Now that the certificationof the Oracle Database 11g R2 with Oracle Linux 6 and the UnbreakableEnterprise Kernelhasbeen announced, we are glad to announce theavailability of oracle-rdbms-server-11gR2-preinstall, the Oracle RDBMSServer 11gR2 Pre-install RPM package (formerly known as oracle-validated).Designed specifically for Oracle Linux 6, this RPM aids in the installation ofthe Oracle Database.
In order toinstall the Oracle Database 11g R2 on Oracle Linux 6, your system needs to meeta few prerequisites, as outlined in the LinuxInstallation Guides. Using the Oracle RDBMS Server 11gR2 Pre-install RPM,you can complete most of the pre-installation configuration tasks. which is nowavailable from the Unbreakable LinuxNetwork, or via the Oracle publicyum repository.
--在Oracle Linux 6下安装Oracle 11gR2之前,需要做一些检查,而Pre-install 包可以帮助我们完成大部分的配置工作。
The pre-install package is available forx86_64 only. Specifically, the package:
--在OracleLinux 6下,oracle-rdbms-server-11gR2-preinstall包只有64位版本,使用这个包可以实现如下功能:
(1) Causes the download andinstallation of various software packages and specific versions needed fordatabase installation, with package dependencies resolved via yum
--下载和安装各种依赖包
(2) Creates theuser oracle and the groups oinstall and dba, which arethe defaults used during database installation
--创建Oracle 用户和group。
(3) modifies kernel parametersin /etc/sysctl.conf to change settings for shared memory, semaphores,the maximum number of file descriptors, and so on
(4) sets hard and soft shellresource limits in /etc/security/limits.conf, such as the number of openfiles, the number of processes, and stack size to the minimum required based onthe oracle database 11g release 2 server installation requirements
--设置/etc/security/limits.conf文件。
(5) Sets numa=off in thekernel boot parameters for x86_64 machines
--在64位机里设置numa=off
二. 安装oracle-rdbms-server-11gR2-preinstall 包
[root@rac1 ~]# cd /etc/yum.repos.d/
[root@rac1 yum.repos.d]#
--2012-04-12 20:48:00-- http://public-yum.oracle.com/public-yum-ol6.repo
Resolving public-yum.oracle.com...141.146.44.34
Connecting topublic-yum.oracle.com|141.146.44.34|:80... connected.
HTTP request sent, awaiting response... 200OK
Length: 1461 (1.4K) [text/plain]
Saving to: “public-yum-ol6.repo”
100%[======================================>]1,461 --.-K/s in 0s
2012-04-12 20:48:01 (30.8 MB/s) -“public-yum-ol6.repo” saved [1461/1461]
[root@rac1 yum.repos.d]#
[ol6_latest]
name=Oracle Linux $releasever Latest($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1
[ol6_ga_base]
name=Oracle Linux $releasever GAinstallation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/0/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0
[ol6_u1_base]
name=Oracle Linux $releasever Update 1installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/1/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0
[ol6_u2_base]
name=Oracle Linux $releasever Update 2installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/2/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0
[ol6_UEK_latest]
name=Latest Unbreakable Enterprise Kernelfor Oracle Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0
[ol6_UEK_base]
name=Unbreakable Enterprise Kernel forOracle Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0
[root@rac1 yum.repos.d]#