Installation of Oracle RDBMS software in silent mode (software only install) - denis-kol4ev/OraDBA GitHub Wiki
Installation of Oracle RDBMS 19.3 software in silent mode
Installation of Oracle RDBMS 12.2 software in silent mode
Installation of Oracle RDBMS 12.1 software in silent mode
Installation of Oracle RDBMS 11.2 software in silent mode
Installation of Oracle RDBMS 19.3 software in silent mode
1. Install software packages and sets system parameters required for Oracle Database
# yum install oracle-database-preinstall-19c
2. If it first installation of Oracle software on host, create oraInventory directory
# mkdir /opt/oraInventory
# chown oracle:oinstall /opt/oraInventory
3. Unpack software distributive to the new ORACLE_HOME directory
$ mkdir -p /opt/oracle/rdbms/19c
$ unzip /opt/oracle/distr/19.3/V982063-01.zip -d /opt/oracle/rdbms/19c
$ cd /opt/oracle/rdbms/19c
4. Run software installer
$ ./runInstaller -waitforcompletion -silent \
oracle.install.option=INSTALL_DB_SWONLY \
UNIX_GROUP_NAME=oinstall \
INVENTORY_LOCATION=/opt/oraInventory \
ORACLE_HOME=/opt/oracle/rdbms/19c \
ORACLE_BASE=/opt/oracle \
oracle.install.db.InstallEdition=EE \
oracle.install.db.OSDBA_GROUP=dba \
oracle.install.db.OSBACKUPDBA_GROUP=backupdba \
oracle.install.db.OSDGDBA_GROUP=dgdba \
oracle.install.db.OSKMDBA_GROUP=kmdba \
oracle.install.db.OSRACDBA_GROUP=racdba \
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false \
DECLINE_SECURITY_UPDATES=true
5. As a root user, execute root.sh script
# /opt/oraInventory/orainstRoot.sh
# /opt/oracle/rdbms/19c/root.sh
6. (Optional) Apply latest PSU
6.1 update opatch utility with minimal PSU required version
$ export ORACLE_HOME=/opt/oracle/rdbms/19c
$ $ORACLE_HOME/OPatch/opatch version
$ cd $ORACLE_HOME
$ mv ./OPatch ./OPatch.bak
$ unzip -q /opt/oracle/distr/19.3/p6880880_200000_Linux-x86-64.zip -d $ORACLE_HOME
$ $ORACLE_HOME/OPatch/opatch version
6.2 apply PSU
$ cd /opt/oracle/distr/19.3
$ unzip -q p30899722_190000_Linux-x86-64_GI_Release_Update_19.7.0.0.200414.zip
$ unzip -q p30805684_190000_Linux-x86-64_JavaVM_Release_Update_19.7.0.0.200414.zip
$ opatch lspatches -oh $ORACLE_HOME
$ opatch apply -silent -oh $ORACLE_HOME -local ./30899722/30869156
$ opatch apply -silent -oh $ORACLE_HOME -local ./30899722/30894985
$ opatch apply -silent -oh $ORACLE_HOME -local ./30805684
$ opatch lspatches -oh $ORACLE_HOME
Installation of Oracle RDBMS 12.2 software in silent mode
1. If it first installation of Oracle software on host, create oraInventory directory
# mkdir /opt/oraInventory
# chown oracle:oinstall /opt/oraInventory
2. Unpack software distributive
$ cd /opt/oracle/distr/rdbms/12.2
$ unzip V839960-01.zip
$ cd ./database
3. Run software installer
$ ./runInstaller -waitforcompletion -silent \
oracle.install.option=INSTALL_DB_SWONLY \
UNIX_GROUP_NAME=oinstall \
INVENTORY_LOCATION=/opt/oraInventory \
ORACLE_HOME=/opt/oracle/rdbms/12.2 \
ORACLE_BASE=/opt/oracle \
oracle.install.db.InstallEdition=EE \
oracle.install.db.OSDBA_GROUP=dba \
oracle.install.db.OSBACKUPDBA_GROUP=dba \
oracle.install.db.OSDGDBA_GROUP=dba \
oracle.install.db.OSKMDBA_GROUP=dba \
oracle.install.db.OSRACDBA_GROUP=dba \
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false \
DECLINE_SECURITY_UPDATES=true
4. As a root user, execute root.sh script
# /opt/oracle/rdbms/12.2/root.sh
Installation of Oracle RDBMS 12.1 software in silent mode
1. If it first installation of Oracle software on host, create oraInventory directory
# mkdir /opt/oraInventory
# chown oracle:oinstall /opt/oraInventory
2. Unpack software distributive and run installer
$ ./runInstaller -waitforcompletion -showProgress -silent \
oracle.install.option=INSTALL_DB_SWONLY \
UNIX_GROUP_NAME=oinstall \
INVENTORY_LOCATION=/opt/oraInventory \
ORACLE_HOME=/opt/oracle/ora12c/12.1.0.2 \
ORACLE_BASE=/opt/oracle \
oracle.install.db.InstallEdition=EE \
oracle.install.db.DBA_GROUP=dba \
oracle.install.db.OPER_GROUP=dba \
oracle.install.db.BACKUPDBA_GROUP=dba \
oracle.install.db.DGDBA_GROUP=dba \
oracle.install.db.KMDBA_GROUP=dba \
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false \
DECLINE_SECURITY_UPDATES=true
3. As a root user, execute root.sh script
# /opt/oracle/ora12c/12.1.0.2/root.sh
Installation of Oracle RDBMS 11.2 software in silent mode
1. If it first installation of Oracle software on host, create oraInventory directory
# mkdir /opt/oraInventory
# chown oracle:oinstall /opt/oraInventory
2. Unpack software distributive and run installer
./runInstaller -waitforcompletion -showProgress -silent \
oracle.install.option=INSTALL_DB_SWONLY \
UNIX_GROUP_NAME=oinstall \
INVENTORY_LOCATION=/opt/oraInventory \
ORACLE_HOME=/opt/oracle/ora11g/11.2.0.4 \
ORACLE_BASE=/opt/oracle \
oracle.install.db.InstallEdition=EE \
oracle.install.db.DBA_GROUP=dba \
oracle.install.db.OPER_GROUP=dba \
oracle.install.db.BACKUPDBA_GROUP=dba \
oracle.install.db.DGDBA_GROUP=dba \
oracle.install.db.KMDBA_GROUP=dba \
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false \
DECLINE_SECURITY_UPDATES=true
3. As a root user, execute root.sh script
# /opt/oracle/ora11g/11.2.0.4/root.sh