前言

was(websphere application server),类似weblogic、tomcat,由IBM开发的一种企业级Java容器。

  • 系统版本:redhat 8.2
  • was版本:was 9.0.5.4
  • 安装文件:
相关程序 安装包 备注
IM gtk.x86_64_1.8.9004.20190423_2015.zip InstallationManager
was安装包 was.repo.90501.nd.zip
IBM JDK ibm-java-sdk-8.0-6.10-linux-x64-installmgr.zip
IHS Plugin
IHS Plugin补丁文件
WAS补丁文件 9.0.5-WS-WAS-FP004.zip

安装InstallationManager

  1. 解压im安装包
unzip gtk.x86_64_1.8.9004.20190423_2015.zip
  1. 解压后进入IM安装包目录,执行命令
./userinstc -installationDirectory /home/apps/was/InstallationManager -acceptLicense -log im_install.log

安装was

  1. 进入im安装后的目录/home/apps/was/InstallationManager/eclipse),创建文件:install_response_file_was9054.xml,内容如下,注意根据实际情况修改安装位置
<?xml version='1.0' encoding='UTF-8'?>
<agent-input>
<variables>
<!-- 共享库安装位置 -->
<variable name='sharedLocation' value='/home/apps/was/IBM/IMShared'/>
</variables>
<server>
<!-- was安装文件所在位置 -->
<repository location='/home/apps/was/was'/>
<!-- was补丁包文件所在位置 -->
<repository location='/home/apps/was/wasfix'/>
<!-- jdk安装文件所在位置 -->
<repository location='/home/apps/was/jdk'/>
</server>
<!-- was安装位置 -->
<profile id='IBM WebSphere Application Server V9.0' installLocation='/home/apps/was/IBM/WebSphere/AppServer'>
<data key='cic.selector.arch' value='x86_64'/>
<data key='cic.selector.nl' value='zh,en'/>
</profile>
<install>
<!-- IBM WebSphere Application Server Network Deployment 9.0.5.4 -->
<offering profile='IBM WebSphere Application Server V9.0' id='com.ibm.websphere.ND.v90' version='9.0.5004.20200520_1523' features='core.feature,ejbdeploy,thinclient,embeddablecontainer'/>
<!-- IBM SDK, Java Technology Edition, Version 8 8.0.6.10 -->
<offering profile='IBM WebSphere Application Server V9.0' id='com.ibm.java.jdk.v8' version='8.0.6010.20200421_1200' features='com.ibm.sdk.8'/>
</install>
<preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='${sharedLocation}'/>
</agent-input>
  1. 解压安装包到目录
# was安装包
unzip was.repo.90501.nd.zip -d /home/apps/was/was
# was补丁包
unzip 9.0.5-WS-WAS-FP004.zip -d /home/apps/was/wasfix/
# ibm jdk包
unzip ibm-java-sdk-8.0-6.10-linux-x64-installmgr.zip -d /home/apps/was/jdk
  1. 执行命令进行安装
./tools/imcl -acceptLicense input install_response_file_was9054.xml -log install_was9054.xml

基本使用

  • 创建管理
cd /home/apps/was/IBM/WebSphere/AppServer/bin

# -hostname: 主服务器的主机名
./manageprofiles.sh -create -profileName Dmgr01 -profilePath /home/apps/was/IBM/WebSphere/AppServer/profiles/Dmgr01 -templatePath /home/apps/was/IBM/WebSphere/AppServer/profileTemplates/dmgr/ -hostname wasnode1

  • 创建应用
cd /home/apps/was/IBM/WebSphere/AppServer/bin

# -hostName: 主服务器的主机名
# -nodeName: 自定义节点名
# -serverName: 自定义服务名
./manageprofiles.sh -create -profileName AppSvr01 -profilePath /home/apps/was/IBM/WebSphere/AppServer/profiles/AppSvr01 -templatePath /home/apps/was/IBM/WebSphere/AppServer/profileTemplates/default -hostName wasnode1 -nodeName wasnode2 -serverName svr01

  • 启动控制台
cd /home/apps/was/IBM/WebSphere/AppServer/bin
./startManager.sh # 启动结束后,在浏览器访问: http://<ip>:9060/ibm/console,用户标识可以填root
  • 添加应用到管理节点
# 进入应用配置的目录
cd /home/apps/was/IBM/WebSphere/AppServer/profiles/AppSvr01/bin # 需要先在/etc/hosts中添加wasnode1的记录
./addNode.sh wasnode1 8879 -username admin -password admin
  • 启动Node节点
cd /home/apps/was/IBM/WebSphere/AppServer/profiles/AppSvr01/bin
./startNode.sh
  • 启动Node节点中的服务
cd /home/apps/was/IBM/WebSphere/AppServer/profiles/AppSvr01/bin
./startServer.sh svr01

参考

