oracledba.help
Install

Oracle's Preinstallation rpm

Overview

Oracle's Preinstallation rpm is useful to ensure things do not fall through cracks. It should be run on any Linux system that needs to support an Oracle database.

The actual yum install performs required system changes and then creates the output file orakernel.log of all the changes.

Installing the Oracle's Preinstallation rpm

Configure Repository

Perform all steps as root user.

Oracle Linux 8

 1. vi /etc/yum.repos.d/oracle-linux-ol8.repo
 2. Find ol8_addons
 3. Set enabled=1

Oracle Linux 7

 1. vi /etc/yum.repos.d/public-yum-ol7.repo
 2. Find ol7_addons
 3. Set enabled=1

yum Install

 19c
   yum install oracle-database-preinstall-19c -y
   Review: /var/log/oracle-database-preinstall-19c/backup/<timestamp>/orakernel.log

 18c
   yum install oracle-database-preinstall-18c -y
   Review: /var/log/oracle-database-preinstall-18c/backup/<timestamp>/orakernel.log

 12cR2
   yum install oracle-database-server-12cR2-preinstall -y
   more /var/log/oracle-database-server-12cR2-preinstall/results/orakernel.log

 12cR1
   yum install oracle-rdbms-server-12cR1-preinstall -y
   more /var/log/oracle-rdbms-server-12cR1-preinstall/results/orakernel.log

RHEL 7\CentOS 7 Example

Perform all steps as root user.

12cR2

wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
cd /etc/yum.repos.d/
wget http://public-yum.oracle.com/public-yum-ol7.repo
yum install oracle-database-server-12cR2-preinstall -y
more /var/log/oracle-database-server-12cR2-preinstall/results/orakernel.log
sysctl -p

12cR1

wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
cd /etc/yum.repos.d/
wget http://public-yum.oracle.com/public-yum-ol7.repo
yum install oracle-rdbms-server-12cR1-preinstall -y
more /var/log/oracle-rdbms-server-12cR1-preinstall/results/orakernel.log
sysctl -p