Linux 静默安装Oracle p13390677_112040_Linux-x86-64

参考:https://www.cnblogs.com/yingsong/p/6031235.html

1.设置主机名称1./etc/sysconfig/network NETWORKING=yes HOSTNAME=frontdb 2.vi /etc/hosts 192.168.128.131 frontdb
2.修改内核参数
vi/etc/sysctl.conf
net.ipv4.ip_local_port_range= 9000 65500
fs.file-max = 6815744
kernel.shmall = 10523004
kernel.shmmax = 6465333657
kernel.shmmni = 4096
kernel.sem = 250 32000 100128
net.core.rmem_default=262144
net.core.wmem_default=262144
net.core.rmem_max=4194304
net.core.wmem_max=1048576
fs.aio-max-nr = 1048576
sysctl -p #使配置生效
3.修改用户的限制文件/etc/security/limits.conf
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft stack 10240
cat /proc/version 查看版本
修改/etc/pam.d/login
session required /lib64/security/pam_limits.so //64为系统,千万别写成/lib/security/pam_limits.so,否则导致无法登录
session required pam_limits.so
4.创建用户及组
//创建用户及组
#groupadd oinstall
#groupadd dba
#useradd -g oinstall -G dba -d /home/u11 oracle
#passwd oracle
//创建安装目录
mkdir -p /datalv/app/oracle/product/11.2.0/dbhome_1
//数据文件存放目录
mkdir -p /datalv/app/oracle/oradata
//数据恢复目录
mkdir -p /datalv/app/oracle/recovery_area
//数据库创建及使用过程中的日志目录
mkdir -p /datalv/app/oracle/oraInventory
//修改安装目录权限
chown -R oracle:oinstall /datalv/app/oracle
chmod 775 /datalv/app/oracle
su - oracle
vi .bash_profile
export ORACLE_BASE=/datalv/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export PATH=$PATH:$ORACLE_HOME/bin
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib64:/usr/lib64:/usr/local/lib64:/usr/lib
export ORACLE_SID=orcl
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
5.安装依赖包
yum -y install gcc gcc-c++ make binutilscompat-libstdc++-33 elfutils-libelf elfutils-libelf-develglibc glibc-commonglibc-devel libaio libaio-devel libgcclibstdc++libstdc++-devel unixODBC unixODBC-devel ksh

# yum -y installbinutils compat-libstdc++-33 compat-libstdc++-33.i686
elfutils-libelfelfutils-libelf-devel gcc gcc-c++ glibc glibc.i686 glibc-common
glibc-devel glibc-devel.i686glibc-headers ksh libaio libaio.i686 libaio-devel
libaio-devel.i686 libgcclibgcc.i686 libstdc++ libstdc++.i686 libstdc++-devel make
sysstat unixODBC unixODBC-devel

