[WebLogic] Server配置1:AdminServer单节点 模式

仅是平时操作的简单总结,简单参考下

 

1.创建用户

groupadd weblogic
useradd -m weblogic -d /home/mw/weblogic -s /bin/sh -g weblogic

不过,由于我是安装在应用用户下,测试用hadoop用户所以用hadoop用户来安装,以下内容可根据自己的用户名进行调整

 

2.开始安装WebLogic Server

$ java -jar wls1036_generic.jar

如果本身是有UI的,那么会默认图形界面安装,可以再后边加上-mode=console采用命令行安装

 

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->
Welcome:
——–
This installer will guide you through the installation of WebLogic 10.3.6.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”.
Enter [Exit][Next]>

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->
Choose Middleware Home Directory:
———————————

“Middleware Home” = [Enter new value or use default
“/home/hadoop/Oracle/Middleware”]

Enter new Middleware Home OR [Exit][Previous][Next]> Next

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->
Register for Security Updates:
——————————

Provide your email address for security updates and to initiate configuration manager.

1|Email:[] 2|Support Password:[] 3|Receive Security Update:[Yes]

** Invalid input, only integer selection or page movement command are
** accepted: Yes

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

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->
Register for Security Updates:
——————————

Provide your email address for security updates and to initiate configuration manager.

“Receive Security Update:” = [Enter new value or use default “Yes”]

Enter [Yes][No]? No

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->
Register for Security Updates:
——————————

Provide your email address for security updates and to initiate configuration manager.

1|Email:[] 2|Support Password:[] 3|Receive Security Update:[No]

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

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->
Choose Install Type:
——————–
Select the type of installation you wish to perform.

->1|Typical
| Install the following product(s) and component(s):
| – WebLogic Server
| – Oracle Coherence

2|Custom
| Choose software products and components to install and perform optional
|configuration.

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

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->
JDK Selection (Any * indicates Oracle Supplied VM):
—————————————————

JDK(s) chosen will be installed. Defaults will be used in script string-substitution if installed.

1|Add Local Jdk
2|/usr/local/jdk1.7.0_79[x] *Estimated size of installation: 690.2 MB

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

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->
Choose Product Installation Directories:
—————————————-
Middleware Home Directory: [/home/hadoop/Oracle/Middleware] Product Installation Directories:

1|WebLogic Server: [/home/hadoop/Oracle/Middleware/wlserver_10.3] 2|Oracle Coherence: [/home/hadoop/Oracle/Middleware/coherence_3.7]

Enter index number to select OR [Exit][Previous][Next]> Next
<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->

The following Products and JDKs will be installed:
————————————————–

WebLogic Platform 10.3.6.0
|_____WebLogic Server
| |_____Core Application Server
| |_____Administration Console
| |_____Configuration Wizard and Upgrade Framework
| |_____Web 2.0 HTTP Pub-Sub Server
| |_____WebLogic SCA
| |_____WebLogic JDBC Drivers
| |_____Third Party JDBC Drivers
| |_____WebLogic Server Clients
| |_____WebLogic Web Server Plugins
| |_____UDDI and Xquery Support
| |_____Evaluation Database
|_____Oracle Coherence
|_____Coherence Product Files

*Estimated size of installation: 690.3 MB
Enter [Exit][Previous][Next]> Next
然后弹出即说明安装开始
<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->
Installing files..

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

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->

Installation Complete
Congratulations! Installation is complete.

 

3.配置Domain
到目录/home/hadoop/Oracle/Middleware/wlserver_10.3/common/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]> Next

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

<——————- 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]>Next
<——————- Fusion Middleware Configuration Wizard ——————>
Edit Domain Information:
————————

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

Enter value for “Name” OR [Exit][Previous][Next]> SVCDOM
<——————- Fusion Middleware Configuration Wizard ——————>
Edit Domain Information:
————————

| Name | Value |
_|________|________|
1| *Name: | SVCDOM |

Use above value or select another option:
1 – Modify “Name”
2 – Discard Changes

Enter option number to select OR [Exit][Previous][Next]> Next
<——————- Fusion Middleware Configuration Wizard ——————>
Select the target domain directory for this domain:
—————————————————
“Target Location” = [Enter new value or use default
“/home/hadoop/Oracle/Middleware/user_projects/domains”] Enter new Target Location OR [Exit][Previous][Next]> Next

后边配置密码的在此不再做详细描述。
Step1. Enable Development or Production Mode for this domain. 选择Develpment Mode,Production Mode明显的区别是每次修改配置需要锁定
Step2. Java SDK Selection ->1|Sun SDK 1.7.0_79 @ /usr/local/jdk1.7.0_79 选择Next
Step3.Select Optional Configruation 选择 Administration Server
Step4.然后配置Domain信息,除去Listen Addresss,这个值如果在自己的开发环境IP会变动,我比较推荐写HostName。其他我选择了默认
| Name | Value |
_|__________________|_____________________|
1| *Name: | AdminServer |
2| *Listen address: | HMDB01 |
3| Listen port: | 7001 |
4| SSL listen port: | N/A |
5| SSL enabled: | false |
接下来,Domain会自动配置完成
然后打开http://HMDB01:7001/console输入用户名密码即可使用

分类上一篇:     分类下一篇:

Leave a Reply