Install 11.2/12.1 DB/Client in Silent Mode without Using Response File _885643.1
How to Install 11.2 / 12.1 Database/Client Software in Silent Mode without Using Response File (文件 ID 885643.1)
In this Document
Applies to:Oracle Universal Installer - Version 11.2.0.1 and laterOracle Database - Enterprise Edition - Version 11.2.0.1 and later Oracle Database - Standard Edition - Version 11.2.0.1 and later Information in this document applies to any platform. GoalHow to install Oracle Database Server/Client software in non-interactive or silent mode from command line without using a response file? Solution
Silent installation can be done with the help of a "Response File". A "Response File" contains all the inputs that are required for doing the silent installation. 1. Response file template supplied with installation kit: Ex: <11gR2 Disk>/database/response/db_install.rsp
Copy "<11gR2 Disk>/database/response/db_install.rsp" to "
Edit " 2. Record the response file using OUI in interactive mode: Starting with 11gR2, user can save (Record) all the installation steps into a response file during installation. This can be achieved by clicking on "Save Response File" button on the Summary page. Later, this saved response file can be used for a silent installation. Once the response file is created, user can execute the following command to do a silent installation:
Windows : setup.exe -silent -responseFile "
Unix : ./runInstaller -silent -responseFile "
11.2Unix:
$ cd /11gR2/database
$ ./runInstaller -silent -debug -force \ FROM_LOCATION=/11gR2/database/stage/products.xml \ oracle.install.option=INSTALL_DB_SWONLY \ UNIX_GROUP_NAME=oinstall \ INVENTORY_LOCATION=/u01/app/oracle/oraInventory \ ORACLE_HOME=/u01/app/oracle/product/11201/db_1 \ ORACLE_HOME_NAME="OraDb11g_Home1" \ ORACLE_BASE=/u01/app/oracle \ oracle.install.db.InstallEdition=EE \ oracle.install.db.isCustomInstall=false \ oracle.install.db.DBA_GROUP=dba \ oracle.install.db.OPER_GROUP=dba \ DECLINE_SECURITY_UPDATES=true Windows:
> cd Z:\database
> .\setup.exe -silent -debug -force -waitforcompletion FROM_LOCATION=Z:\database\stage\products.xml oracle.install.option=INSTALL_DB_SWONLY ORACLE_HOME="D:\oracle\product\11.2.0\dbhome_1" ORACLE_HOME_NAME="OraDb11g_Home1" ORACLE_BASE="D:\oracle" oracle.install.db.InstallEdition=EE oracle.install.db.isCustomInstall=false DECLINE_SECURITY_UPDATES=true
Note :
"DECLINE_SECURITY_UPDATES=true" causes the Install of the OCM component but does not do the OCM configuration. If user wants to configure the OCM along with Database Silent Installation, then the following parameters need to be included to the above command: MYORACLESUPPORT_USERNAME= SECURITY_UPDATES_VIA_MYORACLESUPPORT=true MYORACLESUPPORT_PASSWORD= If direct connection is not possible, then following proxy connection details are required additionally PROXY_HOST= PROXY_PORT= PROXY_USER= PROXY_PWD= DECLINE_SECURITY_UPDATES=false
$ 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"
> 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.1Unix Silent installation with response file Windows
./runInstaller -showProgress -waitforcompletion -silent -noconfig -debug -force -responseFile /tmp/db_install.rsp
cd <12c Disk>/database/response/db_install.rsp
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 \ 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.
Windows
On windows, ensure that command is framed in single line and space is used between each option and variable
setup.exe -silent -debug -force -waitforcompletion
FROM_LOCATION= oracle.install.client.installType="Administrator" ORACLE_HOME=" ORACLE_HOME_NAME=" ORACLE_BASE=" DECLINE_SECURITY_UPDATES=true oracle.install.IsBuiltInAccount=false oracle.install.OracleHomeUserName=oracle oracle.install.OracleHomeUserPassword=******
Note :
11.2 installer provides only two install methods : Interactive and Silent. Suppressed-Interactive mode (used to work in previous releases) does not work with 11.2 OUI. If runInstaller command is invoked without "-silent" option but supplied the necessary information by using a response file or command line entries, then OUI still shows all the interactive screens and displays the values supplied through response file or command line entries as default values.
Note :
In case you need to install Examples CD the methods are exactly the sames as the ones decribed above : Response file template supplied with installation kit : <11gR2 Examples Disk>/examples/response/demos_install.rsp (\ on windows platforms) or record the response file using OUI in interactive mode. ReferencesNOTE:1351051.1 - Information Center: Install and Configure Database Server/Client InstallationsNOTE:1156586.1 - Master Note For Oracle Database Server Installation NOTE:782918.1 - How to Install/Deinstall Oracle Database Server Software Silently Without Response File NOTE:782923.1 - How to install/deinstall Oracle Database Client software silently without response file NOTE:1483380.1 - Changes For Oracle Database 12.1 Standalone Installation NOTE:1520299.1 - Master Note For Oracle Database 12c Release 1 (12.1) Database/Client Installation/Upgrade/Migration Standalone Environment (Non-RAC) |
![]() |