rpm -ivh mpfr-3.1.1-4.el7.x86_64.rpm
rpm -ivh libmpc-1.0.1-3.el7.x86_64.rpm
rpm -ivh cpp-4.8.2-16.el7.x86_64.rpm
rpm -ivh kernel-headers-3.10.0-123.el7.x86_64.rpm
rpm -ivh glibc-headers-2.17-55.el7.x86_64.rpm
rpm -ivh glibc-devel-2.17-55.el7.x86_64.rpm
rpm -ivh gcc-4.8.2-16.el7.x86_64.rpm
rpm -ivh libaio-0.3.109-12.el7.x86_64.rpm
rpm -ivh glibc-2.17-55.el7.x86_64.rpm
rpm -ivh compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm
rpm -ivh elfutils-libelf-devel-0.158-3.el7.x86_64.rpm
rpm -ivh libstdc++-4.8.2-16.el7.x86_64.rpm
rpm -ivh libstdc++-devel-4.8.2-16.el7.x86_64.rpm
rpm -ivh gcc-c++-4.8.2-16.el7.x86_64.rpm
6.解压数据库安装包
cd database/response/
db_install.rsp 安装应答配置文件
dbca.rsp 创建数据库应答
netca.rsp 建立监听、本地服务名等网络设置应答
修改配置文件db_install.rsp,并安装
下面把主要修改的地方贴出来,具体详细文件
oracle.install.option=INSTALL_DB_SWONLY
ORACLE_HOSTNAME=DB_m2
UNIX_GROUP_NAME=oinstall
INVENTORY_LOCATION=/datalv/app/oracle/oraInventory
SELECTED_LANGUAGES=en,zh_CN
ORACLE_HOME=/datalv/app/oracle/product/11.2.0/db_1
ORACLE_BASE=/datalv/app/oracle
oracle.install.db.InstallEdition=EE
oracle.install.db.DBA_GROUP=dba
oracle.install.db.OPER_GROUP=oinstall
oracle.install.db.config.starterdb.characterSet=AL32UTF8
oracle.install.db.config.starterdb.storageType=FILE_SYSTEM_STORAGE
oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=/datalv/app/oracle/oradata
oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=/datalv/app/oracle/recovery_data
DECLINE_SECURITY_UPDATES=true //一定要设为true
7.登录oracle用户,执行安装
$./runInstaller-silent -responseFile /home/u11/database/response/db_install.rsp
//安装过程中,如果提示[WARNING]不必理会,此时安装程序仍在进行,如果出现[FATAL],则安装程序已经停止了。
//打开另一个终端,执行命令
#tail -100 f /u01/app/oracle/oraInventory/logs/installActions......log
//可以实时跟踪查看安装日志,了解安装的进度。
//当出现
以下配置脚本需要以 "root" 用户的身份执行。
#!/bin/sh
#要运行的 Root 脚本
/datalv/app/oracle/oraInventory/orainstRoot.sh
/datalv/app/oracle/product/11.2.0/db_1/root.sh
要执行配置脚本, 请执行以下操作:
1. 打开一个终端窗口
2. 以 "root" 身份登录
3. 运行脚本
4. 返回此窗口并按 "Enter" 键继续
Successfully Setup Software.
//出现这个的话,说明已安装成功,则需要按提示操作,操作完返回Enter成功
8.配置监听配置文件response/netca.rsp
netca /silent /responsefile response/netca.rsp
正在对命令行参数进行语法分析:
参数"silent" = true
参数"responsefile" = /home/oracle/response/netca.rsp
完成对命令行参数进行语法分析。
Oracle Net Services 配置:
完成概要文件配置。
Oracle Net 监听程序启动:
正在运行监听程序控制:
/opt/oracle/11.2.0/bin/lsnrctl start LISTENER
监听程序控制完成。
监听程序已成功启动。
监听程序配置完成。
成功完成 Oracle Net Services 配置
//成功运行后,在/opt/oracle/11.2.0/network/admin目录下生成sqlnet.ora和listener.ora两个文件。
//完成后通过命令“netstat -tlnp”可以查看到1521端口已开
tcp 0 0 :::1521 :::* LISTEN 5477/tnslsnr
9.修改配置文件response/dbca.rsp,静默建立新库
RESPONSEFILE_VERSION = "11.2.0" //不能更改
OPERATION_TYPE = "createDatabase"
GDBNAME = "hello.dlxg.gov.cn" //全局数据库的名字=SID+主机域名
SID = "hello" //对应的实例名字
TEMPLATENAME = "General_Purpose.dbc" //建库用的模板文件
DATAFILEDESTINATION = /datalv/oracle/oradata //数据文件存放目录
RECOVERYAREADESTINATION=/datalv/oracle/recovery_data //恢复数据存放目录
CHARACTERSET = "AL32UTF8" //字符集,重要!!! 建库后一般不能更改,所以建库前要确定清楚。(ZHS16GBK)
TOTALMEMORY = "5120" //oracle内存5120MB
10.配置完之后,执行命令
dbca -silent -responseFile /etc/dbca.rsp
1% 已完成
3% 已完成
11% 已完成
18% 已完成
26% 已完成
37% 已完成
正在创建并启动 Oracle 实例
40% 已完成
45% 已完成
50% 已完成
55% 已完成
56% 已完成
60% 已完成
62% 已完成
正在进行数据库创建
66% 已完成
70% 已完成
73% 已完成
85% 已完成
96% 已完成
100% 已完成
有关详细信息, 请参阅日志文件 "/u01/app/oracle/cfgtoollogs/dbca/wang/wang.log"。
查看日志文件
$ cat /u01/app/oracle/cfgtoollogs/dbca/wang/wang.log

db_install.rsp详解 参考:http://blog.csdn.net/jameshadoop/article/details/48086933

