Weblogic在Linux上创建域

1、进入目录
[root@APPSRV2 /]# cd /opt/bea/wlserver_10.3/common/bin

2、查看文件
[root@APPSRV2 bin]# ls
commEnv.sh         setPatchEnv.sh            stopPointBase.sh  wlsifconfig.sh
config_builder.sh  startManagedWebLogic.sh   unpack.sh         wlst.sh
config.sh          startPointBaseConsole.sh  upgrade.sh
pack.sh            startPointBase.sh         wlscontrol.sh


3、执行./config.sh文件
[root@APPSRV2 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.
 ->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. 


4、建立一个新的域。输入1回车
Enter index number to select OR [Exit][Next]> 1

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


5、选择域源,默认选择1,输入next回车或直接回车
Enter index number to select OR [Exit][Previous][Next]> 

<-------------------- Oracle WebLogic Configuration Wizard ------------------->
Application Template Selection:
-------------------------------
    Available Templates
    |_____WebLogic Server (Required)x
    |_____Workshop for WebLogic 10.3 [2] 


6、输入next回车或直接回车
Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]>

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


7、进入配置管理员及密码界面,此用户名和密码是在登陆网页控制台时需要的,用户名默认weblogic,配置密码输入2
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:" = []


8、输入密码回车
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


9、确认密码,输入3回车
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:" = []


10、再次输入密码回车
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


11、不再修改其他内容,回车
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


12、选择产品模式为生产模式速度会快些,输入2回车
Enter index number to select OR [Exit][Previous][Next]> 2

<-------------------- Oracle WebLogic Configuration Wizard ------------------->
Java SDK Selection:
-------------------
 ->1|Sun SDK 1.6.0_05 @ /opt/bea/jdk160_05
   2|Other Java SDK


13、设置JDK选择1回车
Enter index number to select OR [Exit][Previous][Next]> 1

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


14、因为要修改端口等、定制环境与服务设置,选择1回车
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.


15、暂不配置安全存储,选择1回车
Enter index number to select OR [Exit][Previous][Next]> 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:   |        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"


16、修改管理服务器端口,输入3回车
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        |


17、输入你需要的新端口7006回车
Enter value for "Listen port" OR [Exit][Previous][Next]> 7006   

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


18、修改管理服务器名称,输入1回车
Enter option number to select OR [Exit][Previous][Next]> 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:   |        7006         |
   4| SSL listen port: |         N/A         |
   5|   SSL enabled:   |        false        |


19、输入管理服务器名称server7006回车
Enter value for "Name" OR [Exit][Previous][Next]> server7006   

<-------------------- 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:      |     server7006      |
   2| Listen address:  | All Local Addresses |
   3|   Listen port:   |        7006         |
   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


20、暂时不改其他的,直接回车
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 |
   _|_______|________________|_____________|_________________|_____________|


21、暂不添加受管的服务器,直接回车
Enter name for a new  OR [Exit][Previous][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 |
   _|_______|___________________|________________|_________________|


22、暂不配置集群,直接回车
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 |
   _|_______|_____________________________|__________________________|


23、暂不添加受管的主机,直接回车
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 |
   _|______|


24、暂不配置Unix主机,直接回车
Enter name for a new Unix Machine OR [Exit][Previous][Next]> 

<-------------------- Oracle WebLogic Configuration Wizard ------------------->
Select the target domain directory for this domain:
---------------------------------------------------
    "Target Location" = [Enter new value or use default 
"/opt/bea/user_projects/domains"]


25、域路径用默认的,直接回车
Enter new Target Location OR [Exit][Previous][Next]> 

<-------------------- Oracle WebLogic Configuration Wizard ------------------->
Edit Domain Information:
------------------------
    |  Name  |    Value    |
   _|________|_____________|
   1| *Name: | base_domain |


26、输入域名domain7006,回车
Enter value for "Name" OR [Exit][Previous][Next]> domain7006

<-------------------- Oracle WebLogic Configuration Wizard ------------------->
Edit Domain Information:
------------------------
    |  Name  |   Value    |
   _|________|____________|
   1| *Name: | domain7006 |

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


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


28、开始创建域、过几分钟后显示Domain Created Successfully!代表创建成功
<-------------------- Oracle WebLogic Configuration Wizard ------------------->
Creating Domain...
0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]
**** Domain Created Successfully! ****
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值