熟悉各大ISV软件的安装与配置,是近期的工作目标:
开始的地方,也是自己最最难以下手的地方,那么从温故的方式也许对以后的步骤有所帮助:
下载bea weblogic9.0的iso文件到本地,mount -o loop
root@lee-laptop:/media/cdrom# ./server900_linux32.bin
Extracting 0%....................................................................................................100%
Unable to instantiate GUI, defaulting to console mode.
<------------------------------------------------------- BEA Installer - BEA Products ------------------------------------------------------->
Welcome:
--------
This installer will guide you through the installation of BEA Products. Type "Next" or enter to proceed to the next prompt. If you want to
change data entered previously, type "Previous". You may quit the installer at any time by typing "Exit".
Enter [Exit][Next]>
<------------------------------------------------------- BEA Installer - BEA Products ------------------------------------------------------->
BEA Systems License Agreement:
------------------------------
BEA SYSTEMS, INC. SOFTWARE LICENSE AGREEMENT
USE OF SOFTWARE ORDERED FROM BEA SYSTEMS, INC. (?BEA?) IS PROVIDED ONLY UNDER LICENSE FROM BEA. PLEASE READ THE FOLLOWING LICENSE CAREFULLY
AND INDICATE YOUR ACCEPTANCE BY CLICKING THE ACCEPTANCE BOX. CERTAIN CAPITALIZED TERMS ARE DEFINED IN SECTION 11.
1. LICENSE TERMS
a. Evaluation Use. The terms of this Section 1(a) are applicable to you if you have registered as an Evaluation customer. Subject to the
terms of this Agreement, BEA grants to you a non-exclusive, non-transferable, license to use the Software solely for Evaluation Use. Third
party software products or modules supplied by BEA, if any, may be used solely with the Software, and may be subject to your acceptance of
terms and conditions provided by such third parties. This license begins upon downloading and ends if and when terminated by BEA in accordance with this Agreement. When the license terminates you must stop using the Software. All rights not specifically granted to you herein are
retained by BEA.
b. Development Use. The terms of this Section 1(b) are applicable to you if you have registered as a Development Use customer. Subject to the
terms of this Agreement, BEA grants to you a non-exclusive, non-transferable, fee-bearing license to use the Software solely for Development
Use for the number of users and the number of CPU's, Servers and/or at the Sites, as specified on BEA's invoice. Third party software products or modules supplied by BEA, if any, may be used solely with the Software. All rights not specifically granted to you herein are retained by
BEA.
c. Production Use. The terms of this Section 1(c) are applicable to you if you have registered as a Production Use customer. Subject to the
terms of this Agreement, BEA grants to you a non-exclusive, non-transferable, fee-bearing license to use the Software solely for Production
Use on the number of CPU's, Servers and/or at the Sites, as specified on BEA's invoice. Third party software products or modules supplied by
Select Option:
1 - Yes, I agree with the terms of the license
2 - No, I do not agree with the terms of the license
Enter option number to select OR [Down][Exit][Previous]> 1
<------------------------------------------------------- BEA Installer - BEA Products ------------------------------------------------------->
Choose BEA Home Directory:
--------------------------
"BEA Home" = [Use default "/root/bea"]
Input BEA Home OR [Exit][Previous][Next]> /workdata/BEA
<------------------------------------------------------- BEA Installer - BEA Products ------------------------------------------------------->
Choose BEA Home Directory:
--------------------------
"BEA Home" = [/workdata/BEA]
Select Option:
1 - Input BEA Home
2 - Use default [/root/bea]
Enter option number to select OR [Exit][Previous][Next]> 1
<------------------------------------------------------- BEA Installer - BEA Products ------------------------------------------------------->
Choose BEA Home Directory:
--------------------------
"BEA Home" = [/workdata/BEA]
Input BEA Home OR [Exit][Previous][Next]>
<------------------------------------------------------- BEA Installer - BEA Products ------------------------------------------------------->
Choose Install Type:
--------------------
Select the type of installation you wish to perform.
->1|Complete
| Install the following software components and examples: WebLogic Server
2|Custom
| Choose software components to install and perform optional configuration.
Enter index number to select OR [Exit][Previous][Next]> 1
<------------------------------------------------------- BEA Installer - BEA Products ------------------------------------------------------->
Choose Product Directory:
-------------------------
"Product Installation Directory" = [Use default "/workdata/BEA/weblogic90"]
Input Product Installation Directory OR [Exit][Previous][Next]>
<------------------------------------------------------- BEA Installer - BEA Products ------------------------------------------------------->
Choose Product Directory:
-------------------------
->1|Yes, use this product directory [/workdata/BEA/weblogic90]
2|No, select another product directory
Enter index number to select OR [Exit][Next]> 1
<------------------------------------------------------- BEA Installer - BEA Products ------------------------------------------------------->
Installing files..
0% 25% 50% 75% 100%
[------------|------------|------------|------------]
[***************
<------------------------------------------------------- BEA Installer - BEA Products ------------------------------------------------------->
Installing JDK....
0% 25% 50% 75% 100%
[------------|------------|------------|------------]
[***************************************************]
Performing String Substitutions...
Creating Domains...
<------------------------------------------------------- BEA Installer - BEA Products ------------------------------------------------------->
Installation Complete
Congratulations! BEA Products has been successfully installed to /workdata/BEA/weblogic90.
Press [Enter] to continue or type [Exit]>
<------------------------------------------------------- BEA Installer - BEA Products ------------------------------------------------------->
Clean up process in progress ...
下面切换到eclipse下,进行install and updata在线安装weblogic eclipse plugin.
URL地址:https://eclipse-plugin.projects.dev2dev.bea.com/update
参考文章;http://dev2dev.bea.com.cn/bbsdoc/20060619285.html
建立usr_project,启动weblogic configure wizard,运行下面的命令。
sudo bea/weblogic81/server/weblogic/weblogic91/common/bin/config.sh
此后将启动一个友好的图形配置工具,一步步的配置。
配置完成后,系统默认会在BEA HOME下建立一user_project的目录。
到此以完全结束,不过有兴趣的可以去修改一下eclipse configure的配置文件。。
当然,可以通过http://server-name:7001/console来配置weblogic也是个不错的选择。
我最后注明一点,由于本人安装weblogic是用的root用户,而运行时是在普通帐户中,所以出现了许多问题,也走了不少弯路,所以建议安装完后用chown改变下BEA HOME的属主关系。