Oracle Database 19c Installation on Linux
Download Oracle 19c Software from the Oracle Edelivery
Install Operating system (oracle Linux 7) on the target Machine after installing we need to do some pre requiste for installing Oracle database
1. vi /etc/hosts
IPadress full_machine_name machine_name
192.168.2.2 db_test.com db_test
2.Install the required RPM we will do it by enabling internet on the target machine so that all the rpm downloaded and install automaticaly
yum install -y oracle-database-preinstall-19c
yum update -y
3 vi /etc/sysctl.conf
fs.file-max = 6815744
kernel.sem = 250 32000 100 128
kernel.shmmni = 4096
kernel.shmall = 1073741824
kernel.shmmax = 4398046511104
kernel.panic_on_oops = 1
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
net.ipv4.conf.all.rp_filter = 2
net.ipv4.conf.default.rp_filter = 2
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500
run the following commond to propogate the changes to kernel
/sbin/sysctl -p
4. Add following entries in the file vi /etc/security/limits.d/oracle-database-preinstall-19c.conf
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft nproc 16384
oracle hard nproc 16384
oracle soft stack 10240
oracle hard stack 32768
oracle hard memlock 134217728
oracle soft memlock 134217728
5. install all these rpm and packages
yum install -y bc
yum install -y binutils
yum install -y compat-libcap1
yum install -y compat-libstdc++-33
#yum install -y dtrace-modules
#yum install -y dtrace-modules-headers
#yum install -y dtrace-modules-provider-headers
yum install -y dtrace-utils
yum install -y elfutils-libelf
yum install -y elfutils-libelf-devel
yum install -y fontconfig-devel
yum install -y glibc
yum install -y glibc-devel
yum install -y ksh
yum install -y libaio
yum install -y libaio-devel
yum install -y libdtrace-ctf-devel
yum install -y libXrender
yum install -y libXrender-devel
yum install -y libX11
yum install -y libXau
yum install -y libXi
yum install -y libXtst
yum install -y libgcc
yum install -y librdmacm-devel
yum install -y libstdc++
yum install -y libstdc++-devel
yum install -y libxcb
yum install -y make
yum install -y net-tools # Clusterware
yum install -y nfs-utils # ACFS
yum install -y python # ACFS
yum install -y python-configshell # ACFS
yum install -y python-rtslib # ACFS
yum install -y python-six # ACFS
yum install -y targetcli # ACFS
yum install -y smartmontools
yum install -y sysstat
6. create the user and group for oracle database as donot install database from root user
groupadd -g 54321 oinstall
groupadd -g 54322 dba
groupadd -g 54323 oper
useradd -u 54321 -g oinstall -G dba,oper oracle
7.make the changes in the file vi /etc/selinux/config
SELINUX=permissive
8. disable the firewall
systemctl stop firewalld
systemctl disable firewalld
9. make the file/folder/directories where the oracle database install
mkdir -p /home/app/oracle/product/19.0.0/dbhome_1
mkdir -p /home/oradata
chown -R oracle:oinstall /home
chmod -R 775 /home
system is ready for installation now
DISPLAY=:0.0; export DISPLAY
10. Unzip software. and start installing
./runInstaller
Comments
Post a Comment