云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > Websphere配置手册

Websphere配置手册

  • 62 次阅读
  • 3 次下载
  • 2025/6/23 13:35:24

Websphere配置手册

Websphere配置手册 ........................................................................................................................ 1 1. 启动 WebSphere Application Server ....................................................................................... 1 2. 系统启动和关闭的集成 ........................................................................................................... 1 3. 启停the deployment manager .............................................................................................. 5 4. 添加应用程序 ........................................................................................................................... 6 5. 删除应用程序 ......................................................................................................................... 13 6. 更新应用程序 ......................................................................................................................... 14 7. 更新WebSphere(silent方式安装) ......................................................................................... 14

安装升级工具 ......................................................................................................................... 14 升级文件 ................................................................................................................................. 15

1. 启动 WebSphere Application Server

a) WebSphere Application Server 提供 startServer.sh shell 脚本以简化应用

服务器的启动过程。此脚本有一个参数,即要启动的应用服务器的名称。 b) 启动应用服务器的方法是,使用 su 或 sudo -s 命令(取决于使用的是 UNIX 系

统还是 Linux 发行版)变成安装 WebSphere Application Server 的系统上的特权用户。在出现提示时,分别输入根密码或您的密码。 c) 接下来,输入以下命令启动 WebSphere Application Server:

/opt/IBM/WebSphere/AppServer/bin/startServer.sh server1

(在刚安装 WebSphere Application Server 的系统上,默认的服务器名称是 server1)。

2. 系统启动和关闭的集成

a) 在系统上安装应用服务器之后,通常希望在每次重新启动系统时自动启动它。在

Microsoft Windows 等平台上安装 WebSphere Application Server 时,安装过程允许用户把服务器和管理服务器定义为在启动系统时自动启动的 Windows 服务。但是,UNIX 和 Linux 安装程序没有提供相似的启动集成机制。因此,在 UNIX 和

Linux 系统上,必须手工地把 WebSphere Application Server 集成到系统启动过程中。

b) 所有 UNIX 和 Linux 系统都有一系列在系统启动时执行的 shell 脚本(通常称为

init 脚本),通过它们定义应该在启动和关闭过程中执行的任务。按照这种机制,

系统的主要启动脚本都放在 /etc/init.d 中(在某些系统上,此目录可能是 /etc/rc.d/init.d 目录的符号链接)。在系统引导时执行的针对特定操作级(称为 runlevel)的脚本是符号链接,它们把 /etc/rcrunlevel.d 目录中的脚本链接到 /etc/init.d 目录中的脚本。

1. 创建 SysVInit 脚本

为了为 WebSphere Application Server 创建 SysVInit 脚本,可以采用以下方法之一:

下载本教程提供的示例 SysVInit 脚本。

复制并修改现有的 init 脚本,让它执行与 WebSphere Application Server 相关联的进程。

本节的其余部分解释如何下载和使用本教程提供的示例 SysVInit 脚本,见 清单 1。 2.

示例 SysVInit 脚本 #!/bin/bash # # Simple startup script for IBM WebSphere Application Server # # chkconfig: - 85 15 # description: IBM WebSphere Application Server is a powerful \\ # middleware platform for connecting Web-based applications and \\ # servers. # Path to the WebSphere startup and shutdown scripts startscript=/opt/IBM/WebSphere/AppServer/bin/startServer.sh shutscript=/opt/IBM/WebSphere/AppServer/bin/stopServer.sh

prog=\RETVAL=0

# modify the following line as needed to reflect any custom Java # installation directory

PATH=/opt/IBM/ibm-java-x86_64_60/bin:$PATH

# Function to start the server start() {

echo -n $\$startscript server1 RETVAL=$? echo

return $RETVAL }

# Function to stop the server stop() {

echo -n $\

$shutscript server1 -username ADMINUSER -password PASSWORD RETVAL=$? echo

return $RETVAL }

# See how we were called. case \start)

start

;; stop)

stop ;; restart)

stop start ;; *)

echo $\exit 1 esac

exit $RETVAL

按照以下步骤下载和安装示例 SysVInit 脚本:

下载示例脚本。

作为根用户(或通过使用 sudo 命令)把此文件保存到系统上的 /etc/init.d 目录中,把它命名为 websphere_sysvinit.sh。

使用文本编辑器编辑它,把 ADMINUSER 和 PASSWORD 改为 在安装过程中定义的管理用户名和密码 并保存这些修改。

作为根用户或使用 sudo 命令,使用以下命令设置文件的可执行权限:

chmod 755 /etc/init.d/websphere_sysvinit.sh

搜索更多关于: Websphere配置手册 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

Websphere配置手册 Websphere配置手册 ........................................................................................................................ 1 1. 启动 WebSphere Application Server ....................................................................................... 1 2. 系统启动和关闭的集成 ............................................................................................

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com