weblogic 9.2 AIX安裝全過程![ 字符] 含ESB安裝和 AIX JDK升級

 

作者:border88(姚) 2007-5-10 郵箱:[email protected]

硬件要求:

空間:不小於1G

內存:不小於1G 最好2-4G之間

CPU:不低於1.5GHz

 

1.         先確認安裝的環境是不是AIX 53

[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  啓動服務器

################################################################

 

使用IEMozilla 遊覽weblogic

Server控制檯:

http://192.168.5.188:7001/console

ESB控制檯

http://192.168.5.188:7001/sbconsole

                                                                 作者:border88(姚) 2007-5-10

 

 

 
                郵箱:[email protected]
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章