ogg静默安装

解压ogg安装包
1
unzip fbo_ggs_Linux_x64_shiphome.zip
创建ogg安装目录
1
mkdir /ogg  该目录需要使用root创建,并授权给oracle用户使用。
配置应答文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
####################################################################
##Copyright(c) Oracle Corporation 2014. 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 should be secured to have read
## permission only by the oracle user or an administrator who
## own this installation to protect any sensitive input values.
####################################################################

#-------------------------------------------------------------------------------
# Do not change the following system generated value.
#-------------------------------------------------------------------------------

oracle.install.responseFileVersion=/oracle/install/rspfmt_ogginstall_response_schema_v12_1_2

####################################################################
##
##
## Oracle GoldenGate installation option and details
##
####################################################################

#-------------------------------------------------------------------------------
# Specify the installation option.
# Specify ORA12c for installing Oracle GoldenGate for Oracle Database 12c and
# ORA11g for installing Oracle GoldenGate for Oracle Database 11g
#-------------------------------------------------------------------------------

INSTALL_OPTION=ORA11g 指定同步数据库版本
#-------------------------------------------------------------------------------
# Specify a location to install Oracle GoldenGate
#-------------------------------------------------------------------------------

SOFTWARE_LOCATION=/oradata/ogg 指定安装目录
#-------------------------------------------------------------------------------
# Specify true to start the manager after installation.
#-------------------------------------------------------------------------------

START_MANAGER=false
#-------------------------------------------------------------------------------
# Specify a free port within the valid range for the manager process.
# Required only if START_MANAGER is true.
#-------------------------------------------------------------------------------
MANAGER_PORT=
#-------------------------------------------------------------------------------
# Specify the location of the Oracle Database.
# Required only if START_MANAGER is true.
#-------------------------------------------------------------------------------

DATABASE_LOCATION=
#######################################################################
##
## Specify details to Create inventory for Oracle installs
## Required only for the first Oracle product install on a system.
##
## ####################################################################

#-------------------------------------------------------------------------------
# Specify the location which holds the install inventory files.
# This is an optional parameter if installing on# Windows based Operating System.
#-------------------------------------------------------------------------------

INVENTORY_LOCATION=/u01/app/oracle/oraInventory 指定inventory目录的位置
#-------------------------------------------------------------------------------
# Unix group to be set for the inventory directory.
# This parameter is not applicable if installing on
# Windows based Operating System.
#-------------------------------------------------------------------------------

UNIX_GROUP_NAME=oinstall
使用应答文件进行OGG软件安装
1
./runInstaller -silent -responseFile /home/oracle/fbo_ggs_Linux_x64_shiphome/Disk1/response/oggcore.rsp
看到如下信息说明安装成功:
1
The installation of Oracle GoldenGate Core was successful.Please check '/u01/app/oracle/oraInventory/logs/silentInstall2017-05-04_03-25-48PM.log' for more details.Successfully Setup Software.