温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

牛刀小试Oracle GoldenGate--OGG安装(一)

发布时间:2020-08-03 19:57:34 来源:网络 阅读:3026 作者:zhang6793645 栏目:关系型数据库

1.1 下载GolenGate安装包

   登录http://www.oracle.com/technetwork/middleware/goldengate/downloads/index.html官方地址,下载安装包

牛刀小试Oracle GoldenGate--OGG安装(一)
        可根据操作系统的情况,选择相应的程序包。我的操作系统是Linux 64bit操作系统,所以选择上述红色表框的程序包。

1.2 安装GolenGate安装包

上传V100692-01.zip至服务器上面,并赋予用户权限:

[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

 

创建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服务器,使用OUI方式安装GolenGate

牛刀小试Oracle GoldenGate--OGG安装(一)



   选择安装至哪个数据库版本上面,我这里选择的是Oracle 11G

牛刀小试Oracle GoldenGate--OGG安装(一)

选择安装的目录,这里指定的目录 /opt/ogg,用户可根据自己的需求选择安装目录

牛刀小试Oracle GoldenGate--OGG安装(一)

1.3 使用GGSCI,创建子目录(使用OUI,默认已经创建子目录)

操作指令如下:

[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问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI