实战weblogic集群之创建domain,AdminServer

在weblogic安装完后,接下来就可以创建domain,AdminSever了。

第1步:

$ cd /app/sinova/Oracle/wlserver_10.3/common/bin
$ ./config.sh 
Unable to instantiate GUI, defaulting to console mode.
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /app/sinova/Oracle/wlserver_10.3/common/lib/libjni.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.





<------------------- Fusion Middleware 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
    |    Use this option to add new components to an existing domain and modify     |configuration settings. 





Enter index number to select OR [Exit][Next]> #直接回车

第2步:

<------------------- Fusion Middleware 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]> #直接回车

第3步:

<------------------- Fusion Middleware Configuration Wizard ------------------>

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

 

    Available Templates
    |_____Basic WebLogic Server Domain - 10.3.3.0 [wlserver_10.3]x
    |_____WebLogic Advanced Web Services for JAX-RPC Extension - 10.3.3.0 [wlserver_10.3] [2] 
    |_____WebLogic Advanced Web Services for JAX-WS Extension - 10.3.3.0 [wlserver_10.3] [3] 



Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> #直接回车

第4步:

<------------------- Fusion Middleware Configuration Wizard ------------------>

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

 

Available Templates
|_____Basic WebLogic Server Domain - 10.3.3.0 [wlserver_10.3]x
|_____WebLogic Advanced Web Services for JAX-RPC Extension - 10.3.3.0 [wlserver_10.3] [2] 
|_____WebLogic Advanced Web Services for JAX-WS Extension - 10.3.3.0 [wlserver_10.3] [3]

 

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

 

 

<------------------- Fusion Middleware Configuration Wizard ------------------>

Edit Domain Information:
------------------------

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

 


Enter value for "Name" OR [Exit][Previous][Next]> #直接回车,也可以自定义domain的名称

第5步:定义创建域的路径

------------------- Fusion Middleware Configuration Wizard ------------------>

Select the target domain directory for this domain:
---------------------------------------------------

    "Target Location" = [Enter new value or use default 
"/app/sinova/Oracle/user_projects/domains"]




Enter new Target Location OR [Exit][Previous][Next]> /app/sinova/domains

第6步:设置密码

<------------------- Fusion Middleware Configuration Wizard ------------------>

Configure Administrator User Name 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|         *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 "User password"
    3 - Modify "Confirm user password"
    4 - Modify "Description"




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

第7步:

<------------------- Fusion Middleware Configuration Wizard ------------------>

Configure Administrator User Name 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]> weblogic123

第8步:确认密码

<------------------- Fusion Middleware Configuration Wizard ------------------>

Configure Administrator User Name 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|         *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 "User password"
    3 - Modify "Confirm user password"
    4 - Modify "Description"
    5 - Discard Changes




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

第9步:

<------------------- Fusion Middleware Configuration Wizard ------------------>

Configure Administrator User Name 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]> weblogic123

第10步:

<------------------- Fusion Middleware Configuration Wizard ------------------>

Configure Administrator User Name 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|         *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 "User password"
    3 - Modify "Confirm user password"
    4 - Modify "Description"
    5 - Discard Changes




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

第11步:选择生产模式

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

第12步:

<------------------- Fusion Middleware Configuration Wizard ------------------>

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

 ->1|JRockit SDK 1.7.0_79 @ /app/sinova/jdk1.7.0_79
   2|Other Java SDK




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

第13步:选择1,暂时只创建AdminServer,集群中的Managed Servers可以在控制上去创建。

<------------------- Fusion Middleware Configuration Wizard ------------------>

Select Optional Configuration:
------------------------------

   1|Administration Server [ ]
   2|Managed Servers, Clusters and Machines [ ]
   3|RDBMS Security Store [ ]



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

第14步:

<------------------- Fusion Middleware Configuration Wizard ------------------>

Select Optional Configuration:
------------------------------

   1|Administration Server [x]
   2|Managed Servers, Clusters and Machines [ ]
   3|RDBMS Security Store [ ]



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

第15步:

<------------------- Fusion Middleware 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]> #可以默认直接回车

第16步:domain创建完成。

<------------------- Fusion Middleware Configuration Wizard ------------------>

Creating Domain...

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


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

进入/app/sinova/后可以看到生成了一个domains目录,表示域创建完成。

原文地址:https://www.cnblogs.com/Eivll0m/p/4627814.html