RedHat8静默安装was的更多相关文章

  1. Oracle 11g静默安装软件+手工创建数据库

    由于是二次跳转+远程操作,无法使用图形界面,不能直接图形界面安装.采用静默安装软件+手工创建数据库的方式完成需求. 静默模式安装Oracle软件,配置监听程序 手工建库 检查各组件是否符合要求 1. ...

  2. Oracle 11g静默安装简明版

    环境:RHEL 6.5 + Oracle 11.2.0.4 1. 初步处理应答文件 2. 静默安装软件 3. 静默安装监听 4. 静默dbca建库 说明: 本文默认安装软件前的步骤已经设置完毕 如果没 ...

  3. 单机静默安装GI软件并创建ASM实例和ASM磁盘组

    环境:RHEL 6.4 + Oracle 11.2.0.4 需求:单机静默安装GI软件并创建ASM实例和ASM磁盘组,为后续迁移数据库文件到ASM做准备 1. 安装配置GI软件 2. 创建ASM实例 ...

  4. Linux 平台静默安装 Oracle客户端

    需求:Linux平台,安装完整版Oracle客户端 Tips:如果只是用到sqlldr,sqlplus功能,可以参考<Linux上oracle精简版客户端快速部署>快速部署精简版:如果需要 ...

  5. Windows批处理:自动部署常用软件(静默安装)

    一.简介 最近一直在测试使用域组策略自动部署软件,效果并不理想.首先,主机必须加入域才能让策略生效.其实是Windows Server 2012 R2只支持.msi格式的安装包,所以部署前需将软件重新 ...

  6. oracle11gR2静默安装

    oracle11G静默安装过程——linux环境 1.操作系统及Oracle版本 Linux版本:CentOS release 6.8 (Final) Oracle版本:Oracle Database ...

  7. .NET Framework 4.5.2 静默安装参数

    Microsoft .NET Framework 4.5.2 是针对 Microsoft .NET Framework 4.Microsoft .NET Framework 4.5 和 Microso ...

  8. Android随笔之——静默安装、卸载

    随笔之所以叫随笔,就是太随意了,说起来,之前的闹钟系列随笔还没写完,争取在十月结束之前找时间把它给写了吧.今天要讲的Android APK的静默安装.卸载.网上关于静默卸载的教程有很多,更有说要调用隐 ...

  9. 【静默安装】configToolAllCommands响应文件问题

    [静默安装]configToolAllCommands响应文件问题 客户在静默安装RAC 12.1.0.2的时候有如下的输出: Successfully Setup Software. As inst ...

  10. linux 之静默安装oracle

    Web服务器上面的Linux一般是不会有图形界面的,所有通过图形界面来安装Linux的方式在没有图形界面的Linux上面是行不通的,我们要使用的安装方式叫做Linux的静默安装.即在没有图形界面的Li ...

随机推荐

  1. 2020-09-10:java里Object类有哪些方法?

    福哥答案2020-09-10: registerNatives:private+static.getClass:返回此 Object 的运行时类. hashCode:返回该对象的哈希码值.equals ...

  2. 2021-01-06:mysql中,我存十亿个手机号码,考虑存储空间和查询效率,用什么类型的字段去存?

    福哥答案2021-01-06: [答案来自此链接:](https://www.zhihu.com/question/438078173)首先提出假设:考虑一下这几个问题:手机号码都是数字吗?都是中国的 ...

  3. 数字分频器设计(偶数分频、奇数分频、小数分频、半整数分频、状态机分频|verilog代码|Testbench|仿真结果)

    目录 一.前言 二.偶数分频 2.1 触发器级联法 2.2 计数器法 2.3 verilog代码 2.4 Testbench 2.5 仿真结果 三.奇数分频 3.1 占空比非50%奇数分频 3.2 占 ...

  4. json在线效验检测工具

    json在线效验检测工具:https://www.sojson.com/ 解析结果: { 'os_type': 'Windows', 'os_release': '10 64bit 10.0.1904 ...

  5. 40% building 31/38 modules 7 active ...es\core-js\modules\es6.object.assign.jsBrowserslist: caniuse-lite is outdated.

    一早运行项目发现不正常 虽然能运行,但是怎么看都不顺眼啊,那就照着提示先: npm update 一连串下来啥也看不懂是不是 我就直接npm install看看重新下载一下依赖结果直接给我来了个 :c ...

  6. lec-4-Introduction to Reinforcement Learning

    模仿学习imitation learning与RL的不同 模仿学习中需要有专家指导的信息 RL不需要访问专家信息 RL Definitions 奖励函数 马尔科夫决策链 只与上一个状态有关 目的 空间 ...

  7. 解决git 本地代码与远程仓库冲突问题

    在使用协同开发难免会出现同时修改某个文件导致代码冲突的问题 * branch master -> FETCH_HEAD error: Your local changes to the foll ...

  8. Mac常用文件解压命令

    tar 解压:tar xvf fileName.tar 压缩:tar cvf fileName.tar directoryName rar 1.安装rar 下载RAR https://www.rarl ...

  9. 从 Blast2GO 本地化聊一聊 Linux 下 MySQL 的源码安装

    Blast2GO 是一个基于序列相似性搜索的 GO 注释和功能分析工具,它可以直接统计分析基因功能信息,并可视化 GO 有向非循环图(DAG)上的相关功能特征,分析 BLAST.GO-mapping. ...

  10. Access+Trunk 配置

    实验拓扑 实验需求 按图示给各 PC 配置 IP 地址 在SW1和SW2上创建聚合组 PC1 与 PC3 属于 VLAN 10 : PC2 与 PC4 属于 VLAN 20 利用 Access 与 T ...