Setting up a WebLogic Server Environment
WebLogic Server Installation
You can install WebLogicServer in three different ways:
- Graphical User Interface mode
- Console mode
- Silent mode
The BEA installer program supports a number of platforms including:
- Windows 2000、2003 Server、xp
- Sun Solaris
- HP-UX
- Linux
Console-mode Installation
Console-mode installation is the text-based method of executing the BEA installation program
A WebLogic Server installer for a UNIX platform takes one of two forms:
A UNIX-specific Java installer which includes JDK 1.5.0_06(Has a filename ending in .bin)
A platform-independent Java installer without a JDK(Has a filename ending in .jar)
The installation steps are similar to GUI-based installation.
Installation preparation
Install VMWare-Server
Install Linux(CentOS4) on vm-server
http://www.boobooke.com/v/bbkvmlinux1
http://www.boobooke.com/v/bbkvmlinux2Download Oracle WebLogic Server 11gR1(10.3.3)
from
http://www.oracle.com/technetwork/middleware/ias/downloads/wls-main-097127.html
Install step by step
- 创建weblogic安装目录
mkdir -p /u02/weblogic - 创建weblogic用户及用户组
groupadd weblogic(创建组)
useradd -g weblogic -d /u02/weblogic weblogic(创建用户,并指定用户登陆目录)
passwd weblogic(设置用户密码)
chmod -R weblogic:weblogic /u02(设置目录的用户组) - 安装weblogic
./wls1033_oepe111150_linux32.bin(安装命令,注意安装文件的用户及权限)
- 欢迎界面
<-----------------------Oracle Installer - WebLogic 10.3.3.0--------------->
Welcome:
--------
This installer will guide you through the installation of WebLogic 10.3.3.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]
- 设置weblogic安装目录
<-----------------------Oracle Installer - WebLogic 10.3.3.0--------------->
Choose Middleware Home Directory:
--------------------------------
"Middleware Home"=[Enter new value or use default "/u02/weblogic/Oracle/Middleware"]
Enter new Middleware Home OR [Exit][Previous][Next]>
- 注册升级及安全信息
<-----------------------Oracle Installer - WebLogic 10.3.3.0--------------->
Register for Security Updates:
------------------------------
Provide your email address to be informed of security issues,install the product,and initiate configuration manager. http://www.oracle.com/support/policies.html
1|Email:[]
2|My Oracle Support Password:[]
3|Receive Security Update:[Yes]
Enter index number to select OR [Exit][Previous][Next]>
- 选择安装模式
<-----------------------Oracle Installer - WebLogic 10.3.3.0--------------->
Choose Install Type:
--------------------
Select the type of installation you wish to perform.
->1|Typical
|Install the following product(s) and component(e):
|-WebLogic Server
|-Oracle Coherence
|-Oracle Enterprise Pack for Eclipse
2|Custom
|Choose software products and components to install and perform optional
|configuration.
Enter index number to select OR[Exit][Previous][Next]
- 安装明细
<-----------------------Oracle Installer - WebLogic 10.3.3.0--------------->
Choose Products and Components:
-------------------------------
Release 10.3.3.0
|------WebLogic Server [1]*
| |-------Core Application Server [1.1]*
| |-------Administration Console [1.2]*
| |-------Configuration Wizard and Upgrade Framework [1.3]*
| |-------Web 2.0 HTTP Pub-Sub Server [1.4]*
| |-------WebLogic SCA [1.5]*
| |-------WebLogic JDBC Drivers [1.6]*
| |-------Third Party JDBC Drivers [1.7]*
| |-------Weblogic Server Clients [1.8]*
| |-------WebLogic Web Server Plugins [1.9]*
| |-------UDDI and Xquery Support [1.10]*
| |-------Server Examples [1.11]*
| |-------Evaluation Datebase [1.12]*
|------Oracle Coherence [2]*
| |-------Coherence Product Files [2.1]*
| |-------Coherence Examples [2.2]*
|------Oracle Enterprise Pack for Eclipse [3]*
|-------Common Files[3.1]*
*Estimated size of installation:959.2MB
Enter number exactly as it appears in brackets to toggle selection OR[Exit][Previous][Next]
- 选择JDK默认为Weblogic自带的
<-----------------------Oracle Installer - WebLogic 10.3.3.0--------------->
JDK Selection(Any * indicates Oracle Supplied VM):
-------------------------------
JDK(s) chosen for use with this product installation will be installed.Supported defaults if not deselected will be used in script string-substitution.
1|Add Local Jdk
2|/u02/weblogic/jdk160_18[*]*
3|/u02/weblogic/jrockit_160_17_R28.0.0-679[*]*
*Estimated size of installation:1,360.7MB
Enter 1 to add or >= 2 to toggle selection OR[Exit][Previous][Next]>
- 确认安装目录
<-----------------------Oracle Installer - WebLogic 10.3.3.0--------------->
Choose Product Installation Directories:
----------------------------------------
Middleware Home Directory:[/u02/weblogic]
Product Installation Directories:
1|Weblogic Server:[/u02/weblogic/wlserver_10.3]
2|Oracle Coherence:[/u02/weblogic/coherence_3.5]
3|Oracle Enterprise Pack for Eclipse:[/u02/weblogic/oepe_11gR1PS2]
Eenter index number to select OR[Exit][Previous][Next]>
- 显示即将要安装的程序
<-----------------------Oracle Installer - WebLogic 10.3.3.0--------------->
The following products and JDKs will be installed:
----------------------------------------
WebLogic Platform 10.3.3.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 Datebase
|------Oracle Coherence
| |-------Coherence Product Files
|------Oracle Enterprise Pack for Eclipse
| |-------Common Files
|------JDKs
|-------SUN SDK 1.6.0_18
|-------Oracle JRockit 1.6.0_17 SDK
*Estimated size of installation:1,360.8MB
Enter [Exit][Previous][Next]>
- 安装过程
<———————–Oracle Installer - WebLogic 10.3.3.0—————>
Configuring OCM…
0% 25% 50% 75% 100%
[———|———|——–|———]
[***********************]
Creatiing Domains…
<———————–Oracle Installer - WebLogic 10.3.3.0—————>
Installation Complete
Congratulations! Installation is complete.
Press[Enter] to continue or type [Exit]>