静默方式安装window oracle
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:
Windows:
"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:
Windows:
12.1
Unix
Silent installation with response file
Windows
1. For the already available Silent Response File, please go to
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.
Silent installation without response file
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
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 :
Here is an example of instructions for windows 12.1 Database installation :
If existing Windows user account is used to install then following parameter needs to be added
or
If Windows built-in user account is used, then following parameter needs to be added
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.
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的更多相关文章
- 静默方式安装10g数据库软件+升级patch+手工建库
通常我们安装Oracle数据库软件,都是用OUI图形界面来完成的,但有些Unix/Linux系统中并未安装图形系统,也就无法使用图形界面来安装Oracle的产品了,对于这种场景,就只能采用静默方式来安 ...
- MariaDB ZIP方式安装(Window系统)
Maria DB ZIP方式安装 Windows上ZIP包的入门非常简单-此发行版包括预构建的数据库文件,这些文件可以在解压缩ZIP后立即使用. 您可以从命令提示符运行mysqld.exe,如下所示: ...
- suse下静默方式安装oracle(无图形界面)
以 http://www.cnblogs.com/0201zcr/p/4728241.html 为主 以 http://www.cnblogs.com/jyzhao/p/5001782.html 为参 ...
- [原创]自定义参数静默方式安装JDK1.8
摘要:当Java桌面程序开发完成做产品的时候,面对未知的安装环境,通常是编写一些预安装检测脚本/程序,让程序傻瓜化安装以便减少分发出去的产品带来 的未知工作量(安装答疑,操作系统问题引起安装失败等), ...
- Oracle 11g R2创建数据库之DBCA静默方式
通常创建Oracle数据库都是通过DBCA(Database Configuration Assistant)工具完成的,DBCA工具可以通过两种方式完成建库任务,即图形界面方式和静默命令行方式.既然 ...
- CentOS6.5x64采用静默模式安装64位oracle11g
1.下载oracle11g64位版本的源文件,并上传到Linux服务器,下载地址自行百度,若实在找不到请留言. 2.Package安装检查安装: 通过yum工具直接安装: yum -y install ...
- 02-01官网静默模式安装WebLogic
参考连接:https://docs.oracle.com/middleware/11119/wls/WLSIG/silent.htm#CIHCAHGC 以静默模式运行安装程序 本章介绍如何以静默方式运 ...
- DBCA静默方式建库
使用DBCA的图形方式建库实在有诸多不便,但是使用静默方式建库就比较方便了,一个命令即可搞定. 使用dbca安装oracle数据库实例也有差不多两种方法:一种就是根据模板文件进行安装,在上文中提到了在 ...
- ubuntu 14.04 apt-get 方式安装oracle JDK
之前已经写了 如何手动安装oracle 的JDK :http://www.cnblogs.com/bcsflilong/p/4196536.html 其实 还有可以简单方便的用apt-get 的方式安 ...
随机推荐
- js---DOM元素节点
创建新的 HTML 元素如需向 HTML DOM 添加新元素,您必须首先创建该元素(元素节点),然后向一个已存在的元素追加该元素. 实例1: <!DOCTYPE html> <htm ...
- MVC运行机制
一,第一次程序运行时 1,第一次请求的时候 会获取配置文件,然后有个应用启动事件到global.asax.2,在Global.asax文件中,网站第一次运行会创建RouteTable对象,实现URL到 ...
- 图的连通性:有向图强连通分量-Tarjan算法
参考资料:http://blog.csdn.net/lezg_bkbj/article/details/11538359 上面的资料,把强连通讲的很好很清楚,值得学习. 在一个有向图G中,若两顶点间至 ...
- git 恢复丢失的文件-- 不提交入口文件
务必进入当前controller下面,才能恢复 git checkout HEAD TestController.class.php 01备份index.php文件 02使用 小乌龟的git 删除 t ...
- [SOJ] connect components in undirected graph
题目描述: 输入一个简单无向图,求出图中连通块的数目 输入: 输入的第一行包含两个整数n和m,n是图的顶点数,m是边数.1<=n<=1000,0<=m<=10000. 以下m行 ...
- [ An Ac a Day ^_^ ] CodeForces 525B Pasha and String 技巧
题意就是一次次翻转字符串 然后输出最终的字符串 暴力一发O(n*m)果然超时了 因为每次翻转的的都是a-1到对称位置 所以一个位置翻转两次等于没有操作 所以只需要记录一下len/2的位置前的操作次数 ...
- C++ inline和#define宏的区别
(1)什么是内联函数? 内联函数是指那些定义在类体内的成员函数,即该函数的函数体放在类体内. (2)为什么要引入内联函数?当然,引入内联函数的主要目的是:解决程序中函数调用的效率问题.另外,前面我们讲 ...
- vs打开项目,创建虚拟目录,提示权限不足无法写入配置文件
如题,从源代码管理器上获取下来程序后,自己打开始,提示如题,尝试过以管理员启动vs,给目录权限提升,修改csproj项目配置文件(修改userIIS节点)and so on,无意间在用别的文档编辑器编 ...
- ACPI
高级配置与电源接口(Advanced Configuration and Power Interface),简称ACPI.1997年由Intel.Microsoft.Toshiba 所共同制定提供操作 ...
- mvc的IIS 配置问题 runAllManagedModulesForAllRequests 与 HtmlFileHandler
runAllManagedModulesForAllRequests 一般设置为false,当为true时所有的资源将进入mvc处理,无疑会给服务器加大压力. 解决办法是时使用HtmlFileHand ...