这里下载开发版
下载地址:https://www.ibm.com/developerworks/cn/downloads/ws/wmq/
环境CentOS 7.4 x64
1、安装前准备
[root@236 ~]# mkdir mq #新建一个安装目录
[root@236 ~]# tar -xzf mqadv_dev75_linux_x86-64.tar.gz -C mq #解压
[root@236 ~]# ls mq
copyright MQSeriesFTAgent-7.5.0-2.x86_64.rpm MQSeriesMan-7.5.0-2.x86_64.rpm MQSeriesMsg_ko-7.5.0-2.x86_64.rpm MQSeriesSDK-7.5.0-2.x86_64.rpm
crtmqpkg MQSeriesFTBase-7.5.0-2.x86_64.rpm MQSeriesMsg_cs-7.5.0-2.x86_64.rpm MQSeriesMsg_pl-7.5.0-2.x86_64.rpm MQSeriesServer-7.5.0-2.x86_64.rpm
lap MQSeriesFTLogger-7.5.0-2.x86_64.rpm MQSeriesMsg_de-7.5.0-2.x86_64.rpm MQSeriesMsg_pt-7.5.0-2.x86_64.rpm MQSeriesXRClients-7.5.0-2.x86_64.rpm
licenses MQSeriesFTService-7.5.0-2.x86_64.rpm MQSeriesMsg_es-7.5.0-2.x86_64.rpm MQSeriesMsg_ru-7.5.0-2.x86_64.rpm MQSeriesXRService-7.5.0-2.x86_64.rpm
mqlicense.sh MQSeriesFTTools-7.5.0-2.x86_64.rpm MQSeriesMsg_fr-7.5.0-2.x86_64.rpm MQSeriesMsg_Zh_CN-7.5.0-2.x86_64.rpm PreReqs
MQSeriesAMS-7.5.0-2.x86_64.rpm MQSeriesGSKit-7.5.0-2.x86_64.rpm MQSeriesMsg_hu-7.5.0-2.x86_64.rpm MQSeriesMsg_Zh_TW-7.5.0-2.x86_64.rpm READMEs
MQSeriesClient-7.5.0-2.x86_64.rpm MQSeriesJava-7.5.0-2.x86_64.rpm MQSeriesMsg_it-7.5.0-2.x86_64.rpm MQSeriesRuntime-7.5.0-2.x86_64.rpm repackage
MQSeriesExplorer-7.5.0-2.x86_64.rpm MQSeriesJRE-7.5.0-2.x86_64.rpm MQSeriesMsg_ja-7.5.0-2.x86_64.rpm MQSeriesSamples-7.5.0-2.x86_64.rpm
运行许可,选择1同意
./mqlicense.sh
安装MQ Server
[root@236 mq]# rpm -ivh MQSeriesRuntime-7.5.0-2.x86_64.rpm #安装MQ Runtime
Preparing... ################################# [100%]
Creating group mqm
Creating user mqm
Updating / installing...
1:MQSeriesRuntime-7.5.0-2 ################################# [100%]
[root@236 mq]# rpm -ivh MQSeriesSamples-7.5.0-2.x86_64.rpm ##安装MQ Samples
Preparing... ################################# [100%]
Updating / installing...
1:MQSeriesSamples-7.5.0-2 ################################# [100%]
[root@236 mq]# rpm -ivh MQSeriesServer-7.5.0-2.x86_64.rpm #安装MQ server
Preparing... ################################# [100%]
Updating / installing...
1:MQSeriesServer-7.5.0-2 ################################# [100%]
After the installation has completed, run the '/opt/mqm/bin/mqconfig'
command, using the 'mqm' user ID.
For example, execute the following statement when running as the 'root' user:
su mqm -c "/opt/mqm/bin/mqconfig"
The 'mqconfig' command validates that the system configuration satisfies the
requirements for WebSphere MQ, and ensures that the settings for the 'mqm'
user ID are suitably configured. Other WebSphere MQ administrators in the
'mqm' group can run this command to ensure their user limits are also
properly configured to use WebSphere MQ.