------------------------------------------------------------------------------------------------
学习11g静默安装文件配置和解释,大部分的数据是不需要变更的,变更你需要改动的地方,和OUI界面安装结合起来就容易理解了
附录A:db_install.rsp详解
####################################################################

## 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_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=ora11gr2

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

# 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=/u01/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

# 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

#指定数据库语言,可以选择多个,用逗号隔开。选择en, zh_CN(英文和简体中文)

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

SELECTED_LANGUAGES=en,zh_CN

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

# Specify the complete path of the OracleHome.设置ORALCE_HOME的路径

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

ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1

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

# Specify the complete path of the OracleBase. 设置ORALCE_BASE的路径

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

ORACLE_BASE=/u01/app/oracle

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

# Specify the installation edition of thecomponent.

# The value should contain only one ofthese choices.

# EE : EnterpriseEdition

# SE : Standard Edition

# SEONE Standard Edition One

# PE : Personal Edition (WINDOWS ONLY)

#选择Oracle安装数据库软件的版本(企业版,标准版,标准版1),不同的版本功能不同

#详细的版本区别参考附录D

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

oracle.install.db.InstallEdition=EE

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

# This variable is used to enable ordisable custom install.

# true : Components mentioned as part of ‘customComponents‘ property

#are considered for install.

# false : Value for ‘customComponents‘ isnot considered.

#是否自定义Oracle的组件,如果选择false,则会使用默认的组件

#如果选择true否则需要自己在下面一条参数将要安装的组件一一列出。

#安装相应版权后会安装所有的组件,后期如果缺乏某个组件,再次安装会非常的麻烦。

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

oracle.install.db.isCustomInstall=true

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

# This variable is considered only if‘IsCustomInstall‘ is set to true.

# Description: List of Enterprise EditionOptions you would like to install.

# The following choices areavailable. You may specify any

# combination of thesechoices. The components you chooseshould

# be specified in the form"internal-component-name:version"

# Below is a list of components youmay specify to install.

# oracle.rdbms.partitioning:11.2.0.1.0- Oracle Partitioning

# oracle.rdbms.dm:11.2.0.1.0- Oracle Data Mining

# oracle.rdbms.dv:11.2.0.1.0- Oracle Database Vault

# oracle.rdbms.lbac:11.2.0.1.0- Oracle Label Security

# oracle.rdbms.rat:11.2.0.1.0- Oracle Real Application Testing

# oracle.oraolap:11.2.0.1.0- Oracle OLAP

# oracle.install.db.isCustomInstall=true的话必须手工选择需要安装组件的话

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

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

###############################################################################

# PRIVILEGED OPERATING SYSTEM GROUPS

# Provide values for the OS groups to whichOSDBA and OSOPER privileges #

# needs to be granted. If the install isbeing performed as a member of the #

# group "dba", then that will beused unless specified otherwise below. #

#指定拥有OSDBA、OSOPER权限的用户组,通常会是dba组

###############################################################################

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

# The DBA_GROUP is the OS group which is tobe granted OSDBA privileges.

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

oracle.install.db.DBA_GROUP=dba

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

# The OPER_GROUP is the OS group which isto be granted OSOPER privileges.

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

oracle.install.db.OPER_GROUP=oinstall

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

# Specify the cluster node names selectedduring the installation.

#如果是RAC的安装,在这里指定所有的节点

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

oracle.install.db.CLUSTER_NODES=

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

# Specify the type of database to create.

# It can be one of the following:

# - GENERAL_PURPOSE/TRANSACTION_PROCESSING

# - DATA_WAREHOUSE

#选择数据库的用途,一般用途/事物处理,数据仓库

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

oracle.install.db.config.starterdb.type=GENERAL_PURPOSE

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

# Specify the Starter Database GlobalDatabase Name. 指定GlobalName

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

oracle.install.db.config.starterdb.globalDBName=ora11g

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

# Specify the Starter Database SID.指定SID

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

oracle.install.db.config.starterdb.SID=ora11g

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

# Specify the Starter Database characterset.

# It can be one of the following:

# AL32UTF8, WE8ISO8859P15, WE8MSWIN1252,EE8ISO8859P2,

# EE8MSWIN1250, NE8ISO8859P10,NEE8ISO8859P4, BLT8MSWIN1257,

# BLT8ISO8859P13, CL8ISO8859P5,CL8MSWIN1251, AR8ISO8859P6,

