这是对参数文件模板说明的第二部分: http://aland01.itpub.net/post/42910/519651
.
11g下使用参数文件 静默安装的过程。
[@more@]以上Response File模板中的内容,并不是每一个参数都需要设置的,我们通常只会写下必要的参数。如这次的实验是在Windows平台上,Response File内容如下:
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
oracle.install.option=INSTALL_DB_SWONLY
ORACLE_HOSTNAME=dell
SELECTED_LANGUAGES=en
ORACLE_HOME=d:oracleproduct11.2.0dbhome_1
ORACLE_BASE=d:oracle
oracle.install.db.InstallEdition=EE
oracle.install.db.isCustomInstall=false
oracle.install.db.customComponents=oracle.server:11.2.0.1.0,oracle.sysman.ccr:10.2.7.0.0,oracle.xdk:11.2.0.1.0,oracle.rdbms.oci:11.2.0.1.0,oracle.network:11.2.0.1.0,oracle.network.listener:11.2.0.1.0,oracle.rdbms:11.2.0.1.0,oracle.options:11.2.0.1.0,oracle.rdbms.partitioning:11.2.0.1.0,oracle.oraolap:11.2.0.1.0,oracle.rdbms.dm:11.2.0.1.0,oracle.rdbms.dv:11.2.0.1.0,orcle.rdbms.lbac:11.2.0.1.0,oracle.rdbms.rat:11.2.0.1.0
oracle.install.db.config.starterdb.type=GENERAL_PURPOSE
oracle.install.db.config.starterdb.globalDBName=orcl1
oracle.install.db.config.starterdb.SID=orcl1
oracle.install.db.config.starterdb.characterSet=ZHS16GBK
oracle.install.db.config.starterdb.memoryOption=true
oracle.install.db.config.starterdb.memoryLimit=512
oracle.install.db.config.starterdb.installExampleSchemas=false
oracle.install.db.config.starterdb.enableSecuritySettings=true
oracle.install.db.config.starterdb.password.ALL=oracle
oracle.install.db.config.starterdb.control=DB_CONTROL
oracle.install.db.config.starterdb.dbcontrol.enableEmailNotification=false
oracle.install.db.config.starterdb.automatedBackup.enable=false
DECLINE_SECURITY_UPDATES=true
Normal07.8 磅02falsefalsefalseMicrosoftInternetExplorer4Normal07.8 磅02falsefalsefalseMicrosoftInternetExplorer4
将编辑好的文件保存在txt文 件中,这时就可以进行静默安装了,打开命令行窗口,进入到安装文件放置的目录下,输入以下命令:
setup.ext -ignoreSysPrereqs -forece -silent -responseFile d:databaseinstall_0412.rsp
这里需要注意的是,responseFile必须指定绝对路径,如果使用了相对路径会出现以下提示信息:相应文件不存在或不可访问,报错如下:
The given response file string is not found.
Cause
The given response file is either not accessible or do not exist.
Action
Give a correct response file location. (Note: relative path is not supported)
Normal07.8 磅02falsefalsefalseMicrosoftInternetExplorer4
另外,非常值得注意的是,在11.2的静默安装中疑似有一个BUG, Response File中必须指定DECLINE_SECURITY_UPDATES=true,否则会提示以下错误,不管是否正确填写了邮件地址。
[SEVERE] - 未指定电子邮件地址
[SEVERE] - email address not specified
如果一切正常,Oracle软件会开始安装,最后提示:Successfully Setup Software,还是很简单的吧。
Oracle 11g 静默安装(一)-- 参数文件说明:http://aland01.itpub.net/post/42910/516477
Oracle 11g 静默安装(二)-- 参数文件说明:http://aland01.itpub.net/post/42910/519651
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25453457/viewspace-1051510/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/25453457/viewspace-1051510/