Table of Contents

Oracle Installation & Maintenance

Silent Installation

Unlike some databases (working ones) which have a command line installation (DB2) or are installed as a service (PostegreSQL, MariaDB, MySQL and others) Oracle is little noisy queen when it comes to installation GUI installation. So in order to save a lot of dead neurons, here is a easy way how you can install silent Software ONLY:

[oracle@tbp-mts-odb01 database]$ ./runInstaller -ignoreSysPrereqs -ignorePrereq -waitforcompletion -showProgress -silent \
>     -responseFile /home/oracle/database/response/orainstall_se_response.rsp \
>     oracle.install.option=INSTALL_DB_SWONLY \
>     ORACLE_HOSTNAME=${ORACLE_HOSTNAME} \
>     UNIX_GROUP_NAME=oinstall \
>     INVENTORY_LOCATION=/app/oracle/oraInventory \
>     SELECTED_LANGUAGES=en,en_GB \
>     ORACLE_HOME=/app/oracle/product/11.2.0/dbhome_1 \
>     ORACLE_BASE=/app/oracle \
>     oracle.install.db.InstallEdition=SE \
>     oracle.install.db.DBA_GROUP=oinstall \
>     oracle.install.db.OPER_GROUP=oinstall \
>     oracle.install.db.BACKUPDBA_GROUP=oinstall \
>     oracle.install.db.DGDBA_GROUP=oinstall \
>     oracle.install.db.KMDBA_GROUP=oinstall \
>     SECURITY_UPDATES_VIA_MYORACLESUPPORT=false \
>     DECLINE_SECURITY_UPDATES=true
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 40768 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 2047 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2018-11-16_02-08-19PM. Please wait ...[WARNING] [INS-32055] The Central Inventory is located in the Oracle base.
   CAUSE: The Central Inventory is located in the Oracle base.
   ACTION: Oracle recommends placing this Central Inventory in a location outside the Oracle base directory.
You can find the log of this install session at:
 /app/oracle/oraInventory/logs/installActions2018-11-16_02-08-19PM.log

Prepare in progress.

..................................................   9% Done.

Prepare successful.

Copy files in progress.
..................................................   14% Done.
..................................................   19% Done.
..................................................   24% Done.
..................................................   29% Done.
..................................................   34% Done.
..................................................   41% Done.
..................................................   46% Done.
..................................................   51% Done.
..................................................   56% Done.
..................................................   63% Done.
..................................................   68% Done.
..................................................   73% Done.
..................................................   78% Done.
..................................................   83% Done.
..............................
Copy files successful.

Link binaries in progress.
..........
Link binaries successful.

Setup files in progress.
..................................................   88% Done.
..................................................   94% Done.

Setup files successful.
The installation of Oracle Database 11g was successful.
Please check '/app/oracle/oraInventory/logs/silentInstall2018-11-16_02-08-19PM.log' for more details.

Execute Root Scripts in progress.

As a root user, execute the following script(s):
        1. /app/oracle/oraInventory/orainstRoot.sh
        2. /app/oracle/product/11.2.0/dbhome_1/root.sh


..................................................   100% Done.

Execute Root Scripts successful.
Successfully Setup Software.
[oracle@tbp-mts-odb01 database]$

The response file can be seen below, but you can also use the default one :).

PSU PATCH

  1. Stop all shit running from the ORACLE_HOME being patched
  2. opatch apply
  3. @$ORACLE_HOME/rdbms/admin/catbundle.sql psu apply

always follow the readme