goldengate静默安装for linux

前言

     之前写过一遍goldnegate安装的文档,在那里面是比较普遍的图形界面安装,比较容易,但是有时候我们因为网络环境等原因,没办法通过图形界面进行安装,这时候我们可以使用静默安装,oracle公司对其产品基本上都支持图形界面安装和静默安装方式,包括(oracle database\oracle weblogic\oracle goldengate)

名称 版本
操作系统 redhat 6.7
goldengate 12.2.0.2

正文

01下载安装包

    提前准备好安装包,我这边已经从官网下载好了V861007-01.zip,版本是

02上传服务器并解压

    将安装外上传到服务器/ogg目录,并解压

在这里插入代码片
[root@localhost ~]# cd /ogg
[root@localhost ogg]# ls -l
total 597532
drwx------. 2 root root     16384 Nov 19 17:42 lost+found
-rw-r--r--  1 root root 611849233 Nov 18 11:35 V861007-01.zip
[root@localhost ogg]# unzip V861007-01.zip 
Archive:  V861007-01.zip
   creating: fbo_ggs_Linux_x64_shiphome/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/install/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/.oui  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/attachHome.sh  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/clusterparam.ini  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/detachHome.sh  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/install/images/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/images/billboards.gif  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/oraparam.ini  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/oraparam.ini.deinstall  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/cons.nls  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/cons_de.nls  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/cons_es.nls  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/cons_fr.nls  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/cons_it.nls  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/cons_ja.nls  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/cons_ko.nls  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/cons_pt_BR.nls  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/cons_zh_CN.nls  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/resource/cons_zh_TW.nls  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/runInstaller.sh  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/install/unzip  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/response/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/response/oggcore.rsp  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/runInstaller  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/clusterActions/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/clusterActions/10.1.0.2.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/clusterActions/10.1.0.2.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/clusterActions/10.1.0.2.0/1/clusterActionLib.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/dbActions/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/dbActions/10.1.0.2.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/dbActions/10.1.0.2.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/dbActions/10.1.0.2.0/1/dbActions.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/fileActions/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/fileActions/11.2.0.2.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/fileActions/11.2.0.2.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/fileActions/11.2.0.2.0/1/fileActionLib.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/generalActions/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/generalActions/10.2.0.9.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/generalActions/10.2.0.9.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/generalActions/10.2.0.9.0/1/generalActions.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/jarActions/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/jarActions/10.2.0.0.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/jarActions/10.2.0.0.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/jarActions/10.2.0.0.0/1/jarActionLib.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/launchPadActions/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/launchPadActions/10.1.0.2.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/launchPadActions/10.1.0.2.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/launchPadActions/10.1.0.2.0/1/launchpadaction.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/ntServicesActions/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/ntServicesActions/10.2.0.6.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/ntServicesActions/10.2.0.6.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/ntServicesActions/10.2.0.6.0/1/ntServicesActions.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/ntw32FoldersActions/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/ntw32FoldersActions/10.2.0.3.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/ntw32FoldersActions/10.2.0.3.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/ntw32FoldersActions/10.2.0.3.0/1/WindowsFolders.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/oradim/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/oradim/10.1.0.3.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/oradim/10.1.0.3.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/oradim/10.1.0.3.0/1/oradim.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/rgsActions/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/rgsActions/10.1.0.3.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/rgsActions/10.1.0.3.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/rgsActions/10.1.0.3.0/1/rgsActions.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/SpawnActions/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/SpawnActions/10.1.0.3.4/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/SpawnActions/10.1.0.3.4/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/SpawnActions/10.1.0.3.4/1/spawnActions.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/unixActions/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/unixActions/10.2.0.3.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/unixActions/10.2.0.3.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/unixActions/10.2.0.3.0/1/unixActions.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/w32OcxRegActions/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/w32OcxRegActions/10.2.0.1.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/w32OcxRegActions/10.2.0.1.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/w32OcxRegActions/10.2.0.1.0/1/w32OcxLib.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/w32RegActions/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/w32RegActions/10.2.0.1.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/w32RegActions/10.2.0.1.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/w32RegActions/10.2.0.1.0/1/w32RegActionLib.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/wingeneralActions/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/wingeneralActions/10.2.0.1.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/wingeneralActions/10.2.0.1.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Actions/wingeneralActions/10.2.0.1.0/1/wingeneralActionLib.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/ComponentList/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/ComponentList/oracle.oggcore.top_ora11g.xml  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/ComponentList/oracle.oggcore.top_ora12c.xml  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.jdk/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.jdk/1.8.0.91.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.jdk/1.8.0.91.0/1/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.jdk/1.8.0.91.0/1/DataFiles/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.jdk/1.8.0.91.0/1/DataFiles/filegroup1.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.jdk/1.8.0.91.0/1/DataFiles/filegroup2.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.jdk/1.8.0.91.0/1/DataFiles/filegroup3.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.jdk/1.8.0.91.0/1/DataFiles/filegroup4.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.jdk/1.8.0.91.0/1/DataFiles/filegroup5.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.jdk/1.8.0.91.0/1/DataFiles/filegroup6.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.oggcore.ora11g/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.oggcore.ora11g/12.2.0.2.2/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.oggcore.ora11g/12.2.0.2.2/1/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.oggcore.ora11g/12.2.0.2.2/1/DataFiles/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.oggcore.ora11g/12.2.0.2.2/1/DataFiles/filegroup1.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.oggcore.ora12c/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.oggcore.ora12c/12.2.0.2.2/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.oggcore.ora12c/12.2.0.2.2/1/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.oggcore.ora12c/12.2.0.2.2/1/DataFiles/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.oggcore.ora12c/12.2.0.2.2/1/DataFiles/filegroup1.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.oggcore.top/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.oggcore.top/12.2.0.2.2/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.oggcore.top/12.2.0.2.2/1/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.oggcore.top/12.2.0.2.2/1/DataFiles/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.oggcore.top/12.2.0.2.2/1/DataFiles/filegroup1.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.oggcore.top/12.2.0.2.2/1/DataFiles/filegroup2.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.opatch/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.opatch/12.1.0.1.2/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.opatch/12.1.0.1.2/1/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.opatch/12.1.0.1.2/1/DataFiles/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.opatch/12.1.0.1.2/1/DataFiles/filegroup1.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.opatch/12.1.0.1.2/1/DataFiles/filegroup10.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.opatch/12.1.0.1.2/1/DataFiles/filegroup11.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.opatch/12.1.0.1.2/1/DataFiles/filegroup2.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.opatch/12.1.0.1.2/1/DataFiles/filegroup3.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.opatch/12.1.0.1.2/1/DataFiles/filegroup4.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.opatch/12.1.0.1.2/1/DataFiles/filegroup5.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.opatch/12.1.0.1.2/1/DataFiles/filegroup6.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.opatch/12.1.0.1.2/1/DataFiles/filegroup7.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.opatch/12.1.0.1.2/1/DataFiles/filegroup8.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.opatch/12.1.0.1.2/1/DataFiles/filegroup9.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui.core/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui.core.min/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui.core.min/12.1.0.2.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui.core.min/12.1.0.2.0/1/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui.core.min/12.1.0.2.0/1/DataFiles/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui.core.min/12.1.0.2.0/1/DataFiles/filegroup1.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui.core.min/12.1.0.2.0/1/DataFiles/filegroup2.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui.core/12.1.0.2.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui.core/12.1.0.2.0/1/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui.core/12.1.0.2.0/1/DataFiles/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui.core/12.1.0.2.0/1/DataFiles/filegroup1.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui.core/12.1.0.2.0/1/DataFiles/filegroup2.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui.core/12.1.0.2.0/1/DataFiles/filegroup3.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui.core/12.1.0.2.0/1/DataFiles/filegroup4.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui.core/12.1.0.2.0/1/DataFiles/filegroup5.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui/12.1.0.2.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui/12.1.0.2.0/1/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/Expanded/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/Expanded/oui/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/Expanded/oui/instImages/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/Expanded/oui/instImages/10gOneClickbusybar.gif  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/Expanded/oui/instImages/bg.jpg  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/Expanded/oui/instImages/images.properties  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/Expanded/oui/instImages/oneclickbg.gif  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/Expanded/oui/instImages/splashScr.gif  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/filegroup1.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/filegroup2.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/filegroup4.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/filegroup5.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/filegroup6.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/filegroup7.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/config.xml  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Dialogs/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Dialogs/standardDialogs/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Dialogs/standardDialogs/10.2.0.1.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Dialogs/standardDialogs/10.2.0.1.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Dialogs/standardDialogs/10.2.0.1.0/1/standardDialogs.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/ext/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/ext/jlib/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/ext/jlib/cvu.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/ext/jlib/installcommons_1.0.0b.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/ext/jlib/instcommon.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/ext/jlib/instogg.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/fastcopy/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/fastcopy.xml  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/fastcopy/oracle.oggcore.top_ora11g_1.xml  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/fastcopy/oracle.oggcore.top_ora11g_dirs.lst  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/fastcopy/oracle.oggcore.top_ora11g_exp_1.xml  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/fastcopy/oracle.oggcore.top_ora11g_filemap.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/fastcopy/oracle.oggcore.top_ora12c_1.xml  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/fastcopy/oracle.oggcore.top_ora12c_dirs.lst  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/fastcopy/oracle.oggcore.top_ora12c_exp_1.xml  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/fastcopy/oracle.oggcore.top_ora12c_filemap.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/fastcopy/racfiles.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/fastcopy/setperms1.sh  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/globalvariables/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/install1.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/invDetails.properties  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/libs.xml  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/oracle.oggcore.top.12_2_0_2_2.xml  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/OuiConfigVariables.xml  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/productlanguages.properties  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/products.xml  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/areasQueries/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/areasQueries/10.2.0.1.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/areasQueries/10.2.0.1.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/areasQueries/10.2.0.1.0/1/areasQueries.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/ccrQueries/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/ccrQueries/10.3.0.1.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/ccrQueries/10.3.0.1.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/ccrQueries/10.3.0.1.0/1/ccrQueries.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/clusterQueriesEx/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/clusterQueriesEx/10.2.0.1.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/clusterQueriesEx/10.2.0.1.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/clusterQueriesEx/10.2.0.1.0/1/clusterQuery.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/dbQueries/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/dbQueries/10.1.0.2.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/dbQueries/10.1.0.2.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/dbQueries/10.1.0.2.0/1/dbQueries.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/fileQueries/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/fileQueries/10.1.0.3.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/fileQueries/10.1.0.3.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/fileQueries/10.1.0.3.0/1/fileQueries.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/generalQueries/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/generalQueries/10.2.0.2.1/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/generalQueries/10.2.0.2.1/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/generalQueries/10.2.0.2.1/1/generalQueries.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/globalVarQueries/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/globalVarQueries/2.1.0.4.1/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/globalVarQueries/2.1.0.4.1/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/globalVarQueries/2.1.0.4.1/1/globalVarQueries.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/netQueries/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/netQueries/10.2.0.2.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/netQueries/10.2.0.2.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/netQueries/10.2.0.2.0/1/netQueries.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/NtServicesQueries/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/NtServicesQueries/10.2.0.3.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/NtServicesQueries/10.2.0.3.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/NtServicesQueries/10.2.0.3.0/1/NtServiceQueries.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/RepositoryQueries/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/RepositoryQueries/3.0.0.2.2/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/RepositoryQueries/3.0.0.2.2/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/RepositoryQueries/3.0.0.2.2/1/Queries.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/rgsQueries/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/rgsQueries/10.1.0.3.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/rgsQueries/10.1.0.3.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/rgsQueries/10.1.0.3.0/1/rgsQueries.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/textFileQueries/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/textFileQueries/2.1.0.4.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/textFileQueries/2.1.0.4.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/textFileQueries/2.1.0.4.0/1/textFileQueries.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/unixQueries/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/unixQueries/10.1.0.2.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/unixQueries/10.1.0.2.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/unixQueries/10.1.0.2.0/1/unixQueries.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/w32RegQueries/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/w32RegQueries/10.2.0.1.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/w32RegQueries/10.2.0.1.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/w32RegQueries/10.2.0.1.0/1/w32RegQueryLib.jar  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/WindowsGeneralQueries/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/WindowsGeneralQueries/10.2.0.1.0/
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/WindowsGeneralQueries/10.2.0.1.0/1/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/Queries/WindowsGeneralQueries/10.2.0.1.0/1/WindowsGeneralQueries.jar  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/shiphomeproperties.xml  
   creating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/sizes/
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/sizes/oracle.oggcore.top.12.2.0.2.2.sizes.properties  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/sizes/oracle.oggcore.top12.2.0.2.2ora11g.sizes.properties  
  inflating: fbo_ggs_Linux_x64_shiphome/Disk1/stage/sizes/oracle.oggcore.top12.2.0.2.2ora12c.sizes.properties  
  inflating: OGG-12.2.0.2-README.txt  
  inflating: OGGCORE_12.2.0.2.2.pdf  
