Websphere MQ 7.0.0 For Linux版安装

 

将压缩包上传至指定目录,比如:/home/hqh/MQ7下面。

[root@localhost hqh]# cd MQ7

[root@localhost MQ7]# ls

CZ50AML.tar.gz

修改权限

[root@localhost MQ7]# chmod 755 CZ*

解压

[root@localhost MQ7]# tar zxvf CZ50AML.tar.gz

copyright

gsk7bas-7.0-4.23.i386.rpm

lap/

lap/jre/

lap/jre/jre/

。。。。省略

READMEs/zh_TW.BIG5/

READMEs/zh_TW.BIG5/readme

[root@localhost MQ7]#

同意license

[root@localhost MQ7]# ./mqlicense.sh -text_only

Licensed Materials - Property of IBM 

                 

 5724-H72 

 (C) Copyright IBM Corporation 1994, 2009 All rights reserved.

US Government Users Restricted Rights - Use, duplication or disclosure

restricted by GSA ADP Schedule Contract with IBM Corp.

License has already been accepted:  Proceed with install.

License解决办法

如果不是上面的提示,可用如下方法解决:

在/tmp/ mq_license/ license/下面新建空文件status.dat

root@localhost MQ]# cd /tmp

[root@localhost tmp]# ls

gconfd-root      orbit-root                                  scim-panel-socket:0-root

hsperfdata_root  scim-bridge-0.3.0.lockfile-0@localhost :0.0  scim-socket-frontend-root

keyring-pDTCX5   scim-bridge-0.3.0.socket-0@localhost :0.0    ssh-YrKzyL3494

mapping-root     scim-helper-manager-socket-root             virtual-root.m0Nmsa

[root@localhost tmp]# mkdir mq_license

[root@localhost tmp]# cd mq*

[root@localhost mq_license]# mkdir license

[root@localhost mq_license]# cd license

[root@localhost license]# ls

[root@localhost license]# vi status.dat

[root@localhost license]# ls

status.dat

给所有rpm包赋予可执行权限:

[root@localhost MQ7]# chmod 755 *.rpm

再ls一下,变成绿色的了吧

安装

[root@localhost MQ7]# rpm -ivh MQSeriesRuntime-7.0.0-0.i386.rpm

Preparing...                ########################################### [100%]

Creating group mqm

Creating user mqm

   1:MQSeriesRuntime        ########################################### [100%]

[root@localhost MQ7]# rpm -ivh MQSeriesSDK-7.0.0-0.i386.rpm

Preparing...                ########################################### [100%]

   1:MQSeriesSDK            ########################################### [100%]

[root@localhost MQ7]# rpm -ivh MQSeriesServer-7.0.0-0.i386.rpm

Preparing...                ########################################### [100%]

   1:MQSeriesServer         ########################################### [100%]

[root@localhost MQ7]# rpm -ivh MQSeriesJava-7.0.0-0.i386.rpm

Preparing...                ########################################### [100%]

   1:MQSeriesJava           ########################################### [100%]

[root@localhost MQ7]# rpm -ivh MQSeriesSamples-7.0.0-0.i386.rpm

Preparing...                ########################################### [100%]

   1:MQSeriesSamples        ########################################### [100%]

[root@localhost MQ7]# rpm -ivh MQSeriesClient-7.0.0-0.i386.rpm

Preparing...                ########################################### [100%]

   1:MQSeriesClient         ########################################### [100%]

[root@localhost MQ7]# rpm -ivh MQSeriesMsg_Zh_CN-7.0.0-0.i386.rpm

Preparing...                ########################################### [100%]

   1:MQSeriesMsg_Zh_CN      ########################################### [100%]

[root@localhost MQ7]# rpm -ivh MQSeriesMan-7.0.0-0.i386.rpm 

Preparing...                ########################################### [100%]

   1:MQSeriesMan            ########################################### [100%]

[root@localhost MQ7]# rpm -ivh MQSeriesTXClient-7.0.0-0.i386.rpm

Preparing...                ########################################### [100%]

   1:MQSeriesTXClient       ########################################### [100%]

[root@localhost MQ7]#

检查

安装完毕。看看/opt/var目录下面都多了个mqm目录。

[root@localhost MQ7]# cd /opt

[root@localhost opt]# ls

mqm

[root@localhost opt]# cd /var

[root@localhost var]# ls

account  crash  empty  gdm  local  log   mqm  opt       racoon  spool  yp

cache    db     games  lib  lock   mail  nis  preserve  run     tmp

[root@localhost var]# cd mqm

[root@localhost mqm]# ls

config  conv  errors  exits  exits64  log  mqclient.ini  mqs.ini  qmgrs  service.env  sockets  tivoli  trace

转载于:https://my.oschina.net/barter/blog/118307

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值