|
|
- Oracle Database Products > Oracle Database Suite > Oracle Database > Oracle Universal Installer > Oracle Universal Installer > Silent Installation
- Oracle Database Products > Oracle Database Suite > Oracle Database > Oracle Database - Enterprise Edition > Dataserver Installation and Relinking issue > Silent installation issues
- Oracle Database Products > Oracle Database Suite > Oracle Database > Oracle Database - Standard Edition > Standard Edition Installation and Relinking Issues > Silent installation issues
|
|
|
|
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1291477/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle Linux 7.1 silent install 19cOracleLinux
- Oracle 11g RAC Silent Install For NFSOracleNFS
- Oracle Linux 7.1 silent install 19C RACOracleLinux
- 翻譯 | Learning React Without Using React Part 2React
- 翻譯 | Learning React Without Using React Part 1React
- Install VMware Tools in CentOS 7 command line modeCentOS
- Oracle:db file scattered readOracle
- python libclntsh.so.12.1: cannot open shared object filePythonObject
- 等待事件db file sequential read、db file scattered read和direct read的區別事件
- MySQL提示:The server quit without updating PID file(…)失敗MySqlServerUI
- Sanic response file() 函式用法和示例函式
- db file scattered read等待事件事件
- db file sequential read等待事件事件
- The Db2 Recovery History FileDB2
- 【等待事件】db file sequential read事件
- 【等待事件】db file scattered read事件
- [20181214]open file using O_DIRECT.txt
- 02. 【Node.js Module】Install Pakages Using NPMNode.jsNPM
- MySQL啟動報錯:The server quit without updating PID fileMySqlServerUI
- oracle 19c dataguard silent install (oracle 19c dataguard 靜默安裝)Oracle
- Setup SSL using .PFX file on nginx/apache2NginxApache
- Connect SQL Server from Linux Client using Windows Authentication and troubleshoot stepsSQLServerLinuxclientWindows
- Sanic response file_stream() 函式用法和示例函式
- 0316理解db file parallel read等待事件Parallel事件
- 解決 "last line of file ends without a newline" 警告的方法:使用 .editorconfigAST
- 在feign介面中返回泛型類(Generic response support for feign client)泛型client
- 0322理解db file parallel read等待事件2Parallel事件
- 求助:移動端登入測試,報錯 RemoteDisconnected Remote end closed connection without response。REM
- 解決 ALL MIRROR URLS ARE NOT USING FTP, HTTP[S] OR FILE 問題FTPHTTP
- MySQL The server quit without updating PID file xx/var/DESKTOP-BHVUG0D.pidMySqlServerUI
- 不起介面,用response file的方式升級資料庫資料庫
- [重慶思莊每日技術分享]-dg環境測試 db_create_file_dest和db_file_name_convert引數
- Oracle RAC 重置db_recovery_file_dest_size引數Oracle
- [20210315]理解db file parallel read等待事件3.txtParallel事件
- [20210315]理解db file parallel read等待事件4.txtParallel事件
- 11.2
- 【故障解決】ORA-17630: Mismatch in the remote file protocol version client 2REMProtocolclient
- Linux安裝mysql出現ERROR! The server quit without updating PID file問題解決LinuxMySqlErrorServerUI
- 4.WebStorm 建立vue專案,can not install ‘ij-rpc-client’/npm ERR!WebORMVueRPCclientNPM