>cd bea/weblogic81/common/bin
>sh congfig.sh
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]> 1
-------------------------------------------------------------------------------------------------------------------
Java SDK Selection:
-------------------
->1|Sun SDK 1.5.0_11 @ /usr/java/jdk1.5.0_11 --默认地址下的JDK
2|Other Java SDK --另外的JDK
Enter index number to select OR [Exit][Previous][Next]> 1
-------------------------------------------------------------------------------------------------------------------
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
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 |
Select 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]>
Edit Domain Information:
------------------------
| Name | Value |
_|________|___________|
1| *Name: | ebusiness |
Select Option:
1 - Modify "Name"
2 - Discard Change
Enter option number to select OR [Exit][Previous][Next]>
Creating Domain...
0% 25% 50% 75% 100%
[------------|------------|------------|------------]
[***************************************************]
**** Domain Created Successfully! ****
该界面是所有配置信息的汇总确认,如果没问题,点击Create,开始创建DOMAIN域.
三、启动Weblogic
在启动Weblogic之前,可将服务用户名和密码写入启动脚本。
进入刚刚配置完成的域目录(例如:/home/bea/user_projects/domains/mydomain),编辑startWebLogic.sh启动脚本,执行$ vi startWebLogic.sh
在“WLS_USER= WLS_PW=”输入用户名和密码,保存退出;:wq 存盘退出 :q 强制退出不保存
最后执行$ ./startWebLogic.sh,启动Weblogic..
./startWeblogic.sh -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0
四、停止Weblogic服务
停止Weblogic服务有多种:
1、 KILL掉进程
2、 通过”http://服务地址:7001/console”,shutdownserver
3、 利用脚本停止服务:
在#/home/bea/user_projects/domains/mydomain 路径下,有一个stopWebLogic.sh文件,执行即可