Goldengate monitor v11.1 Configure for Linux X86

时间:2022-06-09 09:22:00

首先安装去oracle官网下载java,ogg 11.1要求至少是java 1.6以上。我这里下载的是1.6.0。下面开始安装java :

1. install java

[root@10gasm java]# chmod a+x *.bin
[root@10gasm java]# ls -ltr
total 20680
-rwxr-xr-x 1 root root 21145580 Aug 23 07:26 jre-6u34-linux-i586-rpm.bin
[root@10gasm java]# ./jre-6u34-linux-i586-rpm.bin 
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
  inflating: jre-6u34-linux-i586.rpm  
Preparing...                ########################################### [100%]
   1:jre                    ########################################### [100%]
Unpacking JAR files...
        rt.jar...
        jsse.jar...
        charsets.jar...
        localedata.jar...
        plugin.jar...
        javaws.jar...
        deploy.jar...
 
Done.
[root@10gasm java]#

2.  configure java

配置ggs用户的环境变量,加入java的变量,如下:
[ggs@10gasm ~]$ cat .bash_profile 
# .bash_profile
 
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi
 
# User specific environment and startup programs
 
 
export PATH
export ORACLE_SID=10gasm
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
export ORACLE_HOME=/home/oracle/oracle/product/10.2.0
export LD_LIBRARY_PATH=/home/ggs/ggs_home:$ORACLE_HOME/lib
 
###java 
 
export JAVA_HOME=/usr/java/jre1.6.0_34
 
PATH=$PATH:$HOME/bin:$JAVA_HOME/jre/bin

 

更多内容请 详见原文博客链接地址 Goldengate monitor v11.1 Configure for Linux X86