安装 IBM MQ 9

2021-07-10  本文已影响0人  akka9
tar xfv IBM_MQ_9.0.5.0_LINUX_X86-64.tar.gz
cd MQServer
./mqlicense.sh -accept

yum install -y MQSeriesRuntime-*.rpm MQSeriesSDK-*.rpm MQSeriesServer-*.rpm MQSeriesClient-*.rpm 

su - mqm

echo 'export PATH=/opt/mqm/bin/:$PATH' >> ~/.bash_profile
source ~/.bash_profile



# 升级到 9.2.0
tar zxf IBM_MQ_9.2.0_LINUX_X86-64_TRIAL.tar.gz -C /var/tmp/
cp /var/tmp/MQServer/IBM-MQ.repo /etc/yum.repos.d/
sed -i 's/^\s*@(#/#/g' /etc/yum.repos.d/IBM-MQ.repo
mv /var/tmp/MQServer /var/tmp/MQServer_9.2.0

yum clean all
yum repolist
/var/tmp/MQServer_9.2.0/mqlicense.sh -accept

yum install -y MQSeriesRuntime MQSeriesSDK MQSeriesServer MQSeriesClient
yum -y upgrade MQSeries*



# 导入 license
cp mq9.0.amqpcert.lic /opt/mqm/lib/amqpcert.lic

# 查看版本和license
/opt/mqm/bin/dspmqver 

## 创建队列管理器
crtmqm -q QM1

## 

https://www.ibm.com/docs/en/ibm-mq/9.2?topic=umil-upgrading-mq-installation-linux-red-hat-using-yum

打补丁步骤
https://askmiddlewareexpert.com/2020/12/30/mq-9-2-patching-on-linux-server/

补丁文件md5 校验
https://www.ibm.com/support/pages/node/2494335#v9.2LTS

9.2.0-IBM-MQ-LinuxX64-FP0001    9.2.0-IBM-MQ-LinuxX64-FP0001.tar.gz ed0a93cb3e2307e74b55ab0668af05c76f4b9d4d9258d9b1531efb94cbe2f12b    SHA-256

上一篇下一篇

猜你喜欢

热点阅读