How to prepare Oracle Installation on OEL5/RHEL5/CentOS5

Jephe Wu - http://linuxtechres.blogspot.com

Environment: Linux 5.6 x86_64(OEL/CentOS/RHEL), without ULN support

Objective: preparing minimal system to install Oracle database


Steps:

1. OEL5
as oracle-validated rpm requires UEK kernel(Unbreakable Enterprise kernel). The oracle-validated package is intended for OEL and RHEL systems registered and configured to use the Unbreakable Linux Network (ULN)

a. install Oracle-validated rpm from http://oss.oracle.com/el5/oracle-validated/
b. prepare public Oracle yum repository according to http://public-yum.oracle.com/
b. yum install oracle-validated-1.1.0-7.el5.x86_64.rpm
it will install all required rpm, but it won't prepare system such as creating oracle user, /etc/sysctl.conf etc


2. RHEL5/CentOS5

a. get required package from OEL5 system if you have, refer to point 1, install those rpms manually
or
b. just run command rpm -Uhv oracle-validated-<version>-<release>.rpm to get missing dependencies, just install them manually.
c. check required packages list from Oracle support article:
Master Note of Linux OS Requirements for Database Server [ID 851598.1]
then install those rpms manually.

References:
a. http://public-yum.oracle.com/
b. http://gerardnico.com/wiki/database/oracle/oracle-validated
c. http://oss.oracle.com/el5/oracle-validated/
d. Oracle support ID: Linux OS Installation with Reduced Set of Packages for Running Oracle Database Server [ID 728346.1]
e. Oracle Linux source rpms at http://oss.oracle.com/ol5/ and http://oss.oracle.com/ol6/

f. Oracle Database 11g Release 2 (11.2) Installation On Oracle Linux 6 - http://www.oracle-base.com/articles/11g/OracleDB11gR2InstallationOnOracleLinux6.php

g. Oralce Linux 6 installation -  http://www.oracle-base.com/articles/linux/OracleLinux6Installation.php