版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、 WebLogic8.1安装部署说明版本 版本: WebLogic8.1安装部署说明 日期: 修订历史记录日期版本说明作者目录1.简介41.1目的41.2范围41.3概述42.参考资料43.系统环境43.1硬件要求43.2软件环境44.安装部署44.1部署前准备44.2安装WebLogic 8.154.3创建服务54.4部署应用114.4.1启动和关闭114.4.2设置自动启动WebLogic124.5常见问题FAQ13安装部署说明1. 简介1.1 目的本文档主要介绍WebLogic8.1在Linux系统下的通用安装部署1.2 范围应用范围包括有:大汉网络项目部使用该系统的客户1.3 概述2.
2、 参考资料标题版本作者linuxas3+jdk+oracle9i+weblogic8.1+JCMS2.0安装文档1.0张弩3. 系统环境3.1 硬件要求 服务器: 最低配置:P4 2.0 CPU、512M内存、2G剩余硬盘空间 3.2 软件环境 服务器: RedHat Linux 7.3以上/RedHat.Enterprise.Server.3.AS WebLogic platform 8.1 sp44. 安装部署4.1 部署前准备把WebLogic的bin包放在/home目录上. 1、创建weblogic用户组。groupadd weblogicuseradd -g weblogic web
3、logicpasswd weblogic(修改weblogic密码)2、创建/var/web/jsp/bea目录,修改目录所有者权限mkdir /var/web/jsp/beachown Rf weblogic:weblogic /var/web/jsp/bea3、用weblogic用户登陆系统,修改配置文件。vi /.bash_profile增加export LANG=en_US.iso8859154.2 安装WebLogic 8.1赋予.bin可执行权限:chmod a+x platform814_linux32.bin执行./platform814_linux32.bin -mode=c
4、onsole进入控制台安装的欢迎界面,键入Next继续此时出现授权许可协议,读完后键入Yes继续提示选择一个BEA主目录:输入:/var/web/jsp/bea确认BEA主目录, 键入1继续选择安装类型, 键入1继续选择安装路径,默认,输入next继续。确认安装路径。键入1继续安装完毕。注:(两个补丁文件见补丁包的说明)4.3 创建服务使用WebLogic用户登录系统:weblogicjcms bin$ cd /var/web/jsp/bea/weblogic81/common/binweblogicjcms bin$ ./config.shUnable to instantiate GUI,
5、 defaulting to console mode.进入设置:Create or Extend a Configuration:-Choose between creating and extending a configuration. Based on your selection, the Configuration Wizard guides you through the steps to generate a new or extend an existing configuration. -1|Create a new WebLogic configuration | Sta
6、rt here to create a WebLogic configuration in your projects directory. 2|Extend an existing WebLogic configuration | Start here to extend an existing WebLogic configuration. Use this option to add applications and services, including Database |access (JDBC) and Messaging (JMS). This option also enab
7、les you to extend functionality by enabling WebLogic Workshop. Enter index number to select OR ExitNext 1Select a Domain Template:-Please select a template from the list or select another directory of templates.*/home/weblogic/bea/weblogic81/common/templates/domains 1|Basic WebLogic Platform Domain
8、 | BEA Systems, Inc. | Create a basic WebLogic Platform domain, without installing sample applications. Domains created from this template will support the |WebLogic Server, WebLogic Workshop, WebLogic Integration and WebLogic Portal runtime functionality, including support for J2EE |applicat
9、ions, Web applications, Web Services, custom controls, business processes and portals. Use domains created from this template |for development of WebLogic Platform applications. 2|Basic WebLogic Portal Domain | BEA Systems, Inc. | Create a basic WebLogic Portal domain, without installing sam
10、ple applications. Domains created from this template will support the |WebLogic Server, WebLogic Workshop and WebLogic Portal runtime functionality, including support for J2EE applications, Web applications, |Web Services, custom controls and portals. Use domains created from this template for devel
11、opment of WebLogic Portal applications. 3|Basic WebLogic Integration Domain | BEA Systems, Inc. | Create a basic WebLogic Integration domain, without installing sample applications. Domains created from this template will support |the WebLogic Server, WebLogic Workshop and WebLogic Integrati
12、on runtime functionality, including support for J2EE applications, Web |applications, Web Services, custom controls and business processes. Use domains created from this template for development of WebLogic |Integration applications. 4|Basic WebLogic Workshop Domain | BEA Systems, Inc.Enter
13、index number to select OR DownExitPreviousNext downSelect a Domain Template:-Please select a template from the list or select another directory of templates. | Create a basic WebLogic Workshop domain, without installing sample applications. Domains created from this template will support the |WebLog
14、ic Server and WebLogic Workshop runtime functionality, including support for J2EE applications, Web applications, Web Services and |custom controls. Use domains created from this template for development of WebLogic Workshop applications. -5|Basic WebLogic Server Domain | BEA Systems, Inc. |
15、 Create a basic WebLogic Server domain without installing sample applications. 6|WebLogic Server Examples Domain | BEA Systems, Inc. | Create the WebLogic Server Examples domain in a directory outside of the installed kit. The Examples domain contains a collection of |examples to show best p
16、ractices for coding individual J2EE APIs. 7|Avitek Medical Records Sample Domain | BEA Systems, Inc. | Create the Avitek Medical Records domain in a directory outside of the installed kit. The Avitek Medical Records is a WebLogic Server |sample application suite that concisely demonstrates a
17、ll aspects of the J2EE platform. 8|Select another directory locationEnter index number to select OR UpExitPreviousNext5Select a Domain Template:-Please select a template from the list or select another directory of templates. *The selected template is the same as the one you are working on. Do you *
18、want to reload the template ? -1|Yes 2|NoEnter index number to select OR ExitNext 1Choose Configuration Option:- *Do you want to run the wizard in express mode? -1|Yes 2|NoEnter index number to select OR ExitPreviousNext 1Configure Administrative Username and Password:-Create a user automatically as
19、signed to the Administrative 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: | The default administration user |Select Option: 1 - Modify Use
20、r name 2 - Modify User password 3 - Modify Confirm user password 4 - Modify DescriptionEnter option number to select OR ExitPreviousNext 2Configure Administrative Username and Password:-Create a user automatically assigned to the Administrative Role. This user is the default administrator used to st
21、art development mode servers. *User password: = Input new *User password: OR ExitResetAccept 输入八位密码 Configure Administrative Username and Password: -Create a user automatically assigned to the Administrative Role. This user is the default administrator used to start development mode servers. | Name
22、| Value | _|_|_| 1| *User name: | weblogic | 2| *User password: | * | 3| *Confirm user password: | | 4| Description: | The default administration user |Select Option: 1 - Modify User name 2 - Modify User password 3 - Modify Confirm user password 4 - Modify Description 5 - Discard ChangesEnter option
23、 number to select OR ExitPreviousNext 3Configure Administrative Username and Password:-Create a user automatically assigned to the Administrative Role. This user is the default administrator used to start development mode servers. *Confirm user password: = Input new *Confirm user password: OR ExitRe
24、setAccept 确认八位密码 /口令必须与上面的一样Configure Administrative Username and Password:-Create a user automatically assigned to the Administrative Role. This user is the default administrator used to start development mode servers. | Name | Value | _|_|_| 1| *User name: | weblogic | 2| *User password: | * | 3|
25、*Confirm user password: | * | 4| Description: | The default administration user |Select Option: 1 - Modify User name 2 - Modify User password 3 - Modify Confirm user password 4 - Modify Description 5 - Discard ChangesEnter option number to select OR ExitPreviousNext nextDomain Mode Configuration:-En
26、able Development or Production Mode for this domain. -1|Development Mode 2|Production ModeEnter index number to select OR ExitPreviousNext 2Java SDK Selection:- -1|JRockit SDK 1.4.2_04-8130 /home/weblogic/bea/jrockit81sp3_142_04 2|Sun SDK 1.4.2_04 /home/weblogic/bea/jdk142_04 3|Other Java SDKEnter i
27、ndex number to select OR ExitPreviousNext 1Select the target domain directory for this configuration:- Target Location = /home/weblogic/bea/user_projects/domainsInput new Target Location OR ExitPreviousNext 直接回车Edit Domain Information:- | Name | Value | _|_|_| 1| *Name: | mydomain |Enter value for N
28、ame OR ExitPreviousNext 输入名称或者直接回车Creating Domain.0% 25% 50% 75% 100%-|-|-|-* Domain Created Successfully! *完成服务的建立!4.4 部署应用4.4.1 启动和关闭1、如何启动WebLogicweblogicjcms bin$ cd /var/web/jsp/bea/user_projects/domains/mydomainweblogicjcms bin$ ./startWebLogic.sh(需要输入用户名密码)2、如何关闭WebLogicweblogicjcms bin$ ./st
29、opWebLogic.sh4.4.2 设置自动启动WebLogic1、无需输入用户名密码启动关闭weblogic。以weblogic账户在mydomain目录下,新建perties文件,输入:password=12345678username=weblogic把启动weblogic的用户名密码写进入。2、修改starWeblogic.sh和stopWeblogic脚本startWeblogic.sh /usr/bin/nohup$JAVA_HOME weblogic.Server /var/web/weblogic.log 2&1注意:红色部分为添加的命令。意为将启动脚本放到后
30、台执行,并输出日志。 stopWeblogic.sh #!/bin/sh脚本内容(删除这段脚本,用于身份验证,删除后就无需输入用户名密码)# set server name3、将weblogic的启动关闭作为linux系统服务。以root账户在/etc/init.d下新建weblogic文件,内容如下:#!/bin/sh# chkconfig: 345 20 80# description: Weblogic auto start-stop script.DOMAIN_HOME=/var/web/jsp/user_projects/domains/mydomainWLS_OWNER=weblogiccase $1 in start) su - $WLS_OWNER -c cd $DOMAIN_HOME; ./startWebLogic.sh ; stop) su - $WLS_OWNER -c cd $D
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年版高楼外墙装饰施工协议版B版
- 2024年新版建筑工程预算定额合同
- 2024年样品机器试用协议模板一
- 2024年标准型搅拌机销售协议范本版B版
- 2024年小学二年级数学(北京版)-总复习:综合练习-1教案
- 2018房地产经纪人考试《业务操作》试题
- 2024年度基础设施建设投资借款协议范本3篇
- 2025年衢州货运从业资格证模拟考试题库下载
- 2025年沧州考货运上岗证试答题
- 单位人事管理制度展示合集
- 幕墙施工重点难点及解决方案
- 年度成本管控的实施方案
- 2024年中国板钉式空气预热器市场调查研究报告
- 人教版八年级上册数学期末考试试卷附答案
- DB1331T 041-2023 雄安新区绿色街区规划设计标准
- 北京市海淀区2022届高三上学期期末考试政治试题 含答案
- 初中七年级主题班会:如何正确对待自己的错误(课件)
- 中华民族共同体概论学习通超星期末考试答案章节答案2024年
- 2024年航空职业技能鉴定考试-航空票务知识考试近5年真题集锦(频考类试题)带答案
- 2023年山东省潍坊市中考物理试卷及答案
- 天津市2023-2024学年七年级上学期期末数学试题(含答案)
评论
0/150
提交评论