牛刀小試Oracle GoldenGate--OGG安裝(一)

來源:互聯網
上載者:User

標籤:ogg

1.1 下載 GolenGate 安裝包

   登入http://www.oracle.com/technetwork/middleware/goldengate/downloads/index.html官方地址,下載安裝包

650) this.width=650;" src="http://blog.chinaunix.net/attachment/201608/18/26446098_14715085155e4B.jpg" width="563" height="133" style="border:0px;line-height:1.5;text-indent:28px;" />
        可根據作業系統的情況,選擇相應的程式包。我的作業系統是Linux 64bit作業系統,所以選擇上述紅色表框的程式包。

1.2 安裝 GolenGate 安裝包

上傳V100692-01.zip至伺服器上面,並賦予使用者權限:

[[email protected]_5 opt]# mv V100692-01.zip /opt/software/
[[email protected]_5 opt]# chown -R oraarp:oinstall /opt/software
[[email protected]_5 opt]# chmod 777 /opt/software/

解壓安裝包

[[email protected]_5 software]# su - oraarp
[[email protected]_5 ~]$ cd /opt/software/
[[email protected]_5 software]$ unzip V100692-01.zip

 

建立OGG的安裝目錄,目錄為/opt/ogg

[[email protected]_5 software]# mkdir -p /opt/ogg
[[email protected]_5 software]# chown -R oraarp:oinstall /opt/ogg/
[[email protected]_5 software]# chmod 755 /opt/ogg/

使用VNC的登入Linux伺服器,使用OUI方式安裝GolenGate

650) this.width=650;" src="http://blog.chinaunix.net/attachment/201608/18/26446098_14715087862VvW.jpg" width="649" height="232" style="border:0px;line-height:1.5;text-indent:28px;" />



   選擇安裝至哪個資料庫版本上面,我這裡選擇的是Oracle 11G

650) this.width=650;" src="http://blog.chinaunix.net/attachment/201608/18/26446098_1471508897CAzN.jpg" width="700" height="427" style="border:0px;line-height:1.5;" />

選擇安裝的目錄,這裡指定的目錄 /opt/ogg,使用者可根據自己的需求選擇安裝目錄

650) this.width=650;" src="http://blog.chinaunix.net/attachment/201608/18/26446098_1471508972KPlL.jpg" width="700" height="270" style="border:0px;line-height:1.5;" />

1.3 使用GGSCI,建立子目錄(使用OUI,預設已經建立子目錄)

操作指令如下:

[[email protected]_5 ogg]# su - oraarp
[[email protected]_5 ~]$ cd /arp/ogg
[[email protected]_5 ogg]$ pwd
/arp/ogg
[[email protected]_5 ogg]$ ./ggsci

Oracle GoldenGate Command Interpreter for Oracle

Version 12.2.0.1.1 OGGCORE_12.2.0.1.0_PLATFORMS_151211.1401_FBO

Linux, x64, 64bit (optimized), Oracle 11g on Dec 12 2015 00:54:38

Operating system character set identified as UTF-8.

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

GGSCI (centos6_5) 1> create subdirs

Creating subdirectories under current directory /arp/ogg

Parameter files                /arp/ogg/dirprm: already exists

Report files                   /arp/ogg/dirrpt: already exists

Checkpoint files               /arp/ogg/dirchk: already exists

Process status files           /arp/ogg/dirpcs: already exists

SQL script files               /arp/ogg/dirsql: already exists

Database definitions files     /arp/ogg/dirdef: already exists

Extract data files             /arp/ogg/dirdat: already exists

Temporary files                /arp/ogg/dirtmp: already exists

Credential store files         /arp/ogg/dircrd: already exists

Masterkey wallet files         /arp/ogg/dirwlt: already exists

Dump files                     /arp/ogg/dirdmp: already exists


本文出自 “上善若水” 部落格,請務必保留此出處http://arpzhang.blog.51cto.com/3711534/1846731

牛刀小試Oracle GoldenGate--OGG安裝(一)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.