Terry : Install Oracle Database on Linux

Install Oracle Database on Linux

Oracle Database 10g Release 2 on Linux x86

Installing Oracle Database 10g Release 2 on Linux x86 (RHEL4 and SLES9 covered)

http://www.oracle-base.com/articles/10g/OracleDB10gR2InstallationOnRHEL5.php

Oracle Database 11R1 on Oracle Linux 5 (32-bit and 64-bit)

Installing Oracle Database 11g Release 1 on Enterprise Linux 5 (32- and 64-bit)

How I Simplified Oracle Database Installation on Oracle Linux

http://www.oracle-base.com/articles/11g/OracleDB11gR2InstallationOnEnterpriseLinux5.php

To install the Oracle Database required libraries and configure the system, install the oracle-validated RPM package

yum install oracle-validated

The oracle-validated package is superceeded by oracle-rdbms-server-11gR2-preinstall package on Oracle Linux 6.

Oracle RAC on Linux

http://www.oracle.com/technetwork/articles/smiley-rac10g-install-082032.html

http://www.oracle.com/technetwork/articles/hunter-rac11gr2-iscsi-088677.html

Oracle Database 11gR2 on Oracle Linux 6

Install the Oracle RDBMS Pre-Install RPM package which installs all dependencies and configure the system to meet all requirements with 1 step

yum install oracle-rdbms-server-11gR2-preinstall

Follow the instructions in the article

How I Simplified Oracle Database 11g Installation on Oracle Linux 6

Tips

Oracle Environment Variables, use ~/.bashrc, ~/.profile for session wide, /etc/bashrc, /etc/profile for system wide.

export ORACLE_BASE=/oracle/11gR2/oracle/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_SID=webcenter
export PATH=$ORACLE_HOME/bin:$PATH

Or write a script like below

# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR

ORACLE_HOSTNAME=db11g.vm.oracle.com; export ORACLE_HOSTNAME
ORACLE_UNQNAME=DB11G; export ORACLE_UNQNAME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1; export ORACLE_HOME
ORACLE_SID=SID; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

if [ $USER = "oracle" ]; then
  if [ $SHELL = "/bin/ksh" ]; then
    ulimit -p 16384
    ulimit -n 65536
  else
    ulimit -u 16384 -n 65536
  fi
fi

Reference

http://wiki.oracle.com/thread/2360131/use+of+oracle-validated+RPM

http://blogs.oracle.com/AlejandroVargas/2008/10/the_oraclevalidated_rpm_is_ava.html

It works on RHEL5 and OEL5, if it doesn't work try install this package first:

http://linux.us.oracle.com/uln/

Download and Install the ULN internal package by using the command below:

rpm -ivh uln-internal-setup-version.el5.noarch.rpm