Linux远程登录队列,linux 系统 安装webspherMQ 并使用windows远程队列管理

解压安装文件

tar -zxvf CZ50AML-Linux.tar.gz -C ibm

接受许可

./mqlicense.sh

Displaying license agreement on :1.0

Exception in thread "main" java.lang.UnsatisfiedLinkError: fontmanager (libstdc++.so.5: 无法打开共享对象文件: 没有那个文件或目录)

报错,改用如下方式

mqlicense.sh -accept

License has already been accepted: Proceed with install.

进行安装

[root@tianjian ibm]# rpm -U MQSeriesRuntime-7.0.1-0.i386.rpm

[root@tianjian ibm]# rpm -U MQSeriesS

MQSeriesSamples-7.0.1-0.i386.rpm MQSeriesSDK-7.0.1-0.i386.rpm      MQSeriesServer-7.0.1-0.i386.rpm

[root@tianjian ibm]# rpm -U MQSeriesSDK-7.0.1-0.i386.rpm

[root@tianjian ibm]# rpm -U MQSeriesServer-7.0.1-0.i386.rpm

[root@tianjian ibm]# rpm -U MQSeriesClient-7.0.1-0.i386.rpm

[root@tianjian ibm]# rpm -U MQSeriesSamples-7.0.1-0.i386.rpm

[root@tianjian ibm]# passwd mqm

Changing password for user mqm.

New UNIX password:

BAD PASSWORD: it is WAY too short

Retype new UNIX password:

passwd: all authentication tokens updated successfully.

创建队列管理器

[root@tianjian ibm]# su - mqm

-bash-3.1$ crtmqm -q QM1

There are 90 days left in the trial period for this copy of WebSphere MQ.

WebSphere MQ queue manager created.

Directory '/var/mqm/qmgrs/QM1' created.

Creating or replacing default objects for QM1.

Default objects statistics : 65 created. 0 replaced. 0 failed.

Completing setup.

Setup completed.

启动队列管理器

-bash-3.1$ strmqm QM1

There are 90 days left in the trial period for this copy of WebSphere MQ.

WebSphere MQ queue manager 'QM1' starting.

5 log records accessed on queue manager 'QM1' during the log replay phase.

Log replay for queue manager 'QM1' complete.

Transaction manager state recovered for queue manager 'QM1'.

WebSphere MQ queue manager 'QM1' started.

启动监听

-bash-3.1$ runmqlsr -t TCP -p 1414 -m QM1

5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.sh-3.1$ runmqlsr -p 1414 -m QM1

AMQ9223: 输入协议类型。

用法:runmqlsr [-m QMgrName] -t TCP [ProtocolOptions]

-bash-3.1$ runmqlsr -t TCP -p 1414 -m QM1

5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.

strmqcsv

-bash-3.1$ runmqsc

在linux上定义通道

DEFINE CHANNEL(SYSTEM.ADMIN.SVRCONN) CHLTYPE(SVRCONN) REPLACE

修改通道的MCAUSER

alter CHANNEL(SYSTEM.ADMIN.SVRCONN) CHLTYPE(SVRCONN) MCAUSER('mqm')

MCAUSER据说是不超过20个字符,实际测试超过12个字符就报错。

windows系统上得有mqm用户

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值