You are on page 1of 3

Pre-requisite OS for Installation Oracle DB 11g

1.1 OS REQUIREMENT

No STEPS COMMAND NOTES


Memory Requirements Check Physical Memory For recommended
#grep MemTotal MemTotal > =2 GB
/proc/meminfo
For Swap Space
Swap Space requirement Available Swap Space
1 #grep SwapTotal RAM Required
/proc/meminfo
1 – 2 GB 1.5 size of the
RAM
2 – 16 GB = size RAM
>16 GB 16 GB
System Architecture #uname -m Verify that processor architecture
2 matches the Oracle software release to
install.
Disk Space Requirements Disk space in the /tmp Standart Edition
#df –h/tmp Requirement for
3 Sofware files = 4.22 GB
Free disk space on the system Requirement for
#df –h Data files = 1.5 GB
Operating System Distribution and version of Linux The following operating system versions
Requirements #cat /proc/version are required for Oracle Database 11g
4 Release 2 (11.2.0.4) :
- Linux version
2.6.32-573.el6.x86_64
Kernel Requirements Required kernel is installed RHEL 6.7 servers must be running kernel
5 #uname –r 2.6.32-573.el6.x86_64 or later

Package Requirements Check kernel Kernel Packages must be installed on


#rpm –qa package_name RHEL 6.7:

Update kernel binutils-2.20.51.0.2-5.43.el6.x86_64


#rpm –Uvh package_name compat-libstdc++-33-3.2.3-
69.el6.x86_64
Install kernel glibc-2.12-1.166.el6_7.3.x86_64
#rpm –ivh package_name ksh-20120801-28.el6_7.3.x86_64
#yum install
6 libaio-0.3.107-10.el6.x86_64
package_name
libgcc-4.4.7-16.el6.x86_64
libstdc++-4.4.7-16.el6.x86_64
make-3.81-20.el6.x86_64
compat-libcap1-1.10-1.x86_64
gcc-4.4.7-16.el6.x86_64
gcc-c++-4.4.7-16.el6.x86_64
glibc-devel-2.12-1.166.el6_7.3.x86_64
libaio-devel-0.3.107-10.el6.x86_64
libstdc++-devel-4.4.7-16.el6.x86_64
sysstat-9.0.4-27.el6.x86_64

1.2 KERNEL PARAMETERS

No STEPS COMMAND NOTES


Add the following lines:

oracle soft nproc 2047


Check resource
oracle hard nproc 16384
1 limits for #/etc/security/limits.conf
oracle soft nofile 1024
installation
oracle hard nofile 65536
#oracle soft stack 10240

Add the following lines:

if [ \$USER = "oracle" ] || [
\$USER = "root" ]; then
if [ \$SHELL = "/bin/ksh" ];
then
Add function in ulimit -p 16384
2 #/etc/profile
profile ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
umask 022
fi

Add or edit lines similar to the following :


kernel.shmall 2097152
kernel.shmmax 68719476736
kernel.shmmni 4096
kernel.sem 250 32000 100
128
Change the values #/etc/sysctl.conf
fs.file-max 327679
3 of the kernel
net.ipv4.ip_local_port_range
parameters 9000 65500
net.core.rmem_default 262144
net.core.rmem_max 4194304
net.core.wmem_default 262144
net.core.wmem_max 1048576
aio-max-nr 1048576
Change the current values of the
kernel parameter
#/sbin/sysctl -p
Confirm that the
4 values are set
Confirm that the values are set
correctly
correctly
#/sbin/sysctl -a

5 Change the #/etc/pam.d/login session required


parameter pam_limits.so
Change the
6 #/etc/selinux/config Change SELINUX=disabled
parameter

1.3 GROUPS, USERS, AND PATHS FOR ORACLE DATABASE

No STEPS COMMAND NOTES


Determine whether the #grep oinstall /etc/group
1 oinstall and dba are #grep dba /etc/group
exists
#groupadd -g 101 oinstall
Create the oinstall and
2 #groupadd -g 102 dba
dba groups:

if exist : uid=102(oracle)
Determine whether the id=100(oinstall)
oracle and grid user
3 #id oracle if exist : uid=101(grid),100(oinstall)
exists and belongs to the
Note :
correct groups oracle : user should belong to
oinstall, and dba group

Creating user oracle as # useradd -m -g oinstall -G


4 dba -d /home/oracle -c "Oracle
Oracle software owner
SW Owner" oracle

5 Add password to oracle #passwd oracle Otracle password is kseioracle


user

6 Create Oracle Database #mkdir -p /oracle/app/oracle


Binary Base Directory

Change the ownership


of Create Oracle #chown -R oracle:oinstall
7 /oracle/app/oracle
Database Binary Base
#chmod -R 775 /oracle
Directory to
oracle:oinstall

You might also like