首页 > 其他分享 >RedHat8静默安装was

RedHat8静默安装was

时间:2022-11-05 12:44:40浏览次数:74  
标签:IBM AppServer WebSphere apps 静默 home was RedHat8

前言

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

安装IM

安装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

参考

标签:IBM,AppServer,WebSphere,apps,静默,home,was,RedHat8
From: https://www.cnblogs.com/XY-Heruo/p/16859970.html

相关文章

  • 记一次生产环境WAS9与NC配置https
    首先获取证书(客户提供)然后把证书传到服务器的/opt/IBM9/HTTPServer/bin/目录下这里客户提供的证书是crt格式的,首先我们转换成p12格式的证书我们找到我们传到服......
  • gwas流程
    1.首先创建ID列表和表型文件用gwas5.sh进行FarmCPU和MLM进行关联分析(mvp_p_k.r),同时计算了PCA。2.用lddecay.sh计算vcf的ld,储存在lddecay文件夹3.用annovar对vcf进行注......
  • One of the identified items was in an invalid format.
    查询mysql数据出现异常,查询count没有问题原因:guid类型字段造成,可能是数据库是string类型,代码中定义的guid,生成的guid有问题或重复或者是数据库定义的guid,但是查询时代......
  • Mixed Content: The page at ‘<URL>‘ was loaded over HTTPS, but requested an insec
    报错信息:MixedContent:Thepageat‘’wasloadedoverHTTPS,butrequestedaninsecurescript‘’.Thisrequesthasbeenblocked;thecontentmustbeserved......
  • gRPC - Debug - Channel ManagedChannelImpl was not shut down properly
    问题描述生产代码报错:2022-10-31T09:06:46,530[portRiskService-1002-2950@168-63-70-238:8]ERRORio.grpc.internal.ManagedChannelOrphanWrapper-*~*~*~Channel......
  • Linux:RedHat8 联网安装docker
    1.查看docker版本安装yum-config-manager#这个命令在yum-utils包yuminstall-yyum-utils下载docker-ce的源#下载docker-ce源文件yum-config-manager--add-repohttps:/......
  • Linux:RedHat8 设置中文输入法
    RadHat8自带中文输入法,只是默认没有使用。1.切换视图,搜索:Language快捷键:Win+Tab2.添加输入法3.切换输入法的快捷键super(Win)+空格 -----------------------------......
  • Linux:RedHat8 联网安装docker
    1.查看docker版本安装yum-config-manager#这个命令在yum-utils包yuminstall-yyum-utils下载docker-ce的源#下载docker-ce源文件yum-config-manager--add-repo......
  • Linux:RedHat8 设置中文输入法
    RadHat8自带中文输入法,只是默认没有使用。1.切换视图,搜索:Language快捷键:Win+Tab2.添加输入法3.切换输入法的快捷键super(Win)+空格 ......
  • git push 出现 OpenSSL SSL_read: Connection was aborted, errno 10053报错
    gitpush出现OpenSSLSSL_read:Connectionwasaborted,errno10053报错    原因:git默认的缓存区太小了,增加缓冲器。gitconfig--globalhttp.postBuff......