溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

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

發(fā)布時(shí)間:2020-08-03 19:57:34 來源:網(wǎng)絡(luò) 閱讀:3031 作者:zhang6793645 欄目:關(guān)系型數(shù)據(jù)庫

1.1 下載GolenGate安裝包

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

牛刀小試Oracle GoldenGate--OGG安裝(一)
        可根據(jù)操作系統(tǒng)的情況,選擇相應(yīng)的程序包。我的操作系統(tǒng)是Linux 64bit操作系統(tǒng),所以選擇上述紅色表框的程序包。

1.2 安裝GolenGate安裝包

上傳V100692-01.zip至服務(wù)器上面,并賦予用戶權(quán)限:

[root@centos6_5 opt]# mv V100692-01.zip /opt/software/
[root@centos6_5 opt]# chown -R oraarp:oinstall /opt/software
[root@centos6_5 opt]# chmod 777 /opt/software/

解壓安裝包

[root@centos6_5 software]# su - oraarp
[oraarp@centos6_5 ~]$ cd /opt/software/
[oraarp@centos6_5 software]$ unzip V100692-01.zip

 

創(chuàng)建OGG的安裝目錄,目錄為/opt/ogg

[root@centos6_5 software]# mkdir -p /opt/ogg
[root@centos6_5 software]# chown -R oraarp:oinstall /opt/ogg/
[root@centos6_5 software]# chmod 755 /opt/ogg/

使用VNC的登錄Linux服務(wù)器,使用OUI方式安裝GolenGate

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



   選擇安裝至哪個(gè)數(shù)據(jù)庫版本上面,我這里選擇的是Oracle 11G

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

選擇安裝的目錄,這里指定的目錄 /opt/ogg,用戶可根據(jù)自己的需求選擇安裝目錄

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

1.3 使用GGSCI,創(chuàng)建子目錄(使用OUI,默認(rèn)已經(jīng)創(chuàng)建子目錄)

操作指令如下:

[root@centos6_5 ogg]# su - oraarp
[oraarp@centos6_5 ~]$ cd /arp/ogg
[oraarp@centos6_5 ogg]$ pwd
/arp/ogg
[oraarp@centos6_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


向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI