Oracle11g r2 for CentOS 5.7

Meeting prerequisites for installation of Oracle 11g R2 (ver 11.2.0.1.0 ) in CentOS 5.7 x64 :

1. Edit the /etc/sysctl.conf and append the following :


# Added for installation of oracle 11g r2
kernel.sem = 250 32000 100 128
kernel.shmmax = 2147483648
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
fs.file-max = 6815744
fs.aio-max-nr = 1058576

2. Reload the system with new setting by Running


% sysctl -p

3. Edit the /etc/pam.d/login file and add following line:

session required pam_limits.so

4. Edit the /etc/security/limits.conf file and add following lines:

oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536

5. Check if you have all available installed packages by :

% rpm -q binutils compat-db compat-libstdc++-33 glibc glibc-devel glibc-headers gcc gcc-c++ libstdc++ cpp make libaio ksh elfutils-libelf sysstat libaio libaio-devel setarch libgcc libstdc++ unixODBC unixODBC-devel pdksh |sort

You should see below as required packages for 64bit (x86_64) architecture:

binutils.x86_64
compat-db.i386
compat-db.x86_64
compat-libstdc++-33.i386
compat-libstdc++-33.x86_64
cpp.x86_64
elfutils-libelf.i386
elfutils-libelf.x86_64
gcc-c++.x86_64
gcc.x86_64
glibc-devel.i386
glibc-devel.x86_64
glibc-headers.x86_64
glibc.i686
glibc.x86_64
ksh.x86_64
libaio-devel.i386
libaio-devel.x86_64
libaio.i386
libaio.i386
libaio.x86_64
libaio.x86_64
libgcc.i386
libgcc.x86_64
libstdc++.i386
libstdc++.i386
libstdc++.x86_64
libstdc++.x86_64
make.x86_64
pdksh.x86_64
setarch.x86_64
sysstat.x86_64
unixODBC-devel.i386
unixODBC-devel.x86_64
unixODBC.i386
unixODBC.x86_64

6. Start installation by running “runInstaller”

Note :
1. Oracle 11g r2 11.2.0.1.0 is not certified on CentOS 6.0
2 My Reference

You may also like...