Oracle 11g 静默安装-db_install.rsp详解
前提安装正常的配置流程,配置完服务器后,将db_install.rsp、netca.rsp,dbca.rsp复制到/app/一份,然后参考后面静默配置文件修改好后安装
静默安装命令:
./runInstaller silent responseFile /app/db_install.rsp -showProgress noconfig ignoreSysPrereqs
静默配置网络监听命令
./netca silent responseFile /app/netca.rsp
静默创建数据库命令
./dbca silent responseFile /app/dbca.rsp
vi /etc/selinux/config
# 设置SELINUX为disabled
SELINUX=disabled
[root@oracle ~]# service iptables stop
>>>>>>>>>>>>>###
## Copyright(c) Oracle Corporation1998,2008. All rights reserved. ##
## Specify values for the variables listedbelow to customize your installation. ##
## Each variable is associated with acomment. The comment ##
## can help to populate the variables withthe appropriate values. ##
## IMPORTANT NOTE: This file contains plaintext passwords and ##
## should be secured to have readpermission only by oracle user ##
## or db administrator who owns thisinstallation. ##
##对整个文件的说明,该文件包含参数说明,静默文件中密码信息的保密 ##
>>>>>>>>>>>>>###
#------------------------------------------------------------------------------
# Do not change the following system generatedvalue. 标注响应文件版本,这个版本必须和要#安装的数据库版本相同,安装检验无法通过,不能更改
#------------------------------------------------------------------------------
sponseFileVersion=/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
#选择安装类型:1.只装数据库软件 2.安装数据库软件并建库 3.升级数据库
#-------------------------------------------------------------------------------
oracle.install.option=INSTALL_DB_SWONLY
#-------------------------------------------------------------------------------
# Specify the hostname of the system as setduring the install. It can be used
# to force the installation to use analternative hostname rather than using the
# first hostname found on the system.(e.g., for systems with multiple hostnames
# and network interfaces)指定操作系统主机名,通过hostname命令获得
#-------------------------------------------------------------------------------
ORACLE_HOSTNAME=oracle11g 创建数据库dygisapp
#-------------------------------------------------------------------------------
# Specify the Unix group to be set for theinventory directory.
#指定oracle inventory目录的所有者,通常会是oinstall或者dba
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME=oinstall
#-------------------------------------------------------------------------------
# Specify the location which holds theinventory files.
#指定产品清单oracle inventory目录的路径,如果是Win平台下可以省略
#-------------------------------------------------------------------------------
INVENTORY_LOCATION=/app/oracle/oraInventory
#-------------------------------------------------------------------------------
# Specify the languages in which thecomponents 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

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。

发表评论