[root@localhost ogg]#

03修改goldengate安装的配置文件

    进入到解压后的安装目录,修改oggcore.rsp文件。修改内容如下:
INSTALL_OPTION=ORA12C        #指定数据库版本,本次数据库版本为12.1.0.2,所以我们写的是ORA12C
SOFTWARE_LOCATION=/ogg        #指定goldengate安装路径,本次安装在/ogg目录
START_MANAGER=false         #设置安装过程中不配置mgr进程

[root@localhost ogg]# cd fbo_ggs_Linux_x64_shiphome/Disk1/response/
[root@localhost response]# ls
oggcore.rsp
[root@localhost response]# cp oggcore.rsp oggcore.rsp.bak
[root@localhost response]# vi oggcore.rsp

在这里插入代码片
####################################################################
## Copyright(c) Oracle Corporation 2017. 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=ORA12C

#-------------------------------------------------------------------------------
# Specify a location to install Oracle GoldenGate
#-------------------------------------------------------------------------------
SOFTWARE_LOCATION=/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=

#-------------------------------------------------------------------------------
# Unix group to be set for the inventory directory.  
# This parameter is not applicable if installing on
# Windows based Operating System.
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME=

04开始静默安装

    因为前面解压和修改文件时我用的都是root用户操作,因此在安装时先修改一下安装文件的属性,建议上述操作使用oracle用户执行。

