Quick install guide for Oracle 11g on Linux

0. Requirements

1. user and group setup

 # /usr/sbin/groupadd oinstall
 # /usr/sbin/groupadd dba
 # /usr/sbin/useradd -g oinstall -G dba oracle
 # passwd oracle

2. Kernel parameters
edit the /etc/sysctl.conf file and add the following

fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576

3. System settings
add the following line to /etc/security/limits.conf

oracle hard nofile 65536

4. directory setup

 # mkdir -p /u01/app/
 # chown -R oracle:oinstall /u01/app/
 # chmod -R 775 /u01/app/

5. oracle user shell setup
for the Bourne, Bash or Korn shell add the following to the oracle users .bashrc file

ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_SID=rabbit; export ORACLE_SID
ORACLE_HOME=/u01/app/oracle/product/11.2.0/rabbit; 
export ORACLE_HOME
ORACLE_HOSTNAME=oradb11g; export ORACLE_HOSTNAME
ORACLE_UNQNAME=rabbit; export ORACLE_UNQNAME
ORACLE_HOME_LISTENER=/u01/app/oracle/product/11.2.0/rabbit; 
export ORACLE_HOME_LISTENER
PATH=$PATH:/u01/app/oracle/product/11.2.0/rabbit/bin; export PATH

6. Installation

$ /mount_point/db/runInstaller