Environment
Software Pre-reqs
Required Packages (minimum required Versions + Database required packages and configurations if you are doing single host installation)
vi /etc/sysctl.d/99-oem-sysctl.conf
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
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 = 1048586
net.ipv4.ip_local_port_range = 9000 65500
Apply Changes
# /sbin/sysctl --system
Set Limits for OEM Owner
vi /etc/security/limits.conf (Append)
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft memlock 1048576
oracle hard memlock 1048576
***Make sure File permissions for /usr/bin/make and /usr/bin/ld.bfd is 0755
User Addition
groupadd -g 1003 dba
groupadd -g 1002 oinstall
useradd -u 1002 -g dba -s /bin/bash -d /home/oracle oracle
Edit Bash Profile for Faster Access
export OMS_HOME=/u01/app/oracle/em13cr3/middleware
export AGENT_INST=/u01/app/oracle/agent/agent13cr3/agent_inst
export AGENT_HOME=/u01/app/oracle/agent/agent13cr3/agent_13.3.0.0.0/
Create Directories and set permissions for install
mkdir -p "/u01/app/oracle/em13cr3/middleware"
mkdir -p "/u01/app/oracle/agent/agent13cr3"
mkdir -p "/u01/app/oracle/em13cr3/gc_inst"
mkdir -p "/u01/app/oracle/swlib"
mkdir -p "/u01/app/oracle/em13cr3/bip/config"
mkdir -p "/u01/app/oracle/em13cr3/bip/cluster"
chown -R oracle:oinstall /u01/ ; chmod 777 /u01
Create Inventory Directory
mkdir -p /u01/app/oracle/oraInventory
vi /etc/oraInst.loc
inventory_loc=/opt/oracle/oraInventory
inst_group=oinstall
chown oracle:oinstall /etc/oraInst.loc
- Kernel - 3.10.0-514.el7.x86_64
- Release -NAME="Red Hat Enterprise Linux Server"
- VERSION="7.3 (Maipo)"
Software Pre-reqs
Required Packages (minimum required Versions + Database required packages and configurations if you are doing single host installation)
- make-3.82-21
- binutils-2.23
- gcc-4.8.2-16
- libaio-0.3.109-12
- glibc-common-2.17-55
- libstdc++-4.8.2-16
- sysstat-10.1.5-4
- glibc-devel 2.17-55 (i686) (This is a 32-bit package)
- glibc-devel 2.17-55 (x86_64) (This is a 64-bit package)
- libXtst-1.2.2-2 (x86_64)
- glibc-2.17
- Sysctl Configuration
vi /etc/sysctl.d/99-oem-sysctl.conf
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
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 = 1048586
net.ipv4.ip_local_port_range = 9000 65500
Apply Changes
# /sbin/sysctl --system
Set Limits for OEM Owner
vi /etc/security/limits.conf (Append)
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft memlock 1048576
oracle hard memlock 1048576
***Make sure File permissions for /usr/bin/make and /usr/bin/ld.bfd is 0755
User Addition
groupadd -g 1003 dba
groupadd -g 1002 oinstall
useradd -u 1002 -g dba -s /bin/bash -d /home/oracle oracle
Edit Bash Profile for Faster Access
export OMS_HOME=/u01/app/oracle/em13cr3/middleware
export AGENT_INST=/u01/app/oracle/agent/agent13cr3/agent_inst
export AGENT_HOME=/u01/app/oracle/agent/agent13cr3/agent_13.3.0.0.0/
Create Directories and set permissions for install
mkdir -p "/u01/app/oracle/em13cr3/middleware"
mkdir -p "/u01/app/oracle/agent/agent13cr3"
mkdir -p "/u01/app/oracle/em13cr3/gc_inst"
mkdir -p "/u01/app/oracle/swlib"
mkdir -p "/u01/app/oracle/em13cr3/bip/config"
mkdir -p "/u01/app/oracle/em13cr3/bip/cluster"
chown -R oracle:oinstall /u01/ ; chmod 777 /u01
Create Inventory Directory
mkdir -p /u01/app/oracle/oraInventory
vi /etc/oraInst.loc
inventory_loc=/opt/oracle/oraInventory
inst_group=oinstall
chown oracle:oinstall /etc/oraInst.loc
No comments:
Write comments