Linux下WebLogic10.3的安装与配置

更新时间:2024-01-18 06:06:01 阅读量: 教育文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

§2.1 安装准备

? 下载WebLogic10.3 for x86 linux安装文件; ? 安装SUSE Linux enterprise Server 11.0;

? 检查SUSE环境,确保/root空闲空间在2G以上。如果/root空间不足,则应扩展root空间,或创建一个新的文件系统,并确保该文件系统空间在2G以上。本手册假定该文件系统的mount点是/soft;如root的空间足够,则在root创建目录/soft作为安装源目录;

? 创建WebLogic使用的文件系统,该文件系统的mount点建议为/bea,空间应在2G以上,后续将安装WebLogic软件到该文件系统中。

§2.2 安装过程

§2.2.1 创建bea组和weblogic用户

使用root登录操作系统,执行下列命令创建bea组和weblogic用户。bea组号为600,weblogic用户号为600,属于bea组,home目录为/bea。

# groupadd -g 600 bea

# useradd -d /bea -u 600 -g 600 weblogic # passwd weblogic -- 激活weblogic用户 执行下列命令将/bea分配给weblogic用户。 # cd /

# chown weblogic:bea /bea # chmod 755 /bea §2.2.2 上传安装文件并执行

使用weblogic登录,使用bin模式,上传WebLogic安装文件server103_linux.bin到soft目录,执行下列命令执行安装文件。 $ cd /soft

$ chmod a+x server103_linux.bin $ ./server103_linux.bin -mode=console

系统自动解压缩安装文件,并启动文本的安装界面。 §2.2.3 欢迎界面

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 ---------------> Welcome: --------

This installer will guide you through the installation of WebLogic Platform

10.3.0.0. Type \or enter to proceed to the next prompt. If you want to

change data entered previously, type \You may quit the installer at any time by typing \

Enter [Exit][Next]> next

§2.2.4 指定WebLogic主目录为/bea

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

Choose BEA Home Directory: --------------------------

