http://www.oracle.com/technology/global/kr/pub/articles/smiley_10gdb_install.html#linux
THis is for OEL5
7. Set the session limits for Oracle user
Add the following lines to the /etc/security/limits.conf file
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
Add the following line in the /etc/pam.d/login file
session required pam_limits.so
Add the following lines to the /etc/profile.
if [ $USER = "oracle" ]; then
ulimit -u 16384
ulimit -n 65536
fi
8. Configure the Oracle user's environment
Configuring the oracle User's Environment, using the appropriate section of "Oracle® Database Quick Installation Guide 10g Release 2 (10.2) for Linux x86". Note that setting $ORACLE_BASE (not $ORACLE_HOME) in the environment will ease a couple of entries in the Oracle Universal Installer.
For example, if oracle user is using bash shell, and has the home directory as /home/oracle,
The following lines to be added to /home/oracle/.bash_profile
export ORACLE_BASE=/u01/app/oracle
export ORACLE_SID=orcl
unset ORACLE_HOME
9. Invoking OUI
Log in as Oracle user and start installation by any one of the following methods. This is required because Oracle 10.2 expects the OS to be RHEL 3 or RHEL/OEL 4.
Method 1:
$ ./runInstaller -ignoreSysPrereqs
Method 2:
Follow Note 456634.1
10. Warning at "Product-Specific Prerequisite Checks" screen
During the installation at the screen "Product-Specific Prerequisite Checks", OUI gives a warning that Oracle database 10g is not certified on the current operating system. If we still proceed to continue, OUI gives a dialog-box with a warning
"Some recommended prerequisite checks have failed. You might get errors during installation. Do you want to proceed?"
This warning can be ignored, if all the above requirements are satisfied.
Change History:
Jan 19, 2009: Updated kernel parameter net.ipv4.ip_local_port_range as per correction request given by Oracle development team.
Feb 11, 2009: Updated with SELinux information.
Feb 27, 2009: Removed kernel parameter fs.file-max = 65536 , because the default value 101365 is more than 65536.
Mar 2, 2009: Removed kernel parameters net.ipv4.tcp_wmem and net.ipv4.tcp_rmem as they are not required. (Reference: unpublished Bugs 7647281 and 7647303)