# AR8MSWIN1256, EL8ISO8859P7, EL8MSWIN1253,IW8ISO8859P8,

# IW8MSWIN1255, JA16EUC, JA16EUCTILDE,JA16SJIS, JA16SJISTILDE,

# KO16MSWIN949, ZHS16GBK, TH8TISASCII,ZHT32EUC, ZHT16MSWIN950,

# ZHT16HKSCS, WE8ISO8859P9, TR8MSWIN1254,VN8MSWIN1258

#选择字符集。不正确的字符集会给数据显示和存储带来麻烦无数。

#通常中文选择的有ZHS16GBK简体中文库,建议选择unicode的AL32UTF8国际字符集

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

oracle.install.db.config.starterdb.characterSet=AL32UTF8

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

# This variable should be set to true ifAutomatic Memory Management

# in Database is desired.

# If Automatic Memory Management is notdesired, and memory allocation

# is to be done manually, then set it tofalse.

#11g的新特性自动内存管理,也就是SGA_TARGET和PAG_AGGREGATE_TARGET都#不用设置了,Oracle会自动调配两部分大小。

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

oracle.install.db.config.starterdb.memoryOption=true

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

# Specify the total memory allocation forthe database. Value(in MB) should be

# at least 256 MB, and should not exceedthe total physical memory available on the system.

# Example:oracle.install.db.config.starterdb.memoryLimit=512

#指定Oracle自动管理内存的大小,最小是256MB

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

oracle.install.db.config.starterdb.memoryLimit=

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

# This variable controls whether to loadExample Schemas onto the starter

# database or not.是否载入模板示例

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

oracle.install.db.config.starterdb.installExampleSchemas=false

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

# This variable includes enabling auditsettings, configuring password profiles

# and revoking some grants to public. Thesesettings are provided by default.

# These settings may also be disabled. 是否启用安全设置

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

oracle.install.db.config.starterdb.enableSecuritySettings=true

###############################################################################

# Passwords can be supplied for thefollowing four schemas in the #

# starter database: #

# SYS #

# SYSTEM #

# SYSMAN (used by Enterprise Manager) #

# DBSNMP (used by Enterprise Manager) #

# Same password can be used for allaccounts (not recommended) #

# or different passwords for each accountcan be provided (recommended) #

#设置数据库用户密码

###############################################################################

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

# This variable holds the password that isto be used for all schemas in the

# starter database.

#设定所有数据库用户使用同一个密码,其它数据库用户就不用单独设置了。

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

oracle.install.db.config.starterdb.password.ALL=oracle

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

# Specify the SYS password for the starterdatabase.

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

oracle.install.db.config.starterdb.password.SYS=

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

# Specify the SYSTEM password for thestarter database.

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

oracle.install.db.config.starterdb.password.SYSTEM=

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

# Specify the SYSMAN password for thestarter database.

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

oracle.install.db.config.starterdb.password.SYSMAN=

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

# Specify the DBSNMP password for thestarter database.

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

oracle.install.db.config.starterdb.password.DBSNMP=

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

# Specify the management option to beselected for the starter database.

# It can be one of the following:

# 1. GRID_CONTROL

# 2. DB_CONTROL

#数据库本地管理工具DB_CONTROL,远程集中管理工具GRID_CONTROL

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

oracle.install.db.config.starterdb.control=DB_CONTROL

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

# Specify the Management Service to use ifGrid Control is selected to manage

# the database. GRID_CONTROL需要设定grid control的远程路径URL

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

oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL=

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

# This variable indicates whether toreceive email notification for critical

# alerts when using DB control.是否启用Email通知, 启用后会将告警等信息发送到指定邮箱

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

oracle.install.db.config.starterdb.dbcontrol.enableEmailNotification=false

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

# Specify the email address to which thenotifications are to be sent.设置通知EMAIL地址

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

oracle.install.db.config.starterdb.dbcontrol.emailAddress=

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

# Specify the SMTP server used for emailnotifications.设置EMAIL邮件服务器

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

oracle.install.db.config.starterdb.dbcontrol.SMTPServer=

###############################################################################

# SPECIFY BACKUP AND RECOVERY OPTIONS #

# Out-of-box backup and recovery optionsfor the database can be mentioned #

# using the entries below. #

#安全及恢复设置(默认值即可)out-of-box(out-of-box experience)缩写为OOBE

#产品给用产品给用户良好第一印象和使用感受

