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
|