1.Downloading Oracle goldenGate
http:/edelivery.oracle.com
Oracle将gg分类到Middleware那。
我们下载的是112101的64bit版本,Linux的。
2.Setting ORACLE_HOME and ORACLE_SID
gg用户的ORACLE_SID与ORACLE_HOME环境变量要设置正确,我们一般将oracle用户与gg用户合二为一。
3. Setting library paths for dynamic builds on UNIX
需要同时都是32bit或者64bit
Oracle library versions
Oracle gg version
database version
PATH环境变量
PATH=$PATH:$GGS_HOME
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GGS_HOME
4 Installing Oracle GoldenGate on Linux and UNIX
unzip ogg112101_fbo_ggs_Linux_x64_ora11g_64bit.zip
root用户
mkdir -p /erp/gg
chmod -R 755 /erp
chown -R oracle:dba /erp
su - oracle
cd /home/oracle
cp ogg112101_fbo_ggs_Linux_x64_ora11g_64bit.zip $GGS_HOME
cd $GGS_HOME
unzip ogg112101_fbo_ggs_Linux_x64_ora11g_64bit.zip
Archive: ogg112101_fbo_ggs_Linux_x64_ora11g_64bit.zip
inflating: fbo_ggs_Linux_x64_ora11g_64bit.tar
inflating: OGG_WinUnix_Rel_Notes_11.2.1.0.1.pdf
inflating: Oracle GoldenGate 11.2.1.0.1 README.txt
inflating: Oracle GoldenGate 11.2.1.0.1 README.doc
tar -xvf fbo_ggs_Linux_x64_ora11g_64bit.tar
./ggsci
创建必须的子目录
CREATE SUBDIRS
exit
安装完成。