[root@localhost /]# chown -R oracle:oinstall /ogg/fbo_ggs_Linux_x64_shiphome/
[root@localhost /]# su - oracle
[[email protected]:/home/oracle]$cd /ogg/fbo_ggs_Linux_x64_shiphome/Disk1/
[[email protected]:/ogg/fbo_ggs_Linux_x64_shiphome/Disk1]$ls
install  response  runInstaller  stage
[[email protected]:/ogg/fbo_ggs_Linux_x64_shiphome/Disk1]$
[[email protected]:/ogg/fbo_ggs_Linux_x64_shiphome/Disk1]$./runInstaller -silent -responseFile /ogg/fbo_ggs_Linux_x64_shiphome/Disk1//response/oggcore.rsp
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 85632 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 23998 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2019-11-26_05-30-44PM. Please wait ...[[email protected]:/ogg/fbo_ggs_Linux_x64_shiphome/Disk1]$[WARNING] [INS-08109] Unexpected error occurred while validating inputs at state 'installOptions'.
   CAUSE: No additional information available.
   ACTION: Contact Oracle Support Services or refer to the software manual.
   SUMMARY:
       - java.lang.NullPointerException

    第一次安装遇到报错[INS-08109] Unexpected error occurred while validating inputs at state ‘installOptions’,根据提示有可能是安装参数的问题,将INSTALL_OPTION=ORA12C改成INSTALL_OPTION=ORA12c,需要使用小写c,重新执行报以下错误

