This procedure is meant for those planning/trying to install Oracle Server 220.127.116.11.0 (or above) on Red Hat Server 5.2 (or greater) on the 64-bit (x86-64) platform. Since it is the expressed goal to keep Oracle Enterprise Linux functionally IDENTICAL to RHEL, this NOTE is also completely applicable to 64-bit (x86-64) OEL 5.2 or greater.
Requirements for Installing 64-bit Oracle 11gR2 RDBMS on RHEL or OEL 5.2 (or greater) 64-bit (x86_64)
1. Minimum Hardware Requirements
a.) At least 1.0 Gb (1024 MB) of physical RAM
b.) Swap disk space proportional to the system’s physical memory as follows:
RAM Swap Space
1024 Mb to 2048 Mb 1.5 x RAM
2049 Mb to 16 Gb 1 x RAM
greater than 16 Gb 16 Gb
c.) 1024 Mb of disk space (and less than 2Tb of disk space) in the /tmp directory.
d.) approximately 4.4 Gb of local disk space for the database software.
e.) approximately 1.7 Gb of disk space for a preconfigured database that uses file system storage (optional)
1. As is specified in section 1.3.2 of the Oracle Database Installation Guide for 11gR2 on Linux (part number E10840-02), Oracle recommends that you install the Linux operating system with the default software packages (RPMs) and do not customize the RPMs during installation. For additional information on “default-RPMs”, please see Note 376183.1, “Defining a “default RPMs” installation of the RHEL OS”
2. Red Hat Enterprise Linux Server 5.2 (or greater), which is Kernel 2.6.18-92 or newer.
3. Required OS Components (per Release Notes, and Install Guide)
a.) The exact version number details of this list are based upon 64-bit (x86_64) RHEL Server 5.2 (aka “update 2”). When a higher “update” level is used, the RPM release numbers (such as 4.1.2-44) may be slightly different (such as 4.1.2-57 or 4.1.3-10). Since “update 2” and greater of RHEL 5 are certified, this is fine so long as you are still using 64-bit Linux (x86_64) RHEL Server 5 RPMs.
b.) Some of the Install Guide requirements will already be present from the “default-RPMs” foundation of Linux that you started with:
- binutils-18.104.22.168.6-6.el5 (x86_64)
- compat-libstdc++-33-3.2.3-61 (x86_64) <<< both ARCH’s are required. See next line.
- compat-libstdc++-33-3.2.3-61 (i386) <<< both ARCH’s are required. See previous line.
- elfutils-libelf-0.125-3.el5 (x86_64)
- glibc-2.5-24 (x86_64) <<< both ARCH’s are required. See next line.
- glibc-2.5-24 (i686) <<< both ARCH’s are required. See previous line.
- glibc-common-2.5-24 (x86_64)
- ksh-20060214-1.7 (x86_64)
- libaio-0.3.106-3.2 (x86_64) <<< both ARCH’s are required. See next line.
- libaio-0.3.106-3.2 (i386) <<< both ARCH’s are required. See previous line.
- libgcc-4.1.2-42.el5 (i386) <<< both ARCH’s are required. See next line.
- libgcc-4.1.2-42.el5 (x86_64) <<< both ARCH’s are required. See previous line.
- libstdc++-4.1.2-42.el5 (x86_64) <<< both ARCH’s are required. See next line.
- libstdc++-4.1.2-42.el5 (i386) <<< both ARCH’s are required. See previous line.
- make-3.81-3.el5 (x86_64)
c.) The remaining Install Guide requirements will have to be installed:
- requires elfutils-libelf-devel-static-0.125-3.el5.x86_64.rpm as a prerequisite, as listed below.
- elfutils-libelf-devel and elfutils-libelf-devel-static each depend upon the other. Therefore, they must be installed together, in one (1) “rpm -ivh” command as follows: rpm -ivh elfutils-libelf-devel-0.125-3.el5.x86_64.rpm elfutils-libelf-devel-static-0.125-3.el5.x86_64.rpm
- requires kernel-headers-2.6.18-92.el5.x86_64.rpm as a prerequisite, as listed below
- glibc-devel-2.5-24.x86_64.rpm <<< both ARCH’s are required. See next item.
- glibc-devel-2.5-24.i386.rpm <<< both ARCH’s are required. See previous item.
- Requires libgomp-4.1.2-42.el5.x86_64.rpm as a prerequisite, as listed below
- libaio-devel-0.3.106-3.2.x86_64.rpm <<< both ARCH’s are required. See next item
- libaio-devel-0.3.106-3.2.i386.rpm <<< both ARCH’s are required. See previous item.
- unixODBC-2.2.11-7.1.x86_64.rpm <<< both ARCH’s are required. See next item
- unixODBC-2.2.11-7.1.i386.rpm <<< both ARCH’s are required. See previous item.
- unixODBC-devel-2.2.11-7.1.x86_64.rpm <<< both ARCH’s are required. See next item
- unixODBC-devel-2.2.11-7.1.i386.rpm <<< both ARCH’s are required. See previous item.
3. Additional Required OS Components
- Please do not rush, skip, or minimize this critical step. This list is based upon a “default-RPMs” installation of 64-bit (x86_64) RHEL Server 5. Additional RPMs (beyond anything known to Oracle) may be needed if a “less-than-default-RPMs” installation of 64-bit (x86_64) RHEL Server 5 is performed. For more information, please refer to Note 376183.1, “Defining a “default RPMs” installation of the RHEL OS”
- Several RPMs will be required as prerequisites to those listed in section II.3.c:
- Oracle Global Customer Support has noticed a recent trend with install problems that originates from installing too many RPMs. For example:
- Installing your own JDK version (prior to beginning the Oracle Software “runInstaller”) is not needed on Linux, and is not recommended on Linux. A pre-existing JDK often interferes with the correct JDK that the Linux Oracle Software “runInstaller” will place and use.
- Installing more than the required version of the gcc / g++ RPMs often leads to accidentally using (aka enabling or activating) the incorrect one. If you have multiple RDBMS versions installed on the same Linux machine, then you will likely have to manage multiple versions of gcc /g++ . For more information, please see Note 444084.1, “Multiple gcc / g++ Versions in Linux”
4. All of the RPMs in section II. are on the Red Hat Enterprise Linux 5 64-bit (x86_64) distribution media which is shipped to you
- Modify your kernel settings in /etc/sysctl.conf (RedHat) as follows. If the current value for any parameter is higher than the value listed in this table, do not change the value of that parameter. Range values (such as net.ipv4.ip_local_port_range) must match exactly.
- kernel.shmall = physical RAM size / pagesize For most systems, this will be the value 2097152. See Note 301830.1 for more information.
- kernel.shmmax = 1/2 of physical RAM. This would be the value 2147483648 for a system with 4Gb of physical RAM.
- kernel.shmmni = 4096
- kernel.sem = 250 32000 100 128
- fs.file-max = 512 x processes (for example 6815744 for 13312 processes)
- fs.aio-max-nr = 1048576
- 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
- To activate these new settings into the running kernel space, run the “sysctl –p” command as root.
- Set Shell Limits for the oracle User. Assuming that the “oracle” Unix user will perform the installation, do the following:
- Add the following settings to /etc/security/limits.conf
- oracle soft nproc 2047
- oracle hard nproc 16384
- oracle soft nofile 1024
- oracle hard nofile 65536
- Add or edit the following line in the /etc/pam.d/login file, if it does not already exist:
- session required pam_limits.so
- Add the following lines to /etc/profile:
- The gcc-4.1.2 and gcc-c++-4.1.2 RPM items above will ensure that the correct gcc / g++ versions are installed. It is also required that you ensure that these correct gcc / g++ versions are active, and in-use. Ensure that the commands “gcc –version” and “g++ –version” each return “4.1.x”.
- The hostname command should return the fully qualified hostname as : % hostname : hostname.domainname
- If any Java packages are installed on the system, unset the Java environment variables, for example JAVA_HOME.
- The oracle account that is used to install Oracle 22.214.171.124, should not have the Oracle install related variables set by default. For example setting ORACLE_HOME, PATH, LD_LIBRARY_PATH to include Oracle binaries in .profile, .login file and /etc/profile.d should be completely avoided.
- a.) Setting $ORACLE_BASE (not $ORACLE_HOME) is recommended, since it eases a few prompts in the OUI runInstaller tool.
- b.) following the succesful install, it is recommended to set $ORACLE_HOME, and to set $PATH to include $ORACLE_HOME/bin at the beginning of the $PATH string.
- By default, RHEL 5 x86_64 Linux is installed with SELinux as “enforcing”. This is fine for the 11gR2 installation process. However, to subsequently run “sqlplus”, switch SELinux to the “Permissive” mode. See NOTE 454196.1, “./sqlplus: error on libnnz11.so: cannot restore segment prot after reloc” for more details.
- Log in as Oracle user and start the installation as follows:
- It is best practice not to use any form of “su” to start the runInstaller, in order to avoid potential display-related problems.
- When performing the 126.96.36.199 installation, make sure to use the “runInstaller” version that comes with 188.8.131.52 software.
- When performing any subsequent 11.2.0.x patchset, make sure to use the “runInstaller” version that comes with the patchset.
if [ $USER = “oracle” ]; then
if [ $SHELL = “/bin/ksh” ]; then
ulimit -u 16384
ulimit -n 65536
ulimit -u 16384 -n 65536