###############################################################################

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

# This variable is to be set to false ifautomated backup is not required. Else

# this can be set to true.设置自动备份,和OUI里的自动备份一样。

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

oracle.install.db.config.starterdb.automatedBackup.enable=false

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

# Regardless of the type of storage that ischosen for backup and recovery, if

# automated backups are enabled, a job willbe scheduled to run daily at

# 2:00 AM to backup the database. This jobwill run as the operating system

# user that is specified in this variable.自动备份会启动一个job,指定启动JOB的系统用户ID

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

oracle.install.db.config.starterdb.automatedBackup.osuid=

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

# Regardless of the type of storage that ischosen for backup and recovery, if

# automated backups are enabled, a job willbe scheduled to run daily at

# 2:00 AM to backup the database. This jobwill run as the operating system user

# specified by the above entry. Thefollowing entry stores the password for the

# above operating system user.自动备份会开启一个job,需要指定OSUser的密码

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

oracle.install.db.config.starterdb.automatedBackup.ospwd=

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

# Specify the type of storage to use forthe database.

# It can be one of the following:

# - FILE_SYSTEM_STORAGE

# - ASM_STORAGE

#自动备份,要求指定使用的文件系统存放数据库文件还是ASM

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

oracle.install.db.config.starterdb.storageType=

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

# Specify the database file location whichis a directory for datafiles, control

# files, redo logs.

# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM

#使用文件系统存放数据库文件才需要指定数据文件、控制文件、Redo log的存放目录

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

oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=

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

# Specify the backup and recovery location.

# Applicable only whenoracle.install.db.config.starterdb.storage=FILE_SYSTEM

#使用文件系统存放数据库文件才需要指定备份恢复目录

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

oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=

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

# Specify the existing ASM disk groups tobe used for storage.

# Applicable only whenoracle.install.db.config.starterdb.storage=ASM

#使用ASM存放数据库文件才需要指定存放的磁盘组

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

oracle.install.db.config.asm.diskGroup=

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

# Specify the password for ASMSNMP user ofthe ASM instance.

# Applicable only whenoracle.install.db.config.starterdb.storage=ASM_SYSTEM

#使用ASM存放数据库文件才需要指定ASM实例密码

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

oracle.install.db.config.asm.ASMSNMPPassword=

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

# Specify the My Oracle Support AccountUsername.

# Example :MYORACLESUPPORT_USERNAME=metalink

#指定metalink账户用户名

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

MYORACLESUPPORT_USERNAME=

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

# Specify the My Oracle Support AccountUsername password.

# Example : MYORACLESUPPORT_PASSWORD=password

# 指定metalink账户密码

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

MYORACLESUPPORT_PASSWORD=

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

# Specify whether to enable the user to setthe password for

# My Oracle Support credentials. The valuecan be either true or false.

# If left blank it will be assumed to befalse.

# Example : SECURITY_UPDATES_VIA_MYORACLESUPPORT=true

# 用户是否可以设置metalink密码

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

SECURITY_UPDATES_VIA_MYORACLESUPPORT=

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

# Specify whether user wants to give anyproxy details for connection.

# The value can be either true or false. Ifleft blank it will be assumed to be false.

# Example : DECLINE_SECURITY_UPDATES=false

# False表示不需要设置安全更新,注意,在11.2的静默安装中疑似有一个BUG

# Response File中必须指定为true,否则会提示错误,不管是否正确填写了邮件地址

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

DECLINE_SECURITY_UPDATES=true

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

# Specify the Proxy server name. Lengthshould be greater than zero.

#代理服务器名

# Example : PROXY_HOST=proxy.domain.com

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

PROXY_HOST=

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

# Specify the proxy port number. Should beNumeric and atleast 2 chars.

#代理服务器端口

# Example : PROXY_PORT=25

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

PROXY_PORT=

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

# Specify the proxy user name. LeavePROXY_USER and PROXY_PWD

# blank if your proxy server requires noauthentication.

#代理服务器用户名

# Example : PROXY_USER=username

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

PROXY_USER=

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

# Specify the proxy password. LeavePROXY_USER and PROXY_PWD

# blank if your proxy server requires noauthentication.

#代理服务器密码

# Example : PROXY_PWD=password

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

PROXY_PWD=

原文地址:https://www.cnblogs.com/zhguo/p/8534628.html

