We are going to install the prerequisites (RPMs, Groups, Security Limits, Kernel Limits, …) on Oracle Linux 8.
1. Install the Oracle Linux 8:
2. Install The prerequisites:
Step 1: Check the kernel version:
# uname -a
Linux ol8u2.wadhahdaouehi.tn 5.4.17-2011.1.2.el8uek.x86_64 #2 SMP Mon Apr 20 22:10:46 PDT 2020 x86_64 x86_64 x86_64 GNU/Linux
Step 2: Install the Oracle Database Prerequisites:
# yum install oracle-database-preinstall-19c.x86_64
Note: With Oracle Linux, Installing just One Package then all the prerequisites will be installed.
Step 3: Check the prerequisites installation.
a. User Oracle:
# id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54330(racdba),54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba)
b. Kernel Parameters:
# sysctl -p
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
c. Security Limits:
# grep -v ^# /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
oracle soft data unlimited
oracle hard data unlimited
You are ready
Now, you can begin installing the Oracle database Software on Oracle Linux 8