add host details in /etc/hosts file
[root@ol7-n1 ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.189.181 ol7-n1.localdomain ol7-n1
verify hostname file
[root@ol7-n1 ~]# cat /etc/hostname
ol7-n1.localdomain
test internet is working from the vm
[root@ol7-n1 ~]# ping google.com
PING google.com (216.58.221.46) 56(84) bytes of data.
64 bytes from del03s07-in-f14.1e100.net (216.58.221.46): icmp_seq=1 ttl=119 time=16.2 ms
64 bytes from del03s07-in-f14.1e100.net (216.58.221.46): icmp_seq=2 ttl=119 time=16.7 ms
64 bytes from del03s07-in-f14.1e100.net (216.58.221.46): icmp_seq=3 ttl=119 time=18.1 ms
64 bytes from del03s07-in-f14.1e100.net (216.58.221.46): icmp_seq=4 ttl=119 time=21.5 ms
install oracle validated rpms for 19c and other preinstall tasks using yum
[root@ol7-n1 ~]# yum install -y oracle-database-preinstall-19c
Loaded plugins: langpacks, ulninfo
Repository ol7_latest is listed more than once in the configuration
Repository ol7_u0_base is listed more than once in the configuration
Repository ol7_u1_base is listed more than once in the configuration
Repository ol7_u2_base is listed more than once in the configuration
Repository ol7_u3_base is listed more than once in the configuration
Repository ol7_u4_base is listed more than once in the configuration
Repository ol7_u5_base is listed more than once in the configuration
Repository ol7_u6_base is listed more than once in the configuration
Repository ol7_u7_base is listed more than once in the configuration
Repository ol7_security_validation is listed more than once in the configuration
Repository ol7_optional_latest is listed more than once in the configuration
Repository ol7_addons is listed more than once in the configuration
Repository ol7_MODRHCK is listed more than once in the configuration
Repository ol7_latest_archive is listed more than once in the configuration
Repository ol7_optional_archive is listed more than once in the configuration
Repository ol7_UEKR5 is listed more than once in the configuration
Repository ol7_UEKR4 is listed more than once in the configuration
Repository ol7_UEKR3 is listed more than once in the configuration
Repository ol7_UEKR3_OFED20 is listed more than once in the configuration
Repository ol7_UEKR5_RDMA is listed more than once in the configuration
Repository ol7_UEKR4_OFED is listed more than once in the configuration
Repository ol7_UEKR4_archive is listed more than once in the configuration
Repository ol7_UEKR5_archive is listed more than once in the configuration
Repository ol7_kvm_utils is listed more than once in the configuration
ol7_UEKR5 | 2.5 kB 00:00:00
ol7_UEKR6 | 2.5 kB 00:00:00
ol7_latest | 2.7 kB 00:00:00
(1/2): ol7_latest/x86_64/updateinfo | 3.1 MB 00:00:11
(2/2): ol7_latest/x86_64/primary_db | 32 MB 00:00:19
Resolving Dependencies
--> Running transaction check
---> Package oracle-database-preinstall-19c.x86_64 0:1.0-2.el7 will be installed
--> Processing Dependency: libaio-devel for package: oracle-database-preinstall-19c-1.0-2.el7.x86_64
--> Processing Dependency: libstdc++-devel for package: oracle-database-preinstall-19c-1.0-2.el7.x86_64
--> Processing Dependency: ksh for package: oracle-database-preinstall-19c-1.0-2.el7.x86_64
--> Processing Dependency: compat-libcap1 for package: oracle-database-preinstall-19c-1.0-2.el7.x86_64
--> Running transaction check
---> Package compat-libcap1.x86_64 0:1.10-7.el7 will be installed
---> Package ksh.x86_64 0:20120801-142.0.1.el7 will be installed
---> Package libaio-devel.x86_64 0:0.3.109-13.el7 will be installed
---> Package libstdc++-devel.x86_64 0:4.8.5-44.0.3.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================
Installing:
oracle-database-preinstall-19c x86_64 1.0-2.el7 ol7_latest 19 k
Installing for dependencies:
compat-libcap1 x86_64 1.10-7.el7 ol7_latest 17 k
ksh x86_64 20120801-142.0.1.el7 ol7_latest 882 k
libaio-devel x86_64 0.3.109-13.el7 ol7_latest 12 k
libstdc++-devel x86_64 4.8.5-44.0.3.el7 ol7_latest 1.5 M
Transaction Summary
=============================================================================================================================================================================================
Install 1 Package (+4 Dependent packages)
Total download size: 2.4 M
Installed size: 11 M
Downloading packages:
(1/5): compat-libcap1-1.10-7.el7.x86_64.rpm | 17 kB 00:00:04
(2/5): libaio-devel-0.3.109-13.el7.x86_64.rpm | 12 kB 00:00:00
(3/5): ksh-20120801-142.0.1.el7.x86_64.rpm | 882 kB 00:00:03
(4/5): oracle-database-preinstall-19c-1.0-2.el7.x86_64.rpm | 19 kB 00:00:00
(5/5): libstdc++-devel-4.8.5-44.0.3.el7.x86_64.rpm | 1.5 MB 00:00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 566 kB/s | 2.4 MB 00:00:04
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : libstdc++-devel-4.8.5-44.0.3.el7.x86_64 1/5
Installing : ksh-20120801-142.0.1.el7.x86_64 2/5
Installing : libaio-devel-0.3.109-13.el7.x86_64 3/5
Installing : compat-libcap1-1.10-7.el7.x86_64 4/5
Installing : oracle-database-preinstall-19c-1.0-2.el7.x86_64 5/5
Verifying : compat-libcap1-1.10-7.el7.x86_64 1/5
Verifying : oracle-database-preinstall-19c-1.0-2.el7.x86_64 2/5
Verifying : libaio-devel-0.3.109-13.el7.x86_64 3/5
Verifying : ksh-20120801-142.0.1.el7.x86_64 4/5
Verifying : libstdc++-devel-4.8.5-44.0.3.el7.x86_64 5/5
Installed:
oracle-database-preinstall-19c.x86_64 0:1.0-2.el7
Dependency Installed:
compat-libcap1.x86_64 0:1.10-7.el7 ksh.x86_64 0:20120801-142.0.1.el7 libaio-devel.x86_64 0:0.3.109-13.el7 libstdc++-devel.x86_64 0:4.8.5-44.0.3.el7
Complete!
[root@ol7-n1 ~]#
set password for oracle user
[root@ol7-n1 ~]# passwd oracle
Changing password for user oracle.
New password:
BAD PASSWORD: The password is shorter than 8 characters
Retype new password:
passwd: all authentication tokens updated successfully.
modify SELINUX to permissive and perform setenforce
[root@ol7-n1 ~]# cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
#SELINUX=enforcing
SELINUX=permissive
# SELINUXTYPE= can take one of three values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
[root@ol7-n1 ~]# setenforce Permissive
disable the firewall
[root@ol7-n1 ~]# systemctl stop firewalld
[root@ol7-n1 ~]# systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
copy the 19c db s/w
[oracle@ol7-n1 19c_db]$ cd /u01/app/oracle
[oracle@ol7-n1 oracle]$ cp /shared_dir/19c-db_grid/19c_db/LINUX.X64_193000_db_home.zip .
[oracle@ol7-n1 oracle]$ mkdir 19c_db_sw
[oracle@ol7-n1 oracle]$ mv LINUX.X64_193000_db_home.zip 19c_db_sw/
[oracle@ol7-n1 oracle]$ cd 19c_db_sw/
[oracle@ol7-n1 19c_db_sw]$ unzip LINUX.X64_193000_db_home.zip
start installation and follow the steps mentioned in screnshots below
[oracle@ol7-n1 19c_db_sw]$ ./runInstaller
Launching Oracle Database Setup Wizard...




















run root.sh scripts
[root@ol7-n1 19c_db_sw]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
[root@ol7-n1 19c_db_sw]# /u01/app/oracle/19c_db_sw/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/19c_db_sw
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Oracle Trace File Analyzer (TFA - Standalone Mode) is available at :
/u01/app/oracle/19c_db_sw/bin/tfactl
Note :
1. tfactl will use TFA Service if that service is running and user has been granted access
2. tfactl will configure TFA Standalone Mode only if user has no access to TFA Service or TFA is not installed

verify the database
[oracle@ol7-n1 19c_db_sw]$ sqlplus
SQL*Plus: Release 19.0.0.0.0 - Production on Mon Jan 25 15:16:23 2021
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle. All rights reserved.
Enter user-name: /as sysdba
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
SQL> select name,open_mode from v$database;
NAME OPEN_MODE
--------- --------------------
ORCL19C READ WRITE
test em express