时间: 2024-10-11 11:54:24

Linux 静默安装Oracle p13390677_112040_Linux-x86-64的相关文章

Linux静默安装Oracle

打算在云服务器上装oracle服务,以前DBA美眉都是在图形化界面下安装,这次抓瞎了.赶紧上网查查,静默安装可以解决问题.于是乎赶紧开始部署,过程如下.安装环境:操作系统:CentOS 7内存:11G(11851M)硬盘:128Goracle版本 11g 1.准备oracle 安装包 linux.x64_11gR2_database_1of2.zip 和 linux.x64_11gR2_database_2of2.zip 2.检查本机依赖包,没找到的用 yum install ****** 命令

Linux静默安装oracle 11g

之前在oracle安装过程中碰到了很多问题,浪费了不少问题,后来有哥同事给了以下安装文档,解决了很多多问题,也提到了很多在安装过程中碰到的问题! 所以记录一下 本文档是Oracle Database 11.2.0.1 for RHEL5 Server(包括x86和x86_64平台)的静默安装指南. 所有操作无需使用图形界面. 静默安装能减少安装出错的可能性, 也能大大加快安装速度. # 后跟命令表示以操作系统下root用户操作; $ 后跟命令表示以操作系统下oracle用户操作; 1.1 上传软

Linux静默安装Oracle 11g教程

准备工作 在电脑中下载 linux.x64_11gR2_database_1of2.zip 和 linux.x64_11gR2_database_2of2.ziphttp://download.oracle.com/otn/linux/oracle11g/R2/linux.x64_11gR2_database_1of2.ziphttp://download.oracle.com/otn/linux/oracle11g/R2/linux.x64_11gR2_database_2of2.zip复制链

记一次linux静默安装oracle加手工建库

静默安装参考:http://www.cnblogs.com/colmeluna/p/5686142.html 实际安装中: 1.跳过了第二步设定交换区空间 2.安装完成后没有提示执行orainstRoot.sh,只有root.sh 建库参考:http://www.cnblogs.com/jyzhao/p/4635826.html 实际建库中: 1.只执行了第二步,手工建库部分 2.修改文件存放路径 /opt/app/oracle/oradata/crnophq -> /usr/local/ora

Linux 静默安装 oracle

1.准备安装包linux.x64_11gR2_database_1of2.ziplinux.x64_11gR2_database_2of2.ziprlwrap-0.30.tar.gz 2.安装依赖关系先建立本地yum源(略)1)检查依赖包是否完全//查看已经安装的包rpm -qa binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel expat gcc gcc-c++ glibc glibc-common glibc

RedHat 6 静默安装Oracle 11gR2

之前看了网上很多篇Linux静默安装Oracle的文章,但安装测试时老觉得有问题,后来直接找来Oracle官方英文文档并仔细阅读研究rsp文件的内容说明,经过自己在虚拟机中的安装测试,使用RedHat 6.5(内核版本:2.6.32-431.el6.x86_64)上静默安装Oracle 11gR2(版本:11.2.0.3),整理出了本文,主要包括了环境要求与准备.静默安装Oracle软件与监听.静默安装Oracle数据库.安装完成后检查.设置Oracle开机自动启动等部分. 一. 环境要求与准备

linux 之静默安装oracle

Web服务器上面的Linux一般是不会有图形界面的,所有通过图形界面来安装Linux的方式在没有图形界面的Linux上面是行不通的,我们要使用的安装方式叫做Linux的静默安装.即在没有图形界面的Linux上面安装. 1. 下载地址 http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html 下载.tar.gz文件即可,oracle在Window上面是有分位数的,但在linux上面没有分,只

linux下静默安装oracle

linux下静默安装oracle centos7.7 oracle11gR2 安装前的准备 1禁用ipv6 新加 [[email protected] ~]# vim /etc/sysconfig/network NETWORKING_IPV6=no 修改/etc/hosts,把ipv6那句本地主机名解析的注释掉 [[email protected] ~]# vim /etc/hosts # ::1 localhost localhost.localdomain localhost6 local

CentOS静默安装Oracle 11gR2(x64)

环境 OS: CentOS 7.4; hosts: L134; IP: 192.168.1.134 DB: linux.x64_11gR2_database 安装依赖包 yum install -y binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc-common glibc-devel libaio libaio-devel libgcc libstdc++ lib