大橙子网站建设,新征程启航

为企业提供网站建设、域名注册、服务器等服务

weblogic_server103.c的安装及配置

weblogic是bea公司的产品,后来被oracle收购,weblogic是基于Javaee架构的中间件,是纯java开发的java应用服务器。WebLogic主要用于开发、集成、部署和管理大型分布式Web应用、网络应用和数据库应用的Java应用服务器。

站在用户的角度思考问题,与客户深入沟通,找到凤台网站设计与凤台网站推广的解决方案,凭借多年的经验,让设计与互联网技术结合,创造个性化、用户体验好的作品,建站类型包括:做网站、成都网站制作、企业官网、英文网站、手机端网站、网站推广、域名注册、网络空间、企业邮箱。业务覆盖凤台地区。

 

weblogic_server103.下载链接:http://pan.baidu.com/s/1c6uSgQ  密码:4lk4

 

weblogic下载要去oracle官网注册下载,可能还需要付费,博主免费提供下载,下面就是weblogic的安装配置

 


weblogic的安装也是非常简单的:
首先安装下webogic缺省的lib库文件和gcc这些编译环境:

:/root>yum install gcc make glibc.i686

 


安装weblogic:

(博主习惯将应用安装在相应的项目维护用户目录下,这个需要userad oweblogic)
:/root>su - weblogic

本章博主使用的是  weblogic_server103_linux32.bin版本的weblogic,也就是控制台是英文的,12c是中文的


[weblogic@smallmeng ~]$ ./weblogic_server103_linux32.bin
Extracting 0%....................................................................................................100%
Unable to instantiate GUI, defaulting to console mode.

 

 

<----------------------------------------------------------------------- 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 "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".
(这是安装weblogic10.3.0.0版本,按Next将开始安装,exit就退出安装)

 

Enter [Exit][Next]> 回车

 

 

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

Choose BEA Home Directory:
--------------------------
(选择bea家目录)
    "BEA Home" = [Enter new value or use default "/home/weblogic/bea"]

 


Enter new BEA Home OR [Exit][Previous][Next]> 回车


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


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

Choose Products and Components:(x代表的是将要安装的,我们不使用workshop,所以选2 将x去掉)
-------------------------------

    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:(workshop已经没有x了)
-------------------------------

    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]> 回车


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

JDK Selection (Any * indicates BEA Supplied VM):
------------------------------------------------
(选择安装jdk,默认全部安装)
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|/home/weblogic/bea/jdk160_05[x]*
   3|/home/weblogic/bea/jrockit_160_05[x]*

 

   *Estimated size of installation:  759.1 MB


Enter 1 to add or >= 2 to toggle selection  OR [Exit][Previous][Next]> 回车

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

Choose Product Installation Directories:(选择weblogic servere的安装目录,默认使用下面的目录,你也可以指定安装目录)
----------------------------------------

BEA Home Directory: [/home/oracle/bea]

Product Installation Directories:


    "WebLogic Server" = [Enter new value or use default "/home/weblogic/bea/wlserver_10.3"]

 


Enter new WebLogic Server OR [Exit][Previous][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
    |    |_____Server Examples
    |_____JDKs
         |_____Sun SDK 1.6.0_05
         |_____BEA JRockit 1.6.0_05 SDK

    *Estimated size of installation: 759.1 MB

 


Enter [Exit][Previous][Next]> 回车

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

Installing files..

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]

 


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

Installing JDK....

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]


Performing String Substitutions...

 

Creating Domains...

 

 

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

Installation Complete


Congratulations! Installation is complete.


Press [Enter] to continue or type [Exit]> 回车就完成了

上面的仅是weblogic  server 的安装,要在生产中使用肯定还需要安装域domain Administrator等等;

 

[weblogic@smallmeng security]$ pwd
/home/weblogic/bea/jrockit_160_05/jre/lib/security

 

        Weblogic线程挂在security相关的随机数生成上面,是由于JDK的Bug(JDK从/dev/random

读‘randomness’经常耗费10分钟或者更长的时间),改为下面对weblogic的启动时间会缩小很多。
[weblogic@smallmeng security]$ vim java.security

securerandom.source=file:/dev/./urandom

 

weblogic   Domain的安装:


[weblogic@smallmeng bin]$ pwd
/home/weblogic/bea/wlserver_10.3/common/bin


[weblogic@smallmeng bin]$ ls
commEnv.sh         config.sh  setPatchEnv.sh           startPointBaseConsole.sh  stopPointBase.sh  upgrade.sh     wlsifconfig.sh
config_builder.sh  pack.sh    startManagedWebLogic.sh  startPointBase.sh         unpack.sh         wlscontrol.sh  wlst.sh


[weblogic@smallmeng bin]$ ./config.sh
Unable to instantiate GUI, defaulting to console mode.

 

 

<--------------------------------------------------------------------------- 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 generate a new or extend an existing domain.
(是否创建一个weblogic 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]>回车

 

 

<--------------------------------------------------------------------------- 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 (创建一个新的domain)
    |    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]>回车

<--------------------------------------------------------------------------- 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]> 回车

 

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

Configure Administrator Username and Password:
----------------------------------------------
(weblogic domain的用户 密码 web  控制台也是一样的)
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


<--------------------------------------------------------------------------- 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 *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 "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

 

 

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

    "*Confirm 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 "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]> 回车


