Oracle 11g 静默安装-db_install.rsp详解

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

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. 标注响应文件版本,这个版本必须和要#安装的数据库版本相同,安装检验无法通过,不能更改#------------------------------------------------------------------------------

oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_re sponse_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=dygisapp

#-------------------------------------------------------------------------------

# Specify the Unix group to be set for theinventory directory.

#指定oracle inventory目录的所有者,通常会是oinstall或者dba

#-------------------------------------------------------------------------------

UNIX_GROUP_NAME=oinstall

相关文档
最新文档