\Home\= [Enter new value or use default \

Enter new BEA Home OR [Exit][Previous][Next]> /bea <--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

Choose BEA Home Directory: -------------------------- \Home\= [/bea]

Use above value or select another option: 1 - Enter new BEA Home 2 - Change to default [/root/bea]

Enter option number to select OR [Exit][Previous][Next]> next §2.2.5 选择安装类型为Custom

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

Choose Install Type: --------------------

Select the type of installation you wish to perform. ->1|Complete

| Install the following software products and examples: | - WebLogic Server | - Workshop 2|Custom

| Choose software products and components to install and perform optional |configuration.

Enter index number to select OR [Exit][Previous][Next]> 2 §2.2.6 选择要安装的产品组件

需取消安装Workshop和Server Examples

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

Choose Products and Components: ------------------------------- Release 10.3.0.0

|_____WebLogic Server [1] x

| |_____Core Application Server [1.1] x | |_____Administration Console [1.2] x

| |_____Configuration Wizard and Upgrade Framework [1.3] x | |_____Web 2.0 HTTP Pub-Sub Server [1.4] x | |_____WebLogic JDBC Drivers [1.5] x | |_____Third Party JDBC Drivers [1.6] x | |_____WebLogic Server Clients [1.7] x | |_____WebLogic Web Server Plugins [1.8] x | |_____UDDI and Xquery Support [1.9] x | |_____Server Examples [1.10] x |_____Workshop [2] x

|_____Workshop for WebLogic [2.1] x |_____Workshop Runtime Framework [2.2] x *Estimated size of installation: 788.3 MB

Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> 2

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

Choose Products and Components: ------------------------------- Release 10.3.0.0

|_____WebLogic Server [1] x

| |_____Core Application Server [1.1] x | |_____Administration Console [1.2] x

| |_____Configuration Wizard and Upgrade Framework [1.3] x | |_____Web 2.0 HTTP Pub-Sub Server [1.4] x | |_____WebLogic JDBC Drivers [1.5] x | |_____Third Party JDBC Drivers [1.6] x | |_____WebLogic Server Clients [1.7] x | |_____WebLogic Web Server Plugins [1.8] x | |_____UDDI and Xquery Support [1.9] x | |_____Server Examples [1.10] x |_____Workshop [2]

|_____Workshop for WebLogic [2.1] |_____Workshop Runtime Framework [2.2] *Estimated size of installation: 406.3 MB

Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> 1.10

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

Choose Products and Components: ------------------------------- Release 10.3.0.0

|_____WebLogic Server [1] x

| |_____Core Application Server [1.1] x | |_____Administration Console [1.2] x

| |_____Configuration Wizard and Upgrade Framework [1.3] x | |_____Web 2.0 HTTP Pub-Sub Server [1.4] x | |_____WebLogic JDBC Drivers [1.5] x | |_____Third Party JDBC Drivers [1.6] x | |_____WebLogic Server Clients [1.7] x | |_____WebLogic Web Server Plugins [1.8] x

| |_____UDDI and Xquery Support [1.9] x | |_____Server Examples [1.10] |_____Workshop [2]

|_____Workshop for WebLogic [2.1] |_____Workshop Runtime Framework [2.2] *Estimated size of installation: 360.4 MB

Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> next §2.2.7 选择要安装的JDK

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

JDK Selection (Any * indicates BEA Supplied VM): ------------------------------------------------

JDK(s) chosen for use with this product installation will be installed. Supported defaults if not deselected will be used in script string-substitution.

1|Add Local Jdk 2|/bea/jdk160_05[x]* 3|/bea/jrockit_160_05[x]*

*Estimated size of installation: 713.2 MB

Enter 1 to add or >= 2 to toggle selection OR [Exit][Previous][Next]> next §2.2.8 安装确认

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

Choose Product Installation Directories: ---------------------------------------- BEA Home Directory: [/bea] Product Installation Directories:

\Server\= [Enter new value or use default \erver_10.3\

Enter new WebLogic Server OR [Exit][Previous][Next]> next <--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

The following Products and JDKs will be installed: -------------------------------------------------- WebLogic Platform 10.3.0.0 |_____WebLogic Server | |_____Core Application Server | |_____Administration Console

| |_____Configuration Wizard and Upgrade Framework | |_____Web 2.0 HTTP Pub-Sub Server | |_____WebLogic JDBC Drivers | |_____Third Party JDBC Drivers | |_____WebLogic Server Clients | |_____WebLogic Web Server Plugins | |_____UDDI and Xquery Support |_____JDKs

|_____Sun SDK 1.6.0_05 |_____BEA JRockit 1.6.0_05 SDK *Estimated size of installation: 713.3 MB

Enter [Exit][Previous][Next]> next §2.2.9 文件复制

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 ---------------> Installing files..

0% 25% 50% 75% 100%

[------------|------------|------------|------------] [*****************************

Performing String Substitutions...

Creating Domains... §2.2.10 安装结束

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

Installation Complete

Congratulations! Installation is complete.

Press [Enter] to continue or type [Exit]> 按回车键 §2.3 创建管理服务器的域

AdminServer Name: AdminServer Listen Address: 192.168.100.1 Listen Port: 8080 SSL Listen Port: 8081 SSL enabled: true Domain Name: weblogic §2.3.1 运行Configuration Wizard $ cd /bea/wlserver_10.3/common/bin ./config.sh -mode=console §2.3.2 选择创建新域

<-------------------- Oracle WebLogic Configuration Wizard -------------------> Welcome: --------

Choose between creating and extending a domain. Based on your selection,

the Configuration Wizard guides you through the steps to gen

erate 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.

Enter index number to select OR [Exit][Next]> 1 §2.3.3 选择域源

<-------------------- Oracle 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 <-------------------- Oracle WebLogic Configuration Wizard ------------------->

Application Template Selection: -------------------------------

Available Templates

|_____WebLogic Server (Required)x

Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> next §2.3.4 配置管理员及密码

<-------------------- Oracle 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 \name\ 2 - Modify \password\ 3 - Modify %user password\ 4 - Modify \

Enter option number to select OR [Exit][Previous][Next]> 2 <-------------------- Oracle 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. \password:\= []

Enter new *User password: OR [Exit][Reset][Accept]> <-------------------- Oracle 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 \name\ 2 - Modify \password\ 3 - Modify %user password\

4 - Modify \ 5 - Discard Changes

Enter option number to select OR [Exit][Previous][Next]> 3 <-------------------- Oracle 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 *Confirm user password: OR [Exit][Reset][Accept]> <-------------------- Oracle 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 \name\ 2 - Modify \password\ 3 - Modify %user password\ 4 - Modify \ 5 - Discard Changes

Enter option number to select OR [Exit][Previous][Next]> Next §2.3.5 选产品模式+JRockitJDK

<-------------------- Oracle 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]> 2 <-------------------- Oracle WebLogic Configuration Wizard ------------------->

Java SDK Selection: -------------------

->1|JRockit SDK 1.6.0_05 @ /bea/jrockit_160_05 2|Sun SDK 1.6.0_05 @ /bea/jdk160_05 3|Other Java SDK

Enter index number to select OR [Exit][Previous][Next]> 1

§2.3.6 选择要定制环境与服务设置

<-------------------- Oracle 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]> 1 §2.3.7 暂不配置安全存储

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure RDBMS Security Store Options: ---------------------------------------

Create the RDBMS tables in your datastore prior to booting your domain. The

scripts for use by your DBA are in WebLogic Server's server/lib directory.

Click Next to keep the template settings or bypass RDBMS options.

->1|I don't want to change anything here.

2|I want to create, change, or remove RDBMS support.

Enter index number to select OR [Exit][Previous][Next]> 1 §2.3.8 配置管理服务器的端口

<-------------------- Oracle 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 \

2 - Modify \address\ 3 - Modify \port\ 4 - Modify \enabled\

Enter option number to select OR [Exit][Previous][Next]> 2 <-------------------- Oracle 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 |

Enter value for \address\OR [Exit][Previous][Next]> 192.168.100.30

<-------------------- Oracle 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: | 192.168.100.30 | 3| Listen port: | 7001 | 4| SSL listen port: | N/A | 5| SSL enabled: | false |

Use above value or select another option: 1 - Modify \

2 - Modify \address\ 3 - Modify \port\ 4 - Modify \enabled\ 5 - Discard Changes

Enter option number to select OR [Exit][Previous][Next]> 3 <-------------------- Oracle 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 |

Enter value for \port\OR [Exit][Previous][Next]> 8080 <-------------------- Oracle 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: | 8080 | 4| SSL listen port: | N/A | 5| SSL enabled: | false |

Use above value or select another option: 1 - Modify \

2 - Modify \address\ 3 - Modify \port\ 4 - Modify \enabled\

Enter option number to select OR [Exit][Previous][Next]> 4 <-------------------- Oracle 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.

*Enter index number to modify \1|true ->2|false 3|Unspecified

Enter index number to select OR [Exit][Reset][Accept]> 1 <-------------------- Oracle 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: | 8080 | 4| SSL listen port: | 7002 | 5| SSL enabled: | true |

Use above value or select another option: 1 - Modify \

2 - Modify \address\ 3 - Modify \port\ 4 - Modify \listen port\ 5 - Modify \enabled\ 6 - Discard Changes

Enter option number to select OR [Exit][Previous][Next]> 4 <-------------------- Oracle 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: | 8080 | 4| SSL listen port: | 7002 | 5| SSL enabled: | true |

Enter value for \listen port\OR [Exit][Previous][Next]> 8081

<-------------------- Oracle 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: | 8080 | 4| SSL listen port: | 8081 | 5| SSL enabled: | true |

Use above value or select another option: 1 - Modify \

2 - Modify \address\ 3 - Modify \port\ 4 - Modify \listen port\ 5 - Modify \enabled\ 6 - Discard Changes

Enter option number to select OR [Exit][Previous][Next]> next §2.3.9 暂不添加受管的服务器

<-------------------- Oracle 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 <-------------------- Oracle 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 |

_|_______|___________________|________________|_________________|

本文来源:https://www.bwwdw.com/article/s5to.html

Top