Introduction
Usually to install database software we will use ./runInstaller graphical user interface. Some times we may not have access to a graphical user interface. Silent mode installation allows to configure necessary Oracle components without using graphical interface In this response file can be used to provide all the required information for the installation, so no additional user input is required.
Environment
OS Version : OEL 7
Database Version : 19.3.0.1
GoldenGate Version : 19.1.0.0.4 for oracle db 19
Oracle Home : /u01/app/oracle/product/19.3.0.1/dbhome_1
GoldenGate Home : /u01/app/oracle/GG/
Download software
https://edelivery.oracle.com >> Select a Product Pack: Oracle Fusion Middleware
[oracle@standgg oracle]$ mv 191004_fbo_ggs_Linux_x64_shiphome.zip GG/ [oracle@standgg oracle]$ cd GG/ [oracle@standgg GG]$ ls 191004_fbo_ggs_Linux_x64_shiphome.zip
Unzip the software
[oracle@standgg GG]$ unzip 191004_fbo_ggs_Linux_x64_shiphome.zip Archive: 191004_fbo_ggs_Linux_x64_shiphome.zip creating: fbo_ggs_Linux_x64_shiphome/ creating: fbo_ggs_Linux_x64_shiphome/Disk1/ creating: fbo_ggs_Linux_x64_shiphome/Disk1/install/ inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/.oui inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/attachHome.sh inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/clusterparam.ini inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/detachHome.sh creating: fbo_ggs_Linux_x64_shiphome/Disk1/install/images/ inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/oraparam.ini inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/oraparam.ini.deinstall
creating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/ inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/cons.nls inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/cons_de.nls inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/cons_es.nls inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/cons_fr.nls inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/cons_it.nls inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/cons_ja.nls inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/cons_ko.nls inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/cons_pt_BR.nls
Continues ….
.
.
.
.
.
inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/WindowsGeneralQueries/12.2.0.4.0/1/WindowsGeneralQueries.jar inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/shiphomeproperties.xml creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/sizes/ inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/sizes/oracle.oggcore.top.19.1.0.0.0.sizes.properties inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/sizes/oracle.oggcore.top19.1.0.0.0ora11g.sizes.properties inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/sizes/oracle.oggcore.top19.1.0.0.0ora12c.sizes.properties inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/sizes/oracle.oggcore.top19.1.0.0.0ora18c.sizes.properties inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/sizes/oracle.oggcore.top19.1.0.0.0ora19c.sizes.properties inflating: OGG-19.1.0.0-README.txt inflating: OGG_WinUnix_Rel_Notes_19.1.0.0.4.pdf
Create a copy of Response file:
[oracle@standgg response]$ cp oggcore.rsp_bkp oggcore.rsp [oracle@standgg response]$ ll total 16 -rwxrwxr-x. 1 oracle oracle 4439 May 12 14:48 oggcore.rsp -rwxrwxr-x. 1 oracle oracle 4439 Jan 24 2019 oggcore.rsp_bkp [oracle@standgg response]$ pwd /u01/app/oracle/GG/fbo_ggs_Linux_x64_shiphome/Disk1/response
Create Response file for Installation:
[oracle@standgg response]$ cat oggcore.rsp #################################################################### ## Copyright(c) Oracle Corporation 2019. All rights reserved. ## ## ## ## Specify values for the variables listed below to customize ## ## your installation. ## ## ## ## Each variable is associated with a comment. The comment ## ## can help to populate the variables with the appropriate ## ## values. ## ## ## ## IMPORTANT NOTE: This file should be secured to have read ## ## permission only by the oracle user or an administrator who ## ## own this installation to protect any sensitive input values. ## ## ## #################################################################### #------------------------------------------------------------------------------- # Do not change the following system generated value. #------------------------------------------------------------------------------- oracle.install.responseFileVersion=/oracle/install/rspfmt_ogginstall_response_schema_v19_1_0 ################################################################################ ## ## ## Oracle GoldenGate installation option and details ## ## ## ################################################################################ #------------------------------------------------------------------------------- # Specify the installation option. # Specify ORA19c for installing Oracle GoldenGate for Oracle Database 19c or # ORA18c for installing Oracle GoldenGate for Oracle Database 18c or # ORA12c for installing Oracle GoldenGate for Oracle Database 12c or # ORA11g for installing Oracle GoldenGate for Oracle Database 11g #------------------------------------------------------------------------------- INSTALL_OPTION=ORA19c #------------------------------------------------------------------------------- # Specify a location to install Oracle GoldenGate #------------------------------------------------------------------------------- SOFTWARE_LOCATION=/u01/app/oracle/GG #------------------------------------------------------------------------------- # Specify true to start the manager after installation. #------------------------------------------------------------------------------- START_MANAGER= #------------------------------------------------------------------------------- # Specify a free port within the valid range for the manager process. # Required only if START_MANAGER is true. #------------------------------------------------------------------------------- MANAGER_PORT= #------------------------------------------------------------------------------- # Specify the location of the Oracle Database. # Required only if START_MANAGER is true. #------------------------------------------------------------------------------- DATABASE_LOCATION=/u01/app/oracle/product/19.3.0.1/dbhome_1 ################################################################################ ## ## ## Specify details to Create inventory for Oracle installs ## ## Required only for the first Oracle product install on a system. ## ## ## ################################################################################ #------------------------------------------------------------------------------- # Specify the location which holds the install inventory files. # This is an optional parameter if installing on # Windows based Operating System. #------------------------------------------------------------------------------- INVENTORY_LOCATION=/u01/app/oraInventory #------------------------------------------------------------------------------- # Unix group to be set for the inventory directory. # This parameter is not applicable if installing on # Windows based Operating System. #------------------------------------------------------------------------------- UNIX_GROUP_NAME=oinstall
YOU CAN INSTALL ORACLE GOLDEN GATE SILENT WITH FOLLOWING SCRIPT.
[oracle@standgg Disk1]$ ./runInstaller -silent -showProgress -waitforcompletion -responseFile /u01/app/oracle/GG/fbo_ggs_Linux_x64_shiphome/Disk1/response/oggcore.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 66869 MB Passed
Checking swap space: must be greater than 150 MB. Actual 9992 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2021-05-12_03-16-06PM. Please wait ...[WARNING] [INS-75003] The specified directory /u01/app/oracle/GG is not empty.
CAUSE: The directory specified /u01/app/oracle/GG contains files.
ACTION: Clean up the specified directory or enter a new directory location.
You can find the log of this install session at:
/u01/app/oraInventory/logs/installActions2021-05-12_03-16-06PM.log
Prepare in progress.
.................................................. 10% Done.
Prepare successful.
WARNING:OUI-10030:You have specified a non-empty directory to install this product. It is recommended to specify either an empty or a non-existent directory. You may, however, choose to ignore this message if the directory contains Operating System generated files or subdirectories like lost+found.
Do you want to proceed with installation in this Oracle Home?
Copy files in progress.
.................................................. 36% Done.
.................................................. 54% Done.
.................................................. 77% Done.
.................................................. 82% Done.
.................................................. 88% Done.
....................
Copy files successful.
Link binaries in progress.
..........
Link binaries successful.
Setup files in progress.
.................................................. 93% Done.
.................................................. 95% Done.
.................................................. 96% Done.
.................................................. 98% Done.
.................................................. 99% Done.
Setup files successful.
Setup Inventory in progress.
Setup Inventory successful.
.................................................. 95% Done.
Successfully Setup Software.
.................................................. 100% Done.
Finish Setup successful.
The installation of Oracle GoldenGate Core was successful. Please check '/u01/app/oraInventory/logs/silentInstall2021-05-12_03-16-06PM.log' for more details.