[转帖]开发环境搭建3:linux下tuxedo安装 _MQ, Tuxedo及OLTP讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MQ, Tuxedo及OLTP讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 2907 | 回复: 0   主题: [转帖]开发环境搭建3:linux下tuxedo安装         下一篇 
sysbobo
注册用户
等级:新兵
经验:46
发帖:66
精华:0
注册:2012-2-21
状态:离线
发送短消息息给sysbobo 加好友    发送短消息息给sysbobo 发消息
发表于: IP:您无权察看 2014-12-26 11:08:47 | [全部帖] [楼主帖] 楼主

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
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论