作者:border88(姚) 2007-5-10 邮箱:border1982@163.com
硬件要求:
空间:不小于 1G
内存:不小于 1G 最好2 -4G 之间
CPU:不低于1.5GHz
1. 先确认安装的环境是不是AIX 5。3
[root@yaoxj ~]# oslevel
5.3.0 .0
2. 创建组 weblogic
groupadd weblogic --增加组
cat /etc/group --查看是否增加这个组
命令:
adduser -g weblogic -p weblogic weblogic --增加用户
3. 从
4. http://www-128.ibm.com/developerworks/java/jdk/aix/service.html
可以从网上下载,但最好用192.168.5.188下的/data/weblogic/sdk目录和/data/weblogic/license目录
因为网上要下好几个包,且要使用smit installp安装
5. 使用 tar -xvf ibmjdk5.0.tar解开包
6. 配置weblogic 的JAVA 环境变
在 .profile 文件中增加如下几行
PATH=$PATH:/data/weblogic/sdk/bin:/data/weblogic/sdk/jre/bin --注意和自己的JDK目录相同
export PATH
JAVA_HOME=/data/weblogic/sdk/ --注意和自己的JDK目录相同
export JAVA_HOME
保存退出
7. 退出使用weblogic 用户登陆
执行java –version
java version " 1.5.0 "
Java(TM) 2 Runtime Environment, Standard Edition (build pap64dev-20070201 (SR4))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc64-64 j9vmap6423-20070201 (JIT enabled)
J9VM - 20070131_11312_BHdSMr
JIT - 20070109_1805ifx1_r8
GC - 200701_09)
JCL - 20070126
放入BEA-ESB AIX光盘 (或将相应安装文件传到AIX上) 使用MOUNT命令挂上光驱
进入光盘相应目录 如:/media/cdrom
8. 执行
java -jar alsb250_wls920_generic.jar -mode=console -Xmx= 1024m -Djava.io.tmpdir=/data/weblogic/tmp –log=/data/weblogic/log64.log
出现下面字符:
Extracting 0%....................................................................................................100%
################################################################
之后,出现下面字符:输入Next
################################################################
<------------------------ 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]>Next
################################################################
之后,出现下面字符:输入1
################################################################
<------------------------ 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. WebLogic SDK Use. The terms of this Section 1(a) are applicable to you if
you have registered as a WebLogic SDK customer. Subject to the terms of this
Agreement, BEA grants to you a non-exclusive, non-transferable, royalty-free
license to use WebLogic SDK solely for Development Use and Scale-Limited
Personal Use for the number of users and/or developers and the number of CPU's, Servers and/or at the Sites, as specified at the time of registration. 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.
b. WebLogic SDK Pro Use. The terms of this Section 1(b) are applicable to you
if you have registered as a WebLogic SDK Pro customer. Subject to the terms of
this Agreement, BEA grants to you a non-exclusive, non-transferable,
Use above value or select another 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
################################################################
之后,出现下面字符:输入Next [输入安装路径,这里使用默认的所以输入Next]
################################################################
<------------------------ BEA Installer - BEA Products ----------------------->
Choose BEA Home Directory:
--------------------------
" BEA Home " = [Enter new value or use default "/data/weblogic/bea"]
################################################################
之后,出现下面字符:输入1 [完全安装 Complete]
################################################################
<------------------------ 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
| - Workshop for WebLogic Platform
| - AquaLogic Service Bus
2|Custom
| Choose software components to install and perform optional configuration.
Enter index number to select OR [Exit][Previous][Next]> 1
################################################################
之后,出现下面字符:输入1 [完全默认的产品]
################################################################
<------------------------ BEA Installer - BEA Products ----------------------->
Choose Product Installation Directories:
----------------------------------------
BEA Home Directory: [/data/weblogic/bea]
Product Installation Directories:
1|Default Product Home: [/data/weblogic/bea/weblogic92]
2|Workshop for WebLogic Platform: [/data/weblogic/bea/workshop92]
Enter index number to select OR [Exit][Previous][Next]> 1
################################################################
之后,出现下面字符:输入Next [完全默认的产品路径]
################################################################
<------------------------ BEA Installer - BEA Products ----------------------->
Choose Product Installation Directories:
----------------------------------------
"Default Product Home" = [Enter new value or use default
"/data/weblogic/bea/weblogic92"]
Enter new Default Product Home OR [Exit][Previous][Next]>Next
################################################################
开始安装,如下图
################################################################
<------------------------ BEA Installer - BEA Products ----------------------->
Installing files..
0% 25% 50% 75% 100%
[------------|------------|------------|------------]
[**********************************]
Performing String Substitutions...
Creating Domains...
################################################################
执行:/data/weblogic/bea/weblogic92/common/bin/config.sh
[和你的weblogic安装路径一样]
################################################################
Unable to instantiate GUI, defaulting to console mode.
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Welcome:
--------
Choose between creating and extending a domain. Based on your selection,
the Configuration Wizard guides you through the steps to generate a new or
extend an existing domain.
->1|Create a new WebLogic domain
| Create a WebLogic domain in your projects directory.
2|Extend an existing WebLogic domain
| Extend an existing WebLogic domain. Use this option to add
|applications and services, or to override existing database access (JDBC)
|and messaging (JMS) settings. You can also incorporate additional
|functionality in your domain, for example, by including AquaLogic Service
|Bus.
################################################################
之后,出现下面字符:输入1
################################################################
Enter index number to select OR [Exit][Next]> 1
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Select Domain Source:
---------------------
Select the source from which the domain will be created. You can create the
domain by selecting from the required components or by selecting from a
list of existing domain templates.
->1|Choose Weblogic Platform components
| You can choose the Weblogic component(s) that you want supported in
|your domain.
2|Choose custom template
| Choose this option if you want to use an existing template. This
|could be a custom created template using the Template Builder.
Enter index number to select OR [Exit][Next]> 1
################################################################
之后,出现下面字符:输入1
################################################################
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Select Domain Source:
---------------------
Select the source from which the domain will be created. You can create the
domain by selecting from the required components or by selecting from a
list of existing domain templates.
->1|Choose Weblogic Platform components
| You can choose the Weblogic component(s) that you want supported in
|your domain.
2|Choose custom template
| Choose this option if you want to use an existing template. This
|could be a custom created template using the Template Builder.
Enter index number to select OR [Exit][Previous][Next]> 1
################################################################
之后,出现下面字符:输入Next
################################################################
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Application Template Selection:
-------------------------------
Available Templates
|_____WebLogic Server (Required)x
|_____Workshop for WebLogic Platform [2]
|_____AquaLogic Service Bus [3]
Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]>3
################################################################
之后,出现下面字符:输入Next
################################################################
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Application Template Selection:
-------------------------------
Available Templates
|_____WebLogic Server (Required)x
|_____Workshop for WebLogic Platform [2]
|_____AquaLogic Service Bus [x]
Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]>Next
################################################################
之后,出现下面字符:输入2
################################################################
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Configure Administrator Username and Password:
----------------------------------------------
Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers.
| Name | Value |
_|_________________________|_________________________________________|
1| *User name: | weblogic |
2| *User password: | |
3| *Confirm user password: | |
4| Description: | This user is the default administrator. |
Use above value or select another option:
1 - Modify "User name"
2 - Modify "User password"
3 - Modify "Confirm user password"
4 - Modify "Description"
Enter option number to select OR [Exit][Previous][Next]> 2
################################################################
之后,出现下面字符:输入用户的密码 weblogic
################################################################
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Configure Administrator Username and Password:
----------------------------------------------
Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers.
"*User password:" = []
Enter new *User password: OR [Exit][Reset][Accept]> weblogic
################################################################
之后,出现下面字符:输入3 [确认用户密码]
################################################################
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Configure Administrator Username and Password:
----------------------------------------------
Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers.
| Name | Value |
_|_________________________|_________________________________________|
1| *User name: | weblogic |
2| *User password: | ******** |
3| *Confirm user password: | |
4| Description: | This user is the default administrator. |
Use above value or select another option:
1 - Modify "User name"
2 - Modify "User password"
3 - Modify "Confirm user password"
4 - Modify "Description"
5 - Discard Changes
Enter option number to select OR [Exit][Previous][Next]> 3
################################################################
之后,出现下面字符:输入用户的确认密码 weblogic
################################################################
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Configure Administrator Username and Password:
----------------------------------------------
Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers.
"*Confirm user password:" = []
Enter new *Confirm user password: OR [Exit][Reset][Accept]> weblogic
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Configure Administrator Username and Password:
----------------------------------------------
Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers.
| Name | Value |
_|_________________________|_________________________________________|
1| *User name: | weblogic |
2| *User password: | ******** |
3| *Confirm user password: | ******** |
4| Description: | This user is the default administrator. |
Use above value or select another option:
1 - Modify "User name"
2 - Modify "User password"
3 - Modify "Confirm user password"
4 - Modify "Description"
5 - Discard Changes
################################################################
之后,出现下面字符:输入Next
################################################################
Enter option number to select OR [Exit][Previous][Next]> Next
################################################################
之后,出现下面字符:输入1 [开发模式,如果是现场则输入2 产品模式
################################################################
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Domain Mode Configuration:
--------------------------
Enable Development or Production Mode for this domain.
->1|Development Mode
2|Production Mode
Enter index number to select OR [Exit][Previous][Next]> 1
################################################################
之后,出现下面字符:输入1 [选择JDK]
################################################################
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Java SDK Selection:
-------------------
->1|Unknown SDK 6.0 @ /data/weblogic/sdk
2|Other Java SDK
Enter index number to select OR [Exit][Previous][Next]>1
################################################################
之后,出现下面字符:输入Yes
################################################################
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Choose Configuration Option:
----------------------------
*Do you want to modify any of the preconfigured settings or defaults in
*your template?
*
*To keep the default or template settings, and proceed directly to name and *create your domain, leave No selected.
1|Yes
->2|No
Enter index number to select OR [Exit][Previous][Next]> Yes
################################################################
之后,出现下面字符:输入Next
################################################################
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Choose Configuration Option:
----------------------------
*Do you want to modify any of the preconfigured settings or defaults in
*your template?
*
*To keep the default or template settings, and proceed directly to name and *create your domain, leave No selected.
1|Yes
->2|No
** Invalid input, only integer selection or page movement command are
** accepted: Yes
Enter index number to select OR [Exit][Previous][Next]>1
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Configure the Administration Server:
------------------------------------
Enter adminstration server configurations. Each WebLogic Server domain must
have one Administration Server. The Administration Server hosts the
Administration Console which is used to perform administrative tasks.
| Name | Value |
_|__________________|_____________________|
1| *Name: | AdminServer |
2| Listen address: | All Local Addresses |
3| Listen port: | 7001 |
4| SSL listen port: | N/A |
5| SSL enabled: | false |
Use above value or select another option:
1 - Modify "Name"
2 - Modify "Listen address"
3 - Modify "Listen port"
4 - Modify "SSL enabled"
Enter option number to select OR [Exit][Previous][Next]> Next
################################################################
之后,出现下面字符:输入Next
################################################################
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Configure Managed Servers:
--------------------------
Add or delete configuration information for Managed Servers. A typical
production environment has one or more Managed Servers. Each Managed Server
is an instance of WebLogic Server used to host enterprise applications.
| Name* | Listen address | Listen port | SSL listen port | SSL enabled |
_|_______|________________|_____________|_________________|_____________|
Enter name for a new OR [Exit][Previous][Next]> Next
################################################################
之后,出现下面字符:输入Next
################################################################
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Configure Clusters:
-------------------
Add or delete configuration information for clusters. A cluster contains
multiple WebLogic Server instances that run simultaneously and work
together to provide increased scalability and reliability. A cluster
appears to be a single WebLogic Server instance to clients.
| Name* | Multicast address | Multicast port | Cluster address |
_|_______|___________________|________________|_________________|
Enter name for a new Cluster OR [Exit][Previous][Next]>Next
################################################################
之后,出现下面字符:输入Next
################################################################
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Configure Unix Machines:
------------------------
Add or delete configuration information for machines. A machine is the
logical representation of the system that hosts one or more WebLogic Server
instances. The Administration Server and Node Manager application use the
machine definition to start remote servers.
| Name |
_|______|
Enter name for a new Cluster OR [Exit][Previous][Next]>Next
################################################################
之后,出现下面字符:输入Next
################################################################
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Configure Clusters:
-------------------
Add or delete configuration information for clusters. A cluster contains
multiple WebLogic Server instances that run simultaneously and work
together to provide increased scalability and reliability. A cluster
appears to be a single WebLogic Server instance to clients.
| Name* | Multicast address | Multicast port | Cluster address |
_|_______|___________________|________________|_________________|
Enter name for a new Cluster OR [Exit][Previous][Next]> Next
################################################################
之后,出现下面字符:输入Next
################################################################
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Configure Machines:
-------------------
Add or delete configuration information for machines. A machine is the
logical representation of the system that hosts one or more WebLogic Server
instances. The Administration Server and Node Manager application use the
machine definition to start remote servers.
| Name* | Node manager listen address | Node manager listen port |
_|_______|_____________________________|__________________________|
Enter name for a new Machine OR [Exit][Previous][Next]> Next
################################################################
之后,出现下面字符:输入Next
################################################################
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Select the target domain directory for this domain:
---------------------------------------------------
"Target Location" = [Enter new value or use default
"/data/weblogic/bea/user_projects/domains"]
Enter new Target Location OR [Exit][Previous][Next]> Next
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Edit Domain Information:
------------------------
| Name | Value |
_|________|_____________|
1| *Name: | base_domain |
Enter value for "Name" OR [Exit][Previous][Next]> ^C$
################################################################
之后,出现下面字符:输入Next
################################################################
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Edit Domain Information:
------------------------
| Name | Value |
_|________|_____________|
1| *Name: | base_domain |
Enter value for "Name" OR [Exit][Previous][Next]>
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Creating Domain...
0% 25% 50% 75% 100%
[------------|------------|------------|------------]
[***************************************************]
**** Domain Created Successfully! ****
################################################################
/data/weblogic/bea/user_projects/domains/base_domain/startWebLogic.sh 启动服务器
################################################################
使用IE或Mozilla 游览weblogic
Server控制台:
http://192.168.5.188:7001/console
ESB控制台
http://192.168.5.188:7001/sbconsole
作者:border88(姚) 2007-5-10