前言
之前寫過一遍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安裝已經完成,後續介紹如何進行數據同步的配置。