1 - 2 minutes readInstall Oracle 19c database software in silent mode in OEL-8

Reader Mode

Step 1: Download oracle 19c Software, ftp to the server and unzip.

unzip /path/to/file.zip -d temp_for_zip_extract


Step 2: Create Oracle User and Group

Log in as a root and execute:

# groupadd oinstall

# groupadd dba

# mkdir -p /export/home/oracle

# useradd -d /export/home/oracle -g oinstall -G dba oracle

# chown oracle:dba /export/home/oracle

# passwd oracle

New Password:

Re-enter new Password:

passwd: password successfully changed for oracle

Step 3: Download RPM’s

curl -o oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/getPackage/oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm

Step 4: install RPM’s

yum -y localinstall oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm

Step 5: Backup response file (db_install.rsp) 

location install/response/db_install.rsp 

Step 6: Update below parameter in db_install.rsp file
oracle.install.option=INSTALL_DB_SWONLY
UNIX_GROUP_NAME=oinstall

INVENTORY_LOCATION=/home/oracle/oraInventory

ORACLE_HOME=/oracle/19c_home

ORACLE_BASE=/oracle

oracle.install.db.InstallEdition=EE

oracle.install.db.OSDBA_GROUP=oinstall

oracle.install.db.OSOPER_GROUP=oinstall

oracle.install.db.OSBACKUPDBA_GROUP=oinstall

oracle.install.db.OSDGDBA_GROUP=oinstall

oracle.install.db.OSKMDBA_GROUP=oinstall

oracle.install.db.OSRACDBA_GROUP=oinstall

oracle.install.db.rootconfig.executeRootScript=false 
Step 7: Execute Pre-requisites.

./runInstaller -executePrereqs -silent -responseFile /oracle/19c_home/install/response/db_install.rsp

Step 8:  Install oracle software in Silent mode

export CV_ASSUME_DISTID=OEL8.1

./runInstaller -silent -responseFile /oracle/19c_home/install/response/db_install.rsp

Step 9:  Execute root.sh as per above steps output. 


Steps 10: Verify

export ORACLE_HOME=/oracle/19c_home

export PATH=$ORACLE_HOME/bin:$PATH

which sqlplus

sqlplus

Related Articles

Responses

Your email address will not be published. Required fields are marked *

Password Reset
Please enter your e-mail address. You will receive a new password via e-mail.