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
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 8: Install oracle software in Silent mode
./runInstaller -silent -responseFile /oracle/19c_home/install/response/db_install.rsp
Step 9: Execute root.sh as per above steps output.
export ORACLE_HOME=/oracle/19c_home
export PATH=$ORACLE_HOME/bin:$PATH
which sqlplus
sqlplus
Post a Comment