Oracle11.2.0.1在xp上的静默(slient)安装(一)

2015-02-25 21:42:41 · 作者: · 浏览: 118

环境: XP SP3+Oracle 11.2.0.1
安装Oracle软件及数据库

先找到响应文件模版(一般在安装包的..\database\response下),进行编辑.
先复制一份原模版文件:

E:\cry\SOFT\database>copy response/db_install.rsp db_install_cry.rsp
response\dbca.rsp
response\db_install.rsp
response\db_install_cry.rsp
response\netca.rsp
已复制         1 个文件。

编辑响应文件db_install_cry.rsp如下:

**注意Oracle 建议输入的口令应该至少长为 8 个字符, 至少包含 1 个大写字符, 1 个小写字母和1个数 ########################################################## ##########
## Copyright(c) Oracle Corporation 1998,2008. All rights reserved.##
## ##
## Specify values for the variables listed below to customize ##
## your installation. ##
## ##
## Each variable is associated with a comment. The comment ##
## can help to populate the variables with the appropriate ##
## values. ##
## ##
## IMPORTANT NOTE: This file contains plain text passwords and ##
## should be secured to have read permission only by oracle user ##
## or db administrator who owns this installation. ##
## ##
####################################################################

#——————————————————————————
# Do not change the following system generated value.
#—————————————————————————— oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0

#——————————————————————————
# Specify the installation option.
# It can be one of the following:
# 1. INSTALL_DB_SWONLY
# 2. INSTALL_DB_AND_CONFIG
# 3. UPGRADE_DB
#——————————————————————————-
oracle.install.option=INSTALL_DB_AND_CONFIG

#——————————————————————————-
# Specify the hostname of the system as set during the install. It can be used
# to force the installation to use an alternative hostname rather than using the
# first hostname found on the system. (e.g., for systems with multiple hostnames
# and network interfaces)
#——————————————————————————-
ORACLE_HOSTNAME=localhost
#——————————————————————————-
# Specify the Unix group to be set for the inventory directory.
#——————————————————————————-
UNIX_GROUP_NAME=

#——————————————————————————-
# Specify the location which holds the inventory files.
# This is an optional parameter if installing on
# Windows based Operating System.
#——————————————————————————-
INVENTORY_LOCATION=c:\oracle

#——————————————————————————-
# Specify the languages in which the components will be installed.
#
# en : English ja : Japanese
# fr : French ko : Korean
# ar : Arabic es : Latin American Spanish
# bn : Bengali lv : Latvian
# pt_BR: Brazilian Portuguese lt : Lithuanian
# bg : Bulgarian ms : Malay
# fr_CA: Canadian French es_MX: Mexican Spanish
# ca : Catalan no : Norwegian
# hr : Croatian pl : Polish
# cs : Czech pt : Portuguese
# da : Danish ro : Romanian
# nl : Dutch ru : Russian
# ar_EG: Egyptian zh_CN: Simplified Chinese
# en_GB: English (Great Britain) sk : Slovak
# et : Estonian sl : Slovenian
# fi : Finnish es_ES: Spanish
# de : German sv : Swedish
# el : Greek th : Thai
# iw : Hebrew zh_TW: Traditional Chinese
# hu : Hungarian tr : Turkish
# is : Icelandic uk : Ukrainian
# in : Indonesian vi : Vietnamese
# it : Italian
#
# Example : SELECTED_LANGUAGES=en,fr,ja
#——————————————————————————
SELECTED_LANGUAGES=en,zh_CN

#——————————————————————————
# Specify the complete path of the Oracle Home.
#——————————————————————————
ORACLE_HOME=F:\app\Administrator\product\11.2.0\dbhome_1

#——————————————————————————
# Specify the complete path of the Oracle Base.
#——————————————————————————
ORACLE_BASE=F:\app\Administrator

#——————————————————————————
# Specif