Linux「第五节」-was容器的安装

Linux「第五节」-was容器的安装

 

was部署分为单机部署和分布式部署,分布式部署要用 ND版本的

但是基本的 命令行安装方式 用以下9个步骤即可:路径要根据实际情况更改为自己的

实测版本为:was 8.5.5

1.agent.installer.linux.gtk.x86_64_1.8.4000.20151125_0201.zip解压 ibminstallmanage
unzip -n agent.installer.linux.gtk.x86_64_1.8.4000.20151125_0201.zip -d ibminstallmanage
2.was的3个part解压到wasfile
unzip -n was.repo.8550.developers.ilan_part1.zip -d wasfile
3.cd /data/jenkins/new_was8.5/ibminstallmanage
./installc -installationDirectory /data/was/IMS/eclipse -acceptLicense
4.得到小版本号
cd /data/was/IMS/eclipse/tools
./imcl listAvailablePackages -repositories /data/wasfile/repository.config 
返回结果:com.ibm.websphere.DEVELOPERSILAN.v85_8.5.5000.20130514_1044
5.修改repository.config文件
 cd /data/was /new_was8.5/wasfile
 vi repository.config
-OPT silentInstallLicenseAcceptance="true"
-OPT allowNonRootSilentInstall="true" 
-OPT disableOSPrereqChecking="true"
-OPT installType="installNew"
-OPT feature="noFeature"
-OPT installLocation="/data/was/IBM/WebSphere/AppServer"
-OPT profileType="none"
-OPT PROF_enableAdminSecurity="false"

6. cd /data/was/IMS/eclipse/tools

./imcl install com.ibm.websphere.DEVELOPERSILAN.v85_8.5.5000.20130514_1044 -repositories /data/was/wasfile/repository.config -installationDirectory /data/was/IBM/WebSphere/AppServer -sharedResourcesDirectory /data/was/IBM/IMShared -nl zh-cn -acceptLicense

7.创建管理概要
cd /data/was/IBM/WebSphere/AppServer/bin
./manageprofiles.sh -create -profileName Dmgr01 -templatePath /data/was/IBM/WebSphere/AppServer/profileTemplates/management/ -hostname fin-test-ibis13


8.创建应用概要
./manageprofiles.sh -create -profileName AppSvr01 -templatePath /data/was/IBM/WebSphere/AppServer/profileTemplates/default -hostName fin-test-dfq211 -nodeName node1 -serverName server1

9. 设置用户名和密码
本人很懒,这个大家可以去网上搜,就不列举了,如果找不到,可以私信哈

单机或子节点的话,第7步就不用安装了;分布式的话,需要添加子节点:

./addNode.sh mstaer的主机名 8879 -username admin -password admin

分布式还需要更改/etc/hosts的配置,保证分布式的各个服务都能ping通

如果管理概要或应用概要安装错了,可以通过以下方式删除

1.查看安装了哪些应用及删除

cd /data/was/IBM/WebSphere/AppServer/bin

./manageprofiles.sh -listProfiles

2.删除应用

./manageprofiles.sh -delete -profileName Dmgr01

3.删除对应文件夹

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

测试界

您的支持是我前进的动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值