Prerequisites
Before you begin the silent installation of Oracle 19c on RHEL with two PDBs, you will need to ensure that your system meets the following prerequisites:
- Operating System: Red Hat Enterprise Linux (RHEL) 7 or 8
- Memory: At least 16GB of RAM
- Disk Space: At least 40GB of free disk space
- User: A non-root user with sudo privileges
Step 1: Download Oracle 19c Software
- Download the Oracle 19c software from the Oracle Technology Network (OTN) website.
- Extract the downloaded software to a convenient location on your system.
Step 2: Create Installation Directories
- Create the following directories for the Oracle 19c installation:
/u01/app/oracle/product
/u02/oradata
- Set the ownership of the directories to the
oracle
user and group:
chown -R oracle:oinstall /u01/app/oracle/product
chown -R oracle:oinstall /u02/oradata
Step 3: Create Oracle User and Group
- Create the
oracle
user and group:
groupadd oinstall
useradd -g oinstall -M oracle
- Set the password for the
oracle
user:
passwd oracle
Step 4: Configure SELinux
- Edit the
/etc/selinux/config
file and setSELINUX=permissive
:
SELINUX=permissive
- Save the file and reboot your system:
reboot
Step 5: Disable Firewall
- Disable the firewall to allow Oracle to communicate with the outside world:
systemctl stop firewalld
systemctl disable firewalld
Step 6: Set Environment Variables
- Add the following environment variables to your
~/.bashrc
file:
ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1 ORACLE_SID=c
Step 7: Unzip Oracle Software
Looking forward for your suggestions.. please feel free to write to me.. Your help would definitely help to improve our blog. Chetan Yadav