1.

setup.exe -silent -responseFile "C:\app\software\WIN64_11204\RSP\db_install_window.rsp"

-manual copy patch C:\app\software\WIN64_11204\p6880880_112000_MSWIN-x86-64 to $ORACLE_HOME

set ORACLE_HOME=C:\app\oracle\product\11.2.0\dbhome_1  set PATH=%ORACLE_HOME%\perl\bin;%ORACLE_HOME%\OPatch\opatch;%PATH%

cd C:\app\software\WIN64_11204\p23530402_112040_MSWIN-x86-64\23530402 C:\app\oracle\product\11.2.0\dbhome_1\OPatch\opatch apply --prompt 3 y

cd C:\app\software\WIN64_11204\p23515277_112040_MSWIN-x86-64\23515277 C:\app\oracle\product\11.2.0\dbhome_1\OPatch\opatch apply --prompt 3 y

2.How
to install Oracle Database Server/Client software in non-interactive or
silent mode from command line without using a response file?

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.
"Response File" can be created using one of the following methods:

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 "<path>/db_install.rsp"

Edit "<path>/db_install.rsp" and modify the values that suits your environment

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 "<path>\db_install.rsp"

Unix : ./runInstaller -silent -responseFile "<path>/db_install.rsp"

The same silent installation can be done directly from the command prompt without using a response file but it requires a minimum set of variables (from the response file) as arguments to the OUI (i.e "runInstaller or setup.exe").
For example, the following commands can be used to install in Silent mode without a response file:
Database The following command can be used to install Database (Enterprise Edition Software Only) in silent mode:

11.2

Unix:

$ 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=<MyOracleSupport Login>    SECURITY_UPDATES_VIA_MYORACLESUPPORT=true    MYORACLESUPPORT_PASSWORD=<MyOracleSupport Login Password> If direct connection is not possible, then following proxy connection details are required additionally    PROXY_HOST=<proxy_host>    PROXY_PORT=<proxy_port>    PROXY_USER=<proxy_user>    PROXY_PWD=<proxy_passwd>    DECLINE_SECURITY_UPDATES=false

Client The following command 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

Windows

setup.exe  -showProgress -waitforcompletion -silent -noconfig -debug -force -responseFile <path to response file>\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.

Windows

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 :

setup.exe -silent -debug -force -waitforcompletion FROM_LOCATION=<path>client\stage\products.xml oracle.install.client.installType="Administrator" ORACLE_HOME="<client home path>" ORACLE_HOME_NAME="<home name>" ORACLE_BASE="<oracle base path>" DECLINE_SECURITY_UPDATES=true oracle.install.IsBuiltInAccount=false oracle.install.OracleHomeUserName=oracle oracle.install.OracleHomeUserPassword=******

Here is an example of instructions for windows 12.1 Database installation :

 setup.exe -silent -debug -force -waitforcompletion  FROM_LOCATION=<12.1.0.2_Software>\database\stage\products.xml  oracle.install.option=INSTALL_DB_SWONLY    ORACLE_HOME=C:\app\12.1  ORACLE_BASE=C:\app ORACLE_HOME_NAME="12c_Home2"    oracle.install.db.InstallEdition=EE    oracle.install.IsBuiltInAccount=true    SECURITY_UPDATES_VIA_MYORACLESUPPORT=false  DECLINE_SECURITY_UPDATES=true    oracle.installer.autoupdates.option=SKIP_UPDATES

If existing Windows user account is used to install then following parameter needs to be added

oracle.install.IsBuiltInAccount=false oracle.install.OracleHomeUserName=<UserName> oracle.install.OracleHomeUserPassword=<Password>

or

If Windows built-in user account is used, then following parameter needs to be added

oracle.install.IsBuiltInAccount=true
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.        
 
 

3.

windows : ddl 进程active in opatch
Workaround :
-------------------
When a specific dll is mentioned during installation:
On Windows XP use the utility TASKLIST to list the currently opened files.
When using TASKLIST with option /m, it will list all active processes with their opened files. For example:
. tasklist /m > tasks.txt
. notepad tasks.txt
. Search for the specified dll in tasks.txt and identify the process.
. Stop the involved process or service. 停下oracle 进程

3.

http://4445027.blog.51cto.com/4435027/1674226/

https://my.oschina.net/u/204498/blog/520652

http://blog.itpub.net/14710393/viewspace-1518098/

How To Run NETCA Silently and Edit And Call Custom Netca.Rsp file

