WebSphere 安装

您所在的位置:网站首页 linux安装websphere WebSphere 安装

WebSphere 安装

2023-06-10 20:56| 来源: 网络整理| 查看: 265

前言

为了代码适配Websphere,而搭建的环境

准备 Linux CentOS7 系统 WebSphere 8.5 安装IBM Installation Manager下载IBM Installation Manager

基于IBM Installation Manager安装WebSphere,故下载

需要登录才可以下载,注册一个IBM ID就行

解压并安装1# unzip agent.installer.linux.gtk.x86_64_1.8.9000.20180313_1417.zip

在解压目录中执行如下命令,默认安装目录为/opt/IBM/InstallationManager

1# ./installc -log log_file -acceptLicense

installc命令的用法详见官方文档)

安装WAS安装WAS下载WAS安装包(不对)

到官方地址按步骤下载Linux版本的WAS。需要使用绑定了site number的IBM ID登录 IBM Passport Advantage Online website,检索Part number找到相应的文件进行下载。以WAS ND 8.5.5为例, “CIK2HML,CIK2IML,CIK2JML”对应三个文件。

解压

解压WAS安装源的压缩包

123# unzip was.repo.8550.basetrial_part1.zip -d was/# unzip was.repo.8550.basetrial_part2.zip -d was/# unzip was.repo.8550.basetrial_part3.zip -d was/

通过IM的listAvailablePackages命令验证安装包的版本

1# /opt/IBM/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories /opt/software/was/

显示结果:com.ibm.websphere.BASETRIAL.v85_8.5.5000.20130514_1044输出的结果中com.ibm.websphere.BASETRIAL.v85是WAS的offering_ID,

8.5.5000.20130514_1044是offering_version, 在下文中更新WAS的时候会用到。 安装 用install命令进行安装,-installationDirectory参数指定安装路径1# /opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.BASETRIAL.v85 -repositories /opt/software/was/ -installationDirectory /opt/IBM/WebSphere/AppServer/ -acceptLicense -showProgress 安装成功 验证1# /opt/IBM/InstallationManager/eclipse/tools/imcl listInstalledPackages -verbose 更新WAS配置使用

创建应用概要文件

1# ./manageprofiles.sh -create -profileName AppSvr01 -profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSvr01/ -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/default -hostName 127.0.0.1

启动

12# cd /opt/IBM/WebSphere/AppServer/profiles/AppSvr01/bin# ./startServer.sh server1

登陆管理控制台查看控制台端口

123456# more /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/dev01Node01Cell/nodes/dev01Node01/serverindex.xml

WC_adminhost_secure

参考资料 命令行方式安装IBM WebSphere Application Server WebSphere 8.5.5 静默安装及升级补丁


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3