weblogic domain的安装与配置

参考视频:bbk4405

[root@gaosheng ~]# cd /u02/weblogic/wlserver_10.3/
[root@gaosheng wlserver_10.3]# ll
total 28
drwxr-xr-x 11 root root 4096 Feb 23 12:30 common
drwxr-xr-x  3 root root 4096 Feb 23 12:30 inventory
drwxr-xr-x  2 root root 4096 Feb 23 12:29 L10N
drwxr-xr-x  5 root root 4096 Feb 23 12:31 samples
drwxr-xr-x 11 root root 4096 Feb 23 12:30 server
drwxr-xr-x  3 root root 4096 Feb 23 12:29 sip
drwxr-xr-x  2 root root 4096 Feb 23 12:32 uninstall
[root@gaosheng wlserver_10.3]# cd con
-bash: cd: con: No such file or directory
[root@gaosheng wlserver_10.3]# cd common/
[root@gaosheng common]# ll
total 36
drwxr-xr-x 2 root root 4096 Feb 23 12:30 bin
drwxr-xr-x 2 root root 4096 Feb 23 12:30 deployable-libraries
drwxr-x--- 5 root root 4096 Feb 23 12:30 derby
drwxr-xr-x 2 root root 4096 Feb 23 12:30 eval
drwxr-x--- 3 root root 4096 Feb 23 12:30 lib
drwxr-xr-x 2 root root 4096 Feb 23 12:31 nodemanager
drwxr-xr-x 4 root root 4096 Feb 23 12:30 quickstart
drwxr-xr-x 6 root root 4096 Feb 23 12:30 templates
drwxr-xr-x 4 root root 4096 Feb 23 12:29 wlst
[root@gaosheng common]# cd bin/
[root@gaosheng bin]# ll
total 112
-rwxr-x--- 1 root root 22718 Feb 23 12:30 commEnv.sh
-rwxr-x--- 1 root root  2110 Feb 23 12:30 config_builder.sh
-rwxr-x--- 1 root root  2262 Feb 23 12:30 config.sh
-rwxr-x--- 1 root root  2567 Feb 23 12:30 pack.sh
-rwxr-x--- 1 root root  2150 Feb 23 12:30 setPatchEnv.sh
-rwxr-x--- 1 root root  4070 Feb 23 12:30 startDerby.sh
-rwxr-x--- 1 root root  4076 Feb 23 12:30 startManagedWebLogic.sh
-rwxr-x--- 1 root root  1436 Feb 23 12:30 stopDerby.sh
-rwxr-x--- 1 root root  2075 Feb 23 12:30 unpack.sh
-rwxr-x--- 1 root root  3286 Feb 23 12:30 upgrade.sh
-rwxr-x--- 1 root root 31205 Feb 23 12:30 wlscontrol.sh
-rwxr-x--- 1 root root 13740 Feb 23 12:29 wlsifconfig.sh
-rwxr-x--- 1 root root   772 Feb 23 12:30 wlst.sh
[root@gaosheng bin]# clear
[root@gaosheng bin]# ./config.sh -mode=console





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





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





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

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

 

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



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





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

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

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




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





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





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





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





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





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





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


    ** CFGFWK-60050:  Property "Password" of User "weblogic" is invalid.
    ** CFGFWK-60455:  The password must be at least 8 alphanumeric 
    ** characters with at least one number or special character.




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





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





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





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





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





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


    ** CFGFWK-60050:  Property "Password" of User "weblogic" is invalid.
    ** CFGFWK-60455:  The password must be at least 8 alphanumeric 
    ** characters with at least one number or special character.




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





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





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





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





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





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





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

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

 ->1|Sun SDK 1.6.0_38-ea @ /usr/java/jdk1.6.0_38
   2|Other Java SDK




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





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





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





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

Configure the Administration Server:
------------------------------------

Each WebLogic Server domain must have one Administration Server. The 
Administration Server 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]> 





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

Creating Domain...

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


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

安装配置好domain之后,查看产生的新目录文件

[root@gaosheng bin]# cd /u02/weblogic/
[root@gaosheng weblogic]# ll
total 176
drwxr-xr-x 7 root root   4096 Feb 23 12:32 coherence_3.7
-rw-rw---- 1 root root    435 Feb 23 21:46 domain-registry.xml
drwxr-xr-x 2 root root   4096 Feb 23 21:46 logs
drwxr-xr-x 7 root root  32768 Feb 23 12:29 modules
-rw-r--r-- 1 root root    621 Feb 23 12:30 ocm.rsp
-rw-r--r-- 1 root root 108914 Feb 23 12:30 registry.dat
-rw-r--r-- 1 root root   1998 Feb 23 12:30 registry.xml
drwxr-x--- 3 root root   4096 Feb 23 21:46 user_projects
drwxr-xr-x 8 root root   4096 Feb 23 12:30 utils
drwxr-xr-x 9 root root   4096 Feb 23 12:30 wlserver_10.3
[root@gaosheng weblogic]# cd user_projects/
[root@gaosheng user_projects]# ll
total 4
drwxr-x--- 3 root root 4096 Feb 23 21:46 domains
[root@gaosheng user_projects]# cd domains/
[root@gaosheng domains]# ll
total 4
drwxr-x--- 9 root root 4096 Feb 23 21:46 base_domain
[root@gaosheng domains]# cd base_domain/
[root@gaosheng base_domain]# ll
total 36
drwxr-x--- 2 root root 4096 Feb 23 21:46 autodeploy
drwxr-x--- 5 root root 4096 Feb 23 21:46 bin
drwxr-x--- 9 root root 4096 Feb 23 21:46 config
drwxr-x--- 2 root root 4096 Feb 23 21:46 console-ext
-rw-r----- 1 root root  462 Feb 23 21:46 fileRealm.properties
drwxr-x--- 2 root root 4096 Feb 23 21:46 init-info
drwxr-x--- 2 root root 4096 Feb 23 21:46 lib
drwxr-x--- 2 root root 4096 Feb 23 21:46 security
-rwxr-x--- 1 root root  263 Feb 23 21:46 startWebLogic.sh
[root@gaosheng base_domain]# 

 

posted @ 2014-02-23 21:48  ArcerZhang  阅读(1709)  评论(0编辑  收藏  举报