[[email protected]:/ogg/fbo_ggs_Linux_x64_shiphome/Disk1]$./runInstaller -silent -responseFile /ogg/fbo_ggs_Linux_x64_shiphome/Disk1//response/oggcore.rsp
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 85631 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 23998 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2019-11-26_06-04-13PM. Please wait ...[[email protected]:/ogg/fbo_ggs_Linux_x64_shiphome/Disk1]$[FATAL] [INS-32012] Unable to create directory: /ogg.
   CAUSE: Either proper permissions were not granted to create the directory or there was no space left in the volume.
   ACTION: Check your permission on the selected directory or choose another directory.
[WARNING] [INS-75003] The specified directory /ogg is not empty.
   CAUSE: The directory specified /ogg contains files.
   ACTION: Clean up the specified directory or enter a new directory location.

    根据错误提示是/ogg安装目录权限问题,授/ogg 777权限,[root@localhost ~]# chmod 777 /ogg。再重新执行安装成功。

[[email protected]:/ogg/fbo_ggs_Linux_x64_shiphome/Disk1]$./runInstaller -silent -responseFile /ogg/fbo_ggs_Linux_x64_shiphome/Disk1//response/oggcore.rsp
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 85631 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 23998 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2019-11-26_06-06-53PM. Please wait ...[[email protected]:/ogg/fbo_ggs_Linux_x64_shiphome/Disk1]$[WARNING] [INS-75003] The specified directory /ogg is not empty.
   CAUSE: The directory specified /ogg contains files.
   ACTION: Clean up the specified directory or enter a new directory location.
You can find the log of this install session at:
 /oracle/app/oraInventory/logs/installActions2019-11-26_06-06-53PM.log
WARNING:OUI-10030:You have specified a non-empty directory to install this product. It is recommended to specify either an empty or a non-existent directory. You may, however, choose to ignore this message if the directory contains Operating System generated files or subdirectories like lost+found.
Do you want to proceed with installation in this Oracle Home?
The installation of Oracle GoldenGate Core was successful.
Please check '/oracle/app/oraInventory/logs/silentInstall2019-11-26_06-06-53PM.log' for more details.
Successfully Setup Software.

