Oracle 11g Silent Install

In this article we will be looking at Oracle 11g silent mode installation (without using the GUI method).

Create Response File

Assumption: you have already downloaded Oracle 11gR2 software files, copied it to Linux server and unziped the files.

Create response file under /tmp location with below details

vi /tmp/11g_response.rsp

Do not forget to replace ORACLE_HOSTNAME, ORACLE_HOME and ORACLE_BASE location below

oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
oracle.install.option=INSTALL_DB_SWONLY
ORACLE_HOSTNAME=myprm.dbagenesis.com
UNIX_GROUP_NAME=oinstall
INVENTORY_LOCATION=/data/saidur/oracle/oraInventory
SELECTED_LANGUAGES=en
ORACLE_HOME=/data/saidur/app/oracle/product/11.2.0
ORACLE_BASE=/data/saidur/app/oracle
oracle.install.db.InstallEdition=EE
oracle.install.db.DBA_GROUP=dba
oracle.install.db.OPER_GROUP=dba
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
DECLINE_SECURITY_UPDATES=true

Go to 11gR2 installation software location and fire the runInstaller in silent mode

./runInstaller -silent -ignoreSysPrereqs -ignorePrereqs -responseFile /tmp/11g_response.rsp

Note:

  • ignoreSysPrereqs will ignore any pre-requisite errors
  • silent will force runInstaller to run in silent mode (no GUI)
  • responseFile is the name & location of your response file (create above)

Post installation, run the root scripts and update the bash_profile to reflect correct ORACLE_HOME.

Was this article helpful?

Related Articles

Leave a Comment