静默方式安装window oracle的更多相关文章

  1. 静默方式安装10g数据库软件+升级patch+手工建库

    通常我们安装Oracle数据库软件,都是用OUI图形界面来完成的,但有些Unix/Linux系统中并未安装图形系统,也就无法使用图形界面来安装Oracle的产品了,对于这种场景,就只能采用静默方式来安 ...

  2. MariaDB ZIP方式安装(Window系统)

    Maria DB ZIP方式安装 Windows上ZIP包的入门非常简单-此发行版包括预构建的数据库文件,这些文件可以在解压缩ZIP后立即使用. 您可以从命令提示符运行mysqld.exe,如下所示: ...

  3. suse下静默方式安装oracle(无图形界面)

    以 http://www.cnblogs.com/0201zcr/p/4728241.html 为主 以 http://www.cnblogs.com/jyzhao/p/5001782.html 为参 ...

  4. [原创]自定义参数静默方式安装JDK1.8

    摘要:当Java桌面程序开发完成做产品的时候,面对未知的安装环境,通常是编写一些预安装检测脚本/程序,让程序傻瓜化安装以便减少分发出去的产品带来 的未知工作量(安装答疑,操作系统问题引起安装失败等), ...

  5. Oracle 11g R2创建数据库之DBCA静默方式

    通常创建Oracle数据库都是通过DBCA(Database Configuration Assistant)工具完成的,DBCA工具可以通过两种方式完成建库任务,即图形界面方式和静默命令行方式.既然 ...

  6. CentOS6.5x64采用静默模式安装64位oracle11g

    1.下载oracle11g64位版本的源文件,并上传到Linux服务器,下载地址自行百度,若实在找不到请留言. 2.Package安装检查安装: 通过yum工具直接安装: yum -y install ...

  7. 02-01官网静默模式安装WebLogic

    参考连接:https://docs.oracle.com/middleware/11119/wls/WLSIG/silent.htm#CIHCAHGC 以静默模式运行安装程序 本章介绍如何以静默方式运 ...

  8. DBCA静默方式建库

    使用DBCA的图形方式建库实在有诸多不便,但是使用静默方式建库就比较方便了,一个命令即可搞定. 使用dbca安装oracle数据库实例也有差不多两种方法:一种就是根据模板文件进行安装,在上文中提到了在 ...

  9. ubuntu 14.04 apt-get 方式安装oracle JDK

    之前已经写了 如何手动安装oracle 的JDK :http://www.cnblogs.com/bcsflilong/p/4196536.html 其实 还有可以简单方便的用apt-get 的方式安 ...

随机推荐

  1. PAT 团体程序设计天梯赛-练习集 L1-002. 打印沙漏

    本题要求你写个程序把给定的符号打印成沙漏的形状.例如给定17个“*”,要求按下列格式打印 ***** *** * *** ***** 所谓“沙漏形状”,是指每行输出奇数个符号:各行符号中心对齐:相邻两 ...

  2. mac 电脑配置cordova

    最近发现这个cordova有很多公司在用.所以想试试搭建一个ios平台上的cordova demo.在搭建之前我先说一些跟cordova相关的一些条件. 目前cordova项目在apache上开源.网 ...

  3. 把嵌入在eclipse中的tomcat日志分离出来

    现象 不知道从哪个版本的tomcat开始,windows版本的tomcat不再包含{tomcat_home}\logs\catalina.out这个文件,eclipse中配置好tomcat服务器之后, ...

  4. 核心梳理——消息处理的骨架流程——ESFramework 4.0 进阶(02)

    在ESFramework 4.0 概述一文中,我们提到ESFramework.dll作为通信框架的核心,定义了消息处理的骨架流程,本文我们来详细剖析这个流程以及该骨架中所涉及的各个组件.ESFrame ...

  5. digitalocean vpn安装配置教程

    digitalocean是美国一家专业的vps提供商,优势是性价比高,最低配置512MB内存vps每月只要5美元,导致大陆用户疯狂涌入.关于digitalocean申请方法.digitalocean速 ...

  6. 【Python爬虫实战--2】时间戳转换为指定格式日期

    摘自:http://www.2cto.com/kf/201406/311477.html (1)方法: 方法一: 利用localtime()转换为时间数组,然后格式化为需要的格式,如 timeStam ...

  7. DIV层漂浮居中

    <style type="text/css" title="currentStyle" media="screen" mce_bogu ...

  8. great C++ socket library

    NETLINK: http://netlinksockets.sourceforge.net/index.html

  9. NYOJ-71 独木舟上的旅行 (贪心)

    独木舟上的旅行 时间限制:3000 ms  |  内存限制:65535 KB 难度:2   描述 进行一次独木舟的旅行活动,独木舟可以在港口租到,并且之间没有区别.一条独木舟最多只能乘坐两个人,且乘客 ...

  10. javascript 深入浅出 (未完成4-17)

    慕课网javascript总结 课程地址 课程大纲: 一.数据类型 二.表达式和运算符 三.语句 四.对象 五.数组 六.函数 七.this 八.闭包和作用域 九.OOP 十.正则与模式匹配 ---- ...