[[email protected]:/ogg/fbo_ggs_Linux_x64_shiphome/Disk1]$

05安装完成,进行mgr配置启动。

    1、安装完成启动的时候报错。
[[email protected]:/ogg]$./ggsci
./ggsci: error while loading shared libraries: libnnz12.so: cannot open shared object file: No such file or directory

2、这里是因为缺少libnnz11.so库文件造成的,检查是否配置LD_LIBRARY_PATH环境变量,发现没有该配置。

[[email protected]:/home/oracle]$more ~/.bash_profile 
export PATH
PS1="[`whoami`@`hostname`:"'$PWD]$'
export PS1
export TMP=/tmp
export LANG=en_US
export TMPDIR=$TMP
ORACLE_BASE=/oracle/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/12.1.0.2/db_1; export ORACLE_HOME
ORACLE_SID=hzsbogg; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
NLS_DATE_FORMAT="yyyy-mm-dd HH24:MI:SS"; export NLS_DATE_FORMAT
PATH=.:$PATH:$HOME/bin:$ORACLE_BASE/product/12.1.0.2/db_1/bin:$ORACLE_HOME/bin; export PATH
THREADS_FLAG=native; export THREADS_FLAG
if [ $USER = "oracle" ] || [ $USER = "grid" ]; then
        if [ $SHELL = "/bin/ksh" ]; then
            ulimit -p 16384
              ulimit -n 65536
  else
   ulimit -u 16384 -n 65536
      fi
    umask 022
fi

3、修改变量文件.bash_profile,增加配置export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib,然后执行source ~/.bash_profile使变量生效。

4、重新登陆系统,执行./ggsci,可以看到已经进入到ogg配置界面,进行简单的配置了。

[root@localhost ~]# su - oracle
[[email protected]:/home/oracle]$cd /ogg
[[email protected]:/ogg]$./ggsci

Oracle GoldenGate Command Interpreter for Oracle
Version 12.2.0.2.2 OGGCORE_12.2.0.2.0_PLATFORMS_170630.0419_FBO
Linux, x64, 64bit (optimized), Oracle 12c on Jun 30 2017 16:12:28
Operating system character set identified as US-ASCII.

Copyright (C) 1995, 2017, Oracle and/or its affiliates. All rights reserved.

GGSCI (localhost.localdomain) 1> info all
Program     Status      Group       Lag at Chkpt  Time Since Chkpt
MANAGER     STOPPED                                           

GGSCI (localhost.localdomain) 2> 

5、创建ogg工作目录。

GGSCI (localhost.localdomain) 1> create subdirs
Creating subdirectories under current directory /ogg
Parameter files                /ogg/dirprm: created
Report files                   /ogg/dirrpt: created
Checkpoint files               /ogg/dirchk: created
Process status files           /ogg/dirpcs: created
SQL script files               /ogg/dirsql: created
Database definitions files     /ogg/dirdef: created
Extract data files             /ogg/dirdat: created
Temporary files                /ogg/dirtmp: created
Credential store files         /ogg/dircrd: created
Masterkey wallet files         /ogg/dirwlt: created
Dump files                     /ogg/dirdmp: created

6、配置mgr

GGSCI (localhost.localdomain) 2> edit param mgr
port 7839
AUTOSTART er *
AUTORESTART er *,RETRIES 5,WAITMINUTES 5 ,RESETMINUTES 60
DYNAMICPORTLIST 7809-7838
ACCESSRULE, PROG *, IPADDR *,PRI 1, ALLOW
PURGEOLDEXTRACTS  ./dirdat/*,usecheckpoints,minkeepfiles 3
LAGREPORTHOURS  1
LAGINFOMINUTES  30
LAGCRITICALMINUTES  45
~
~
"dirprm/mgr.prm" [New] 9L, 271C written
GGSCI (localhost.localdomain) 3> start mgr
Manager started.
GGSCI (localhost.localdomain) 4> info all
Program     Status      Group       Lag at Chkpt  Time Since Chkpt
MANAGER     RUNNING                                           

7、可以看到ogg的manager进程已经在runing状态,至此goldengate安装已经完成,后续介绍如何进行数据同步的配置。

发布了22 篇原创文章 · 获赞 7 · 访问量 536

猜你喜欢

转载自blog.csdn.net/bjywxc/article/details/103258632
今日推荐