开发环境搭建3:linux下tuxedo安装


linux    :Red Hat Enterprise Linux Server release 5.5 (Tikanga)

tuxedo :tuxedo10

【tuxedo9.1未打补丁版连接oracle10有问题。。】

 

1.为tuxedo创立一个管理员用户tuxedo
   
   #useradd tuxedo
   #passwd tuxedo

2.将安装文件tuxedo10gR3_32_Linux_01_x86.bin复制到/home/tuxedo/下,并给该文件可执行权限
   
   #chomod a+x tuxedo10gR3_32_Linux_01_x86.bin

3.切换到tuxedo用户下,运行改文件(按常理要这样,不过出了问题)

看网上有人说会遇到该问题:
Preparing to install... 
Extracting the installation resources from the installer archive... 
Configuring the installer for this system's environment... 
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory 
我在安装时没有遇到,可能是因为我安装linux选择了完全安装,如果遇到该问题可以这样解决:
$ cp tuxedo10gR3_32_Linux_01_x86.bin tuxedo10gR3_32_Linux_01_x86.bin.bak 
$ cat tuxedo10gR3_32_Linux_01_x86.bin.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > ./tuxedo10gR3_32_Linux_01_x86.bin 
$ rm tuxedo10gR3_32_Linux_01_x86.bin.bak


接着写:
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:
java.lang.NoClassDefFoundError
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
        at java.awt.Window.init(Unknown Source)
        at java.awt.Window.<init>(Unknown Source)
        at java.awt.Frame.<init>(Unknown Source)
        at java.awt.Frame.<init>(Unknown Source)
        at com.zerog.ia.installer.LifeCycleManager.f(DashoA8113)
        at com.zerog.ia.installer.LifeCycleManager.g(DashoA8113)
        at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
        at com.zerog.ia.installer.Main.main(DashoA8113)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.zerog.lax.LAX.launch(DashoA8113)
        at com.zerog.lax.LAX.main(DashoA8113)
This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

遇到这个问题可以有两种方法解决

3.1命令行模式

$ sh tuxedo10gR3_32_Linux_01_x86.bin -i console
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
awk: cmd. line:6: warning: escape sequence `/.' treated as plain `.'

Launching installer...

Preparing CONSOLE Mode Installation...
===============================================================================
Choose Locale...
----------------

    1- English

CHOOSE LOCALE BY NUMBER: 1
===============================================================================
                                       (created with InstallAnywhere by Zero G)
-------------------------------------------------------------------------------


===============================================================================
Introduction
------------


PRESS <ENTER> TO CONTINUE: 
===============================================================================

到这我没继续直接ctrl+c了
以后按提示操作就可以了


3.2 切换到root下执行(或在root用户执行xhost local:tuxedo)

[tuxedo@happy Tuxedo]$ su - root
Password:
[root@happy ~]# cd /home/tuxedo/
[root@happy tuxedo]# ls
bea Desktop Tuxedo
[root@happy tuxedo]# cd Tuxedo/
[root@happy Tuxedo]# ls
tuxedo10gR3_32_Linux_01_x86.bin

[root@happy Tuxedo]# ./tuxedo10gR3_32_Linux_01_x86.bin

Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Warning: Cannot convert string "-isas-song ti-medium-r-normal--*-140-*-*-c-*-gb2 312.1980-0" to type FontStruct

别管它,知识warning不是error,这时出现图形用户界面,到选择bea目录时建议在/home/tuxedo/bea
此后按照提示操作就可以了。

cd到/home/tuxedo/bea
[root@happy bea]# ls -l
总用量 32
drwxrwxr-x   8 516 516 4096 2005-04-12 jre
drwxrwxr-x   2 root root 4096 8月 26 10:43 logs
-rw-rw-r--   1 root root 479 8月 26 10:43 registry.xml
drwxrwxr-x 11 root root 4096 8月 26 10:47 tuxedo10gR3

发现很多文件不属于tuxedo用户,输入下列命令就行了
[root@happy bea]# chown -RL tuxedo:tuxedo /home/tuxedo


4.注册

4.1 到http://licensecodes.oracle.com/bea.html下载licence,选择相应的BEA Tuxedo SDK就可以了

4.2 把文件解压后重命名为lic.txt,复制到/home/tuxedo/bea/tuxedo10gR3/下面

4.3 执行以下命令,出现lic信息后,表示lic生效
[tuxedo@happy tuxedo10gR3]$ . ./tux.env
[tuxedo@happy tuxedo10gR3]$ tmadmin -v
INFO: Oracle Tuxedo, Version 10.3.0.0, 32-bit, Patch Level (none)

over

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值