HowToInstall11.2/12.1Database/ClientSoftwareInSilentModeWithoutUsingResponseFile(二)

2014-11-24 17:04:38 · 作者: · 浏览: 1
d can be used to install Client (Install Type : Administrator) in silent mode:

Unix:

$ cd /11gR2/client
$ ./runInstaller -silent -debug -force \
FROM_LOCATION=/11gR2/client/stage/products.xml \
UNIX_GROUP_NAME=oinstall \
ORACLE_HOME=/u01/app/oracle/product/11201/Client_1 \
ORACLE_HOME_NAME="OraClient11g_Home1" \
ORACLE_BASE=/u01/app/oracle \
oracle.install.client.installType="Administrator"

Windows:

> cd Z:\client
> .\setup.exe -silent -debug -force -waitforcompletion FROM_LOCATION=Z:\client\stage\products.xml oracle.install.client.installType="Administrator" ORACLE_HOME="D:\oracle\product\11.2.0\Client" ORACLE_HOME_NAME="OraClient11g_Home1" ORACLE_BASE="D:\oracle" DECLINE_SECURITY_UPDATES=true

12.1

Unix

Silent installation with response file

./runInstaller -showProgress -waitforcompletion -silent -noconfig -debug -force -responseFile /tmp/db_install.rsp

1. For the already available Silent Response File, please go to
cd <12c Disk>/database/response/db_install.rsp

2. Copy db_install.rsp to temporary location, eg /tmp

3. Update db_install.rsp for below parameters for Single Instance / Non RAC / Software Only Installation per your environment.

oracle.install.option=INSTALL_DB_SWONLY
ORACLE_HOSTNAME=oel5.test.com
UNIX_GROUP_NAME=oinstall
INVENTORY_LOCATION=/u01/app/oraInventory
ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1
ORACLE_BASE=/u01/app/oracle
oracle.install.db.InstallEdition=EE
oracle.install.db.DBA_GROUP=dba
oracle.install.db.OPER_GROUP=dba (++++++++++++++++++++ Optional +++++++++++++++++++++++)
oracle.install.db.BACKUPDBA_GROUP=dba
oracle.install.db.DGDBA_GROUP=dba
oracle.install.db.KMDBA_GROUP=dba
DECLINE_SECURITY_UPDATES=true
oracle.installer.autoupdates.option=SKIP_UPDATES

Silent installation without response file

./runInstaller -silent -debug -force \
FROM_LOCATION=/tmp/12c/database/Disk1/stage/products.xml \
oracle.install.option=INSTALL_DB_SWONLY \
UNIX_GROUP_NAME=oinstall \
INVENTORY_LOCATION=/u01/app/oraInventory \
ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1 \
ORACLE_HOME_NAME="OraDb12c_Home1" \
ORACLE_BASE=/u01/app/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 \
DECLINE_SECURITY_UPDATES=true

Note : Following are new groups introduced in 12.1

oracle.install.db.BACKUPDBA_GROUP=dba \
oracle.install.db.DGDBA_GROUP=dba \
oracle.install.db.KMDBA_GROUP=dba \

For more information, please review :

Note 1483380.1 Changes For Oracle Database 12.1 Standalone Installation

Note :
The following options are not mandatory but can be used when required:
-force : Allows silent mode installation into a non-empty ORACLE_HOME directory.
-debug : Displays debug information from OUI. This will be useful if OUI is not starting.

On windows, ensure that command is framed in single line and space is used between each option and variable
Ex: setup.exe -option1 -option2 variable1=value variable2=value ....

Here is an example of instructions for windows 12.1 client installation :
D:\client\winx64_12c_client\client>.\setup.exe -silent -debug -force -waitforcompletion FROM_LOCATION=D:\client\wi