Weblogic的安装与配置
安装准备 下载WebLogic10.2 for x86 linux安装文件; 安装RHEL 5.4; 检查Linux环境,确保安装目录所在的文件系统空闲空间在2G以上。如果空间不足,则应扩展root空间,或创建一个新的文件系统,并确保该文件系统空间在2G以上,本例将安装weblogic文件到/bea目录下 安装过程 创建bea组和weblogic用户 使用root登录操作系统,执行下列命令创建bea组和weblogic用户。bea组号为600,weblogic用户号为600,属于bea组,home目录为/bea。 # groupadd -g 600 bea # useradd -d /bea -u 600 -g 600 weblogic # passwd weblogic -- 激活weblogic用户 执行下列命令将/bea分配给weblogic用户。 # cd / # chown weblogic:bea /bea # chmod 755 /bea 上传安装文件并执行 使用weblogic登录,使用bin模式,上传WebLogic安装文件server102_linux.bin到soft目录,执行下列命令执行安装文件。 $ cd /soft $ chmod a+x server103_linux.bin
由于控制台安装不受任何限制,使用下面命令,系统将自动解压缩安装文件,并启动文本的安装界面。 $ ./server1002_linux32.bin -mode=console Extracting 0%....................................................................................................100%
<------------------------ BEA Installer - BEA Products ----------------------->
Welcome: -------- This installer will guide you through the installation of BEA Products. 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]> next 选择weblogic的安装目录 <------------------------ BEA Installer - BEA Products ----------------------->
Choose BEA Home Directory: --------------------------
"BEA Home" = [Enter new value or use default "/home/weblogic/bea"]
Enter new BEA Home OR [Exit][Previous][Next]> /bea
<------------------------ BEA Installer - BEA Products ----------------------->
Choose BEA Home Directory: --------------------------
"BEA Home" = [/bea]
Use above value or select another option: 1 - Enter new BEA Home 2 - Change to default [/home/weblogic/bea]
Enter option number to select OR [Exit][Previous][Next]> next 选择安装类型为Custom <------------------------ BEA Installer - BEA Products ----------------------->
Choose Install Type: --------------------
Select the type of installation you wish to perform.
->1|Complete | Install the following software products and examples: | - WebLogic Server | - Workshop
2|Custom | Choose software products and components to install and perform optional |configuration.
Enter index number to select OR [Exit][Previous][Next]> 2 选择要安装的产品组件 <------------------------ BEA Installer - BEA Products ----------------------->
Choose Components to install: -----------------------------
Release 10.2.1.0 |_____WebLogic Server [1] x | |_____Server [1.1] x | |_____Server Examples [1.2] x | |_____Server Add-ons [1.3] x |_____Workshop [2] x |_____Workshop for WebLogic [2.1] x |_____Workshop Runtime Framework [2.2] x
Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> next 选择是否安装Eclipse <------------------------ BEA Installer - BEA Products ----------------------->
Install Eclipse Options: ------------------------
Install BEA installer bundled Eclipse or use the existing Eclispe.
->1|Install Eclipse | | Installer will use the BEA installer bundled |Eclipse kit and installs it to: |"/bea/tools/eclipse_pkgs/1.1/eclipse_3.2.2/eclipse"
2|Use Existing Eclipse | | Do not install the installer bundled Eclipse. |I will specify Eclipse Home to use.
Enter index number to select OR [Exit][Previous][Next]> 1
<------------------------ BEA Installer - BEA Products ----------------------->
Choose Product Installation Directories: ----------------------------------------
"Default Product Home" = [Enter new value or use default "/bea/wlserver_10.0"]
Enter new Default Product Home OR [Exit][Previous][Next]> next 安装确认 <------------------------ BEA Installer - BEA Products ----------------------->
Choose Product Installation Directories: ----------------------------------------
BEA Home Directory: [/bea]
Product Installation Directories:
1|Default Product Home: [/bea/wlserver_10.0] 2|Workshop: [/bea/workshop_10.2]
Enter index number to select OR [Exit][Previous][Next]> next
<------------------------ BEA Installer - BEA Products ----------------------->
Installing files..
0% 25% 50% 75% 100% [------------|------------|------------|------------] [***************************************************]
<------------------------ BEA Installer - BEA Products ----------------------->
Installing JDK....
0% 25% 50% 75% 100% [------------|------------|------------|------------] [***************************************************]
Performing String Substitutions...
Creating Domains... 安装结束
<------------------------ BEA Installer - BEA Products ----------------------->
Installation Complete
Congratulations! "BEA Products" has been successfully installed.
Press [Enter] to continue or type [Exit]> exit
<------------------------ BEA Installer - BEA Products ----------------------->
Clean up process in progress ... 配置管理服务器的域 AdminServer Name: AdminServer Listen Address: 192.168.0.111 Listen Port: 8080 SSL Listen Port: 8081 SSL enabled: true Domain Name: weblogic
运行Configuration Wizard $/bea/wlserver_10.2/common/bin/config.sh -mode=console §2.3.2 选择创建新域 <-------------------- 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.
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.
Enter index number to select OR [Exit][Previous][Next]> 1 <-------------------- Oracle WebLogic Configuration Wizard ------------------->
Application Template Selection: -------------------------------
Available Templates |_____WebLogic Server (Required)x Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> 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"
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:" = []
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
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:" = []
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
注意:weblogic 10g以后的密码不能为纯英文
选产品模式+JRockitJDK
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Java SDK Selection: -------------------
->1|JRockit SDK 1.5.0_15 @ /bea/jrockit_150_15 2|Sun SDK 1.5.0_15 @ /bea/jdk150_15 3|Other Java SDK
Enter index number to select OR [Exit][Previous][Next]> 1
<--------------------- BEA 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
Enter index number to select OR [Exit][Previous][Next]> 1
<--------------------- BEA 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" Enter option number to select OR [Exit][Previous][Next]> 2 配置监听地址 <--------------------- BEA 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 |
Enter value for "Listen address" OR [Exit][Previous][Next]> 192.168.0.111 配置监听端口 <--------------------- BEA 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: | 192.168.0.111 | 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" 5 - Discard Changes
Enter option number to select OR [Exit][Previous][Next]> 3 <--------------------- BEA 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: | 192.168.0.111 | 3| Listen port: | 7001 | 4| SSL listen port: | N/A | 5| SSL enabled: | false | Enter value for "Listen port" OR [Exit][Previous][Next]> 8080 配置SSL验证 <--------------------- BEA 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: | 192.168.0.111 | 3| Listen port: | 8080 | 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
Enter option number to select OR [Exit][Previous][Next]> 4 配置SSL验证 <--------------------- BEA 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.
*Enter index number to modify "Value"
1|true ->2|false 3|Unspecified
Enter index number to select OR [Exit][Reset][Accept]> 1
配置SSL端口 <--------------------- BEA 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: | 192.168.0.111 | 3| Listen port: | 8080 | 4| SSL listen port: | 7002 | 5| SSL enabled: | true |
Use above value or select another option: 1 - Modify "Name" 2 - Modify "Listen address" 3 - Modify "Listen port" 4 - Modify "SSL listen port" 5 - Modify "SSL enabled" 6 - Discard Changes
Enter option number to select OR [Exit][Previous][Next]> 4
<--------------------- BEA 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: | 192.168.0.111 | 3| Listen port: | 8080 | 4| SSL listen port: | 7002 | 5| SSL enabled: | true |
Enter value for "SSL listen port" OR [Exit][Previous][Next]> 8081 <--------------------- BEA 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: | 192.168.0.111 | 3| Listen port: | 8080 | 4| SSL listen port: | 8081 | 5| SSL enabled: | true |
Use above value or select another option: 1 - Modify "Name" 2 - Modify "Listen address" 3 - Modify "Listen port" 4 - Modify "SSL listen port" 5 - Modify "SSL enabled" 6 - Discard Changes Enter option number to select OR [Exit][Previous][Next]> next
不进行管理服务器配置 <--------------------- BEA 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 | _|_______|________________|_____________|_________________|_____________|
Enter name for a new OR [Exit][Previous][Next]> next
<--------------------- BEA 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 | _|_______|___________________|________________|_________________|
Enter name for a new Cluster OR [Exit][Previous][Next]> next
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Configure Machines: -------------------
Add or delete configuration information for machines. A machine is the logical representation of the system that hosts one or more WebLogic Server instances. The Administration Server and Node Manager application use the machine definition to start remote servers.
| Name* | Node manager listen address | Node manager listen port | _|_______|_____________________________|__________________________|
Enter name for a new Machine OR [Exit][Previous][Next]> next
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Configure Unix Machines: ------------------------
Add or delete configuration information for machines. A machine is the logical representation of the system that hosts one or more WebLogic Server instances. The Administration Server and Node Manager application use the machine definition to start remote servers.
| Name | _|______|
Enter name for a new Unix Machine OR [Exit][Previous][Next]> next
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Select the target domain directory for this domain: ---------------------------------------------------
"Target Location" = [Enter new value or use default "/bea/user_projects/domains"] Enter new Target Location OR [Exit][Previous][Next]> next 配置域名 <--------------------- BEA WebLogic Configuration Wizard --------------------->
Edit Domain Information: ------------------------
| Name | Value | _|________|_____________| 1| *Name: | base_domain |
Enter value for "Name" OR [Exit][Previous][Next]> weblogic
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Edit Domain Information: ------------------------
| Name | Value | _|________|__________| 1| *Name: | weblogic |
Use above value or select another option: 1 - Modify "Name" 2 - Discard Changes
Enter option number to select OR [Exit][Previous][Next]> next
<--------------------- BEA WebLogic Configuration Wizard --------------------->
Creating Domain...
0% 25% 50% 75% 100% [------------|------------|------------|------------] [***************************************************]
**** Domain Created Successfully! ****
目录结构
|---bea 主目录
|---/jdk_xxx/ 包含Sun JDK软件(如果此软件已随您的软件安装)。JDK提供
| 了Java运行时环境(JRE)和工具,永远对JAVA应用程序进行编
| 译和调试。在此目录名称中,xxx表示系统上安装的Sun JDK
| 版本
|---/jrockit_xxx/ 包含随您软件安装的BEA JRockit JDK软件。JDK提供了Java
| 运行时(JRE)和工具,用于对Java应用程序进行编译和调试。
| 在此目录名称中,xxx表示系统上安装的JRockit JDK版本。
|---/logs/ 包含BEA主目录的安装和卸载历史记录文件
|---/user_projects/ 包含着用户创建的域信息,在domains下面分开存放着域,域
| 下面存放着各自的应用程序
|---/util/ 包含用于至此BEA主目录的所有BEA产品安装使用工具(第三方
| 工具)。Utils.jar文件包含支持UpdateLicence实用工具的代码
|--/wlserver_10.3/ Weblogic Server主目录,包含Weblogic安装的所有组件的信
| 息
|--/workshop_10.3/ Weblogic工作车间,包含weblogic开发用的工具、包、可执行
| 文件等
|---/tools/ 包含了不是IDE版本的eclipse工具
|---/modules/ 系统及应用运行时所需的jar文件
|---/registry.xml 注册表文件,包含目标系统上安装所有BEA产品的持久性记
| 录。此注册表包含与产品相关的信息,如版本号,Service
| Pack编号,以及安装目录的位置。注意:勿手工编写该文件,
| 避免出错
参考至:《叱咤风云:WebLogic企业级运维实战》戴冠平著
http://www.blogjava.net/sham2k/articles/288822.html 本文原创,转载请注明出处、作者 如有错误,欢迎指正 邮箱:czmcj@163.com
Weblogic的安装与配置的更多相关文章
- WEBLOGIC的安装、配置和启动
WEBLOGIC的安装.配置和启动 一.软件安装1. 安装前的准备工作 1.1 首先请确认您要安装的WebLogic版本所在的平台已通过了BEA的认证,完整的认证平台列表请参考 http://e-do ...
- Weblogic的安装、配置与应用部署
1. Weblogic安装 1.1 Linux下安装过程 安装环境: 操作系统: redhat-release-5Server-5.4.0.3 Weblogic版本: Weblogic 9.24 1) ...
- WebLogic的安装和配置以及MyEclipse中配置WebLogic
WebLogic 中间件: 是基础软件的一大类,属于可复用软件的范畴,顾名思义,中间件属于操作系统软件与应用软件的中间,比如:JDK,框架,weblogic. weblogic与tomcat区别 : ...
- weblogic 的安装和配置
一.安装 1.1安装weblogic8.1 首先从www.bea.com上下载安装文件platform816_linux32.bin,然后在安装文件所在目录下键入 ./platform816_linu ...
- weblogic 12c 安装与下载
转 一.WebLogic的介绍 WebLogic是美国bea公司出品的一个application server,确切的说是一个基于Javaee架构的中间件,纯java开发的,最新版本Web ...
- WebLogic 11g的安装与配置详谈配置详谈
之前以weblogic8.1为例介绍了其具体安装,但是由于现在weblogic 11g毕竟使用越来越广泛 ,因此,下面将介绍weblogic 11g的具体安装以及配置: 一.安装步骤(基本跟之前we ...
- WebLogic 8的安装与配置详谈
本文主要是以windouw下32位的版本为例展开介绍,主要包括其安装与配置. 一.图形界面安装过程 1.双击安装程序server815_win32.exe,开始进行程序的安装. 2.点击Next按钮进 ...
- Weblogic安装与配置图文详解
Weblogic是什么Weblogic的安装Weblogic创建域Weblogic管理域Weblogic的应用Weblogic是什么 Weblogic这是我入职以后第一次接触到的词汇,我很陌生,就从我 ...
- Linux下Weblogic 11g R1安装和配置
自己留着好好看看! 文章摘自 :http://blog.163.com/ng_0125@126/blog/static/170162360201311773235995/ 1. 安装前 1 确定w ...
随机推荐
- 解决Android Studio Gradle Build Running慢的问题
Android Studio方便好用,但是Android Studio Gradle Build Running很慢 解决方法: C:\Users\你的用户名\.gradle 目录下新建一个文件名为 ...
- java-int类型:int默认为0导致更新操作未赋值的情况下将值更新为0
日常开发中,做更新操作的时候的处理方法为:当这个字段有值则更新,没有值就不更新,在mybatis的xml中表现为: <!-- 修改记录,只修改只不为空的字段 --> <update ...
- js日历选择控件
mydate97: http://www.my97.net/dp/demo/index.htm
- INotifyPropertyChanged, Interface
Data Object(class) impliment INotifyPropertyChanged; then the Object can update BindingSource. Impli ...
- Mac通过终端显示和隐藏 隐藏文件
defaults write com.apple.finder AppleShowAllFiles -bool true; killall Finder //显示隐藏文件 defaults write ...
- Java-马士兵动态代理模式
Java-马士兵动态代理模式 模拟jdk的动态代理的实现原理, 这些东西没有必要写出来,写项目的时候一般用不上,主要是为了面试和理解原理: java动态代理有什么作用 作用非常大,在很多底层框架中都会 ...
- iOS超全开源框架、项目和学习资料汇总(5)AppleWatch、经典博客、三方开源总结篇
完整项目 v2ex – v2ex 的客户端,新闻.论坛.apps-ios-wikipedia – apps-ios-wikipedia 客户端.jetstream-ios – 一款 Uber 的 MV ...
- sql存储过程异常捕获并输出例子还有不输出过程里面判断异常 例子
编程的异常处理很重要,当然Sql语句中存储过程的异常处理也很重要,明确的异常提示能够快速的找到问题的根源,节省很多时间. 下面,我就以一个插入数据为例来说明Sql Server中的存储过程怎么捕获异常 ...
- App.domain http->https
App.domain = `${location.origin}/toa-mgw/rest/gateway`.replace(/http:\/\//, 'https://');
- DevExpress 为TextEdit设置水印文字
设置水印代码: //设置水印值public static void SetWatermark(this TextEdit textEdit, string watermark) { textEdit. ...