Requirements For Installing Oracle 10gR2 On RHEL/OEL 5 (x86) [ID 419646.1]
修改时间 20-OCT-2011 类型 HOWTO 状态 PUBLISHED
In this Document
Goal
Solution
References
Applies to:
Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.5 - Release: 10.2 to 10.2
Linux x86
Intel Based Server LINUX
Goal
This document describes the installation of Oracle 10gR2 database on RedHat Enterprise Linux/Oracle Enterprise Linux 5 (x86).
NOTE: RAC customers are strongly advised to also review Note:414163.1
b) Swap Space
RAM
|
Swap Space
|
Between 1024 MB and 2048 MB
|
1.5 times the size of RAM
|
Between 2049 MB and 8192 MB
|
Equal to the size of RAM
|
More than 8192 MB
|
0.75 times the size of RAM
|
c) Disk space Requirement
- 400 MB of disk space in the /tmp directory
- Between 1.5 GB and 3.5 GB of disk space for the Oracle software, depending on the installation type
- 1.2 GB of disk space for a preconfigured database that uses file system storage (optional)
To check whether SELinux is Enabled or Disabled in a system, please refer to Note 432988.1
To disable SELinux, please refer to Note 457458.1
a) The version numbers for these packages given below are the minimum version required. If you have the packages with higher versions than the versions mentioned below, you can install the higher version packages.
b) Some of the below packages might be already part of "Default RPMs installation", and some of the packages might be already part of "base" installation of OS.
c) Some of the below packages may require other packages as dependencies. So, make sure that you have installed these packages including the dependency packages required.
compat-libstdc++-33-3.2.3-61
elfutils-libelf-0.125-3.el5
elfutils-libelf-devel-0.125
gcc-4.1.1-52
gcc-c++-4.1.1-52
glibc-2.5-12
glibc-common-2.5-12
glibc-devel-2.5-12
glibc-headers-2.5-12
libaio-0.3.106
libaio-devel-0.3.106
libgcc-4.1.1-52
libstdc++-4.1.1
libstdc++-devel-4.1.1-52.e15
make-3.81-1.1
sysstat-7.0.0
unixODBC-2.2.11
unixODBC-devel-2.2.11
Add the following the lines in the file /etc/sysctl.conf
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 9000 65500
The runInstaller (OUI) checks may expect this to be the old guidance of "1024 65000". The new guidance from Oracle development is "9000 65500". Please allow the runInstaller (OUI) to proceed with the new guidance from Oracle development.
net.core.rmem_default = 262144
net.core.rmem_max = 2097152
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
To place these changes into effect, execute the command:
# groupadd dba
# useradd -g oinstall -G dba oracle
# passwd oracle
6. Create the required directories for Oracle Base and change the ownership
# mkdir -p /u01/app/oracle
# chown -R oracle:oinstall /u01/app/oracle
7. Set the session limits for Oracle user
Add the following lines to the /etc/security/limits.conf file
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
Add the following line in the /etc/pam.d/login file
Add the following lines to the /etc/profile.
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.
The following lines to be added to /home/oracle/.bash_profile
export ORACLE_SID=orcl
unset ORACLE_HOME
Method 1:
"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.
Jan 19, 2009: Updated kernel parameter net.ipv4.ip_local_port_range as per correction request given by Oracle development team.
BUG:7680459 - LIBXP PACKAGE IS MISSING FROM LIST OF PACKAGES REQUIRED
NOTE:376183.1 - Defining a "default RPMs" installation of the RHEL OS
NOTE:414163.1 - 10gR2 RAC Install issues on Oracle EL5 or RHEL5 or SLES10 (VIPCA / SRVCTL / OUI Failures)
NOTE:421308.1 - Requirements For Installing Oracle10gR2 On RHEL 5/OEL 5 (x86_64)
NOTE:456634.1 - Prerequisite Checks Fail When Installing 10.2 On Red Hat 5 (RHEL5)
http://download.oracle.com/docs/cd/B19306_01/relnotes.102/b15659/toc.htm#CJABEBJC