Linux IBM MQ 9.0 install
原创
©著作权归作者所有:来自51CTO博客作者wx62e28ac222a20的原创作品,请联系作者获取转载授权,否则将追究法律责任
IBM MQ 9.0官网https://www.ibm.com/docs/zh/ibm-mq/9.0
—-安装必要组件—
[root@node01 ~]# yum -y install bc rpm-build
—-配置内核参数—-
[root@node01 ~]# echo "fs.file-max = 524288" >>/etc/sysctl.conf
[root@node01 ~]# echo "kernel.threads-max = 32768" >>/etc/sysctl.conf
[root@node01 ~]# sysctl -p /etc/sysctl.conf
—-更改 limits 值—-
[root@node01 ~]# echo "mqm hard nofile 10240" >>/etc/security/limits.conf
[root@node01 ~]# echo "mqm soft nofile 10240" >>/etc/security/limits.conf
[root@node01 ~]# echo "mqm hard nproc 4096" >>/etc/security/limits.conf
[root@node01 ~]# echo "mqm soft nproc 4096" >>/etc/security/limits.conf
2.IBM MQ 9.0安装
[root@node01 ~]# tar zxvf IBM_MQ_9.0.0.0_LINUX_X86-64.tar.gz
[root@node01 ~]# cd MQServer && ./mqlicense.sh -accept
[root@node01 ~]# rpm --prefix /opt/mqm -ivh MQSeriesRuntime-9.0.0-0.x86_64.rpm /
MQSeriesSamples-9.0.0-0.x86_64.rpm /
MQSeriesJRE-9.0.0-0.x86_64.rpm /
MQSeriesJava-9.0.0-0.x86_64.rpm /
MQSeriesServer-9.0.0-0.x86_64.rpm /
MQSeriesClient-9.0.0-0.x86_64.rpm /
MQSeriesExplorer-9.0.0-0.x86_64.rpm
配置环境变量
echo "PATH=$PATH:/opt/mqm/bin" >>/etc/profile
检查配置
[root@node01 ~]# su - mqm
[mqm@node01 ~]# /opt/mqm/bin/mqconfig
[mqm@node01 ~]# ./opt/mqm/bin/setmqenv -s
-bash-4.2$ dspmqver
Name: IBM MQ
Version: 9.0.0.0
Level: p900-L160512.4
BuildType: IKAP - (Production)
Platform: IBM MQ for Linux (x86-64 platform)
Mode: 64-bit
O/S: Linux 3.10.0-1160.el7.x86_64
InstName: Installation1
InstDesc:
Primary: No
InstPath: /opt/mqm
DataPath: /var/mqm
MaxCmdLevel: 900
LicenseType: Production
版权声明:本文为博主原创文章,未经博主允许不得转载。
WMQ