<--------------------------------------------------------------------------- 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 @ /home/weblogic/bea/jrockit_160_05
   2|Sun SDK 1.6.0_05 @ /home/weblogic/bea/jdk160_05
   3|Other Java SDK

 


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

 

 

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

Choose Configuration Option:
----------------------------
(选择你是否要修改这个新域的模板,模板默认的端口为7001,选择“否”就是默认的,比如我想使用8002端口,选择否安装完成后在config.xml里面修改端口也行,选择是直接配置修改端口)
    *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


选择no 让你确认完安装路径直接就开始安装了,yes还要修改一些自己习惯的配置,这块博主选择yes


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

 

<--------------------------------------------------------------------------- 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]>回车

 

 

<--------------------------------------------------------------------------- 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     | domian的管理服务
   2| Listen address:  | All Local Addresses | 监听的地址
   3|   Listen port:   |        7001         | 端口
   4| SSL listen port: |         N/A         | ssl监听的端口,默认7002
   5|   SSL enabled:   |        false        | 是否支持ssl

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]> 3

 

 

Enter value for "Listen port" OR [Exit][Previous][Next]> 8002

 

 

<--------------------------------------------------------------------------- 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:   |        8002         |
   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"
    5 - Discard Changes

 


Enter option number to select OR [Exit][Previous][Next]> 回车

 

<--------------------------------------------------------------------------- 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 |
   _|_______|________________|_____________|_________________|_____________|

(ssl实例配置)


Enter name for a new  OR [Exit][Previous][Next]> 回车

 

 

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

Configure Clusters:
-------------------
(集群,我们是独立的weblogic server不需要集群配置)
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]> 回车

 


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

Configure Machines:     //节点管理服务器不需要
-------------------

Add or delete machines. A machine hosts one or more WebLogic Server instances. The Admin Server and Node Manager use this 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]> 回车

 

 

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

Configure Unix Machines:   //节点管理服务器的名称,没有
------------------------

Add or delete machines. A machine hosts one or more WebLogic Server instances. The Admin Server and Node Manager use this machine definition to start remote servers.

    | Name |
   _|______|

 


Enter name for a new Unix Machine OR [Exit][Previous][Next]> 回车

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

Select the target domain directory for this domain: //domain的安装路径,默认就好
---------------------------------------------------

    "Target Location" = [Enter new value or use default "/home/weblogic/bea/user_projects/domains"]

 


Enter new Target Location OR [Exit][Previous][Next]> 回车

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

Edit Domain Information: //domain的名称,便于识别博主改为weblogic_8002
------------------------

    |  Name  |    Value    |
   _|________|_____________|
   1| *Name: | base_domain |

 


Enter value for "Name" OR [Exit][Previous][Next]> weblogic_8002 


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

Edit Domain Information: //编辑或确认以下信息
------------------------

    |  Name  |     Value     |
   _|________|_______________|
   1| *Name: | weblogic_8002 |

Use above value or select another option:
    1 - Modify "Name"
    2 - Discard Changes

 


Enter option number to select OR [Exit][Previous][Next]> 回车

 

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

Creating Domain...

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]


**** Domain Created Successfully! ****

切换到新域的安装路径,可以看到我们定义安装的新域
[weblogic@smallmeng domains]$ pwd
/home/weblogic/bea/user_projects/domains


[weblogic@smallmeng domains]$ ls
weblogic_8002


切换到新域里面,启动weblogic
[weblogic@smallmeng bin]$ pwd
/home/weblogic/bea/user_projects/domains/weblogic_8002/bin

[weblogic@smallmeng bin]$ vim startWebLogic.sh
添加以下两行:
WLS_USER=weblogic
WLS_PW=weblogic


[weblogic@smallmeng bin]$ nohup ./startWebLogic.sh  &   //启动weblogic  用户为:weblogic  密码:weblogic,这是刚才配置时设置的

 

 在浏览器输入:http://192.168.1.33:8002/console/

weblogic_server103.c的安装及配置

 weblogic server项目的发布目录配置:

(锁定并编辑,自己在发布的同时,其他同事也可能在操作,所以锁定并编辑,然后下一步-下一步选择你的项目包安装,下一步,就完成安装了)

weblogic_server103.c的安装及配置

 

 WTC的配置,就是常说的tcpcall(你要和哪台主机通信,可以理解为这样):

weblogic_server103.c的安装及配置

 新建一个WTC server(默认的就好,主要是里面的配置,这块可改可不改):

weblogic_server103.c的安装及配置

 

 WTC server 本地开启的端口和远程主机的端口(这块就不配了,毕竟博主是测试机)

 weblogic_server103.c的安装及配置

 

怎么看两台主机之间是不是通信了?(1、linux终端是否可以看到你这块配的端口起来了。2、就是下面所示的) 

起来的话可以看到administrator   ture就表示ok

 weblogic_server103.c的安装及配置

 

 jdbc的配置(项目要使用数据库,那就要配置jdbc了,可以先随便配的,然后再调试):

 

 weblogic_server103.c的安装及配置

 

 

 博主就唠叨到这,有问题可以Q,下章博主讲下weblogic server 12c的安装,大同小异。

 

 

 

 

 

 

 

 


分享题目:weblogic_server103.c的安装及配置
网页网址:http://dzwzjz.com/article/ghhedj.html
在线咨询
服务热线
服务热线:028-86922220
TOP