在 Linux 环境中安装 WebSphere MQ 8 的分步指南。
IBM于 2014 年 5 月 23 日发布了 WebSphere MQ 8,具有以下新功能:有关更多信息,请参阅WebSphere MQ 8 中的新增功能。
- 增强安全性
- 提高可扩展性
- 改进的功能
- 改进的文件传输
本文提供有关如何下载和安装 MQ 8 的分步说明。
- 从以下链接下载 IBM WebSphere MQ。 (这是试用版,有效期为 90 天)
https://www.ibm.com/docs/en/ibm-mq/9.3?topic=roadmap-mq-downloads - 从列表中选择 WebSphere MQ V8.0,然后单击继续。
- 选择并查看许可协议
- 从列表中选择适用于 X86 上的 Linux 的 WebSphere MQ V8.0 试用版,然后单击立即下载。

- 根据您的互联网速度,下载可能需要几分钟。下载完成后,您应该看到以下文件
[root@localhost Downloads]# ls -ltr
total 0 -rw-r-----. 1 chandan chandan 0 Aug 31 09:49 WS_MQ_V8.0_TRIAL_LNX_ON_X86_64_ML.tar.gz
[root@localhost Downloads]# - 让我们对文件进行压缩。完成后,您应该会看到类似于以下内容的 tar 文件:
[root@localhost Downloads]# gunzip WS_MQ_V8.0_TRIAL_LNX_ON_X86_64_ML.tar.gz
[root@localhost Downloads]# ls -ltr
total 482608 -rw-r-----. 1 chandan chandan 431800320 Aug 31 08:37 WS_MQ_V8.0_TRIAL_LNX_ON_X86_64_ML.tar
[root@localhost Downloads]# - 使用 tar -xvf 命令提取 tar 文件应提取以下文件:
[root@localhost READMES]# tar -xvf WS_MQ_V8.0_TRIAL_LNX_ON_X86_64_ML.tar
[root@localhost Downloads]# ls -ltr
total 1068500
-rw-r--r--. 1 226 12201 24227385 May 6 06:35 MQSeriesRuntime-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 251529 May 6 06:35 MQSeriesSDK-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 786408 May 6 06:35 MQSeriesSamples-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 5043802 May 6 06:35 MQSeriesClient-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 42354037 May 6 06:36 MQSeriesJava-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 88953596 May 6 06:36 MQSeriesJRE-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 19878931 May 6 06:36 MQSeriesGSKit-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 183922 May 6 06:36 MQSeriesMsg_de-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 312908 May 6 06:36 MQSeriesMan-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 162976 May 6 06:36 MQSeriesMsg_ja-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 172824 May 6 06:36 MQSeriesMsg_it-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 173762 May 6 06:36 MQSeriesMsg_fr-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 172276 May 6 06:36 MQSeriesMsg_es-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 165440 May 6 06:36 MQSeriesMsg_ru-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 171498 May 6 06:36 MQSeriesMsg_pt-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 155265 May 6 06:36 MQSeriesMsg_ko-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 150192 May 6 06:36 MQSeriesMsg_Zh_CN-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 174384 May 6 06:36 MQSeriesMsg_pl-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 174448 May 6 06:36 MQSeriesMsg_hu-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 171160 May 6 06:36 MQSeriesMsg_cs-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 151331 May 6 06:36 MQSeriesMsg_Zh_TW-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 23647132 May 6 06:37 MQSeriesServer-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 22271431 May 6 06:37 MQSeriesFTBase-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 25603 May 6 06:37 MQSeriesFTTools-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 15009811 May 6 06:37 MQSeriesFTService-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 2728965 May 6 06:37 MQSeriesFTAgent-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 7112412 May 6 06:37 MQSeriesFTLogger-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 18276 May 6 06:37 MQSeriesAMS-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 211123878 May 6 06:38 MQSeries Explorer-8.0.0-0.x86_64.rpm
-rw-r--r--. 1 226 12201 1762276 May 6 06:38 MQSeriesXRService-8.0.0-0.x86_64.rpm
-rwxr-xr-x. 1 226 12201 5631 May 6 06:41 crtmqpkg
-rw-r--r--. 1 226 12201 241 May 6 06:41 copyright
drwxr-sr-x. 4 226 12201 48 May 6 06:41 lap
drwxr-sr-x. 2 226 12201 4096 May 6 06:41 repackage
drwxr-sr-x. 2 226 12201 4096 May 6 06:41 READMES
drwxr-sr-x. 3 226 12201 17 May 6 06:41 PreReqs -
rwxr-xr-x. 1 226 12201 8471 May 6 06:41 mqlicense.sh
drwxr-sr-x. 2 226 12201 4096 May 6 06:41 licenses - 接受许可协议并使用rpm -ivh命令安装所需的组件。运行 MQ 服务器的最少组件是:
MQSeriesServer-8.0.0-0.x86_64.rpm
MQSeriesRuntime-8.0.0-0.x86_64.rpm
- 运行 mqlicense.sh 文件并接受许可协议。
[root@localhost Downloads]# ./mqlicense.sh
Licensed Materials - Property of IBM
5724-H72 (C) Copyright IBM Corporation 1994, 2014
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Displaying license agreement on :0 - 单击“同意”后,您将收到类似于以下内容的确认信息
Agreement accepted:
Proceed with install.
[root@localhost Downloads]# 接下来,安装 MQSeriesRuntime 和MQSeriesServer 。
[root@localhost Downloads]# rpm -ivh MQSeriesRuntime-8.0.0-0.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:MQSeriesRuntime-8.0.0-0 ################################# [100%]
[root@localhost Downloads]#
[root@localhost Downloads]# rpm -ivh MQSeriesServer-8.0.0-0.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:MQSeriesServer-8.0.0-0 ################################# [100%]
[root@localhost Downloads]# 
验证安装
您可以使用 rpm -qa 命令验证 MQ 是否已安装,并验证 MQ 二进制文件在 /opt/mqm 中是否可用。
[root@localhost Downloads]# rpm -qa | grep -i mq
MQSeriesServer-8.0.0-0.x86_64 MQSeriesRuntime-8.0.0-0.x86_64
[root@localhost Downloads]#
[root@localhost Downloads]# ls -ltr /opt/mqm/
total 48
-r--r--r--. 1 mqm mqm 0 May 6 06:35 mqpatch.dat
-r--r----. 1 mqm mqm 13543 May 6 06:35 instinfo.tsk
dr-xr-xr-x. 3 mqm mqm 20 May 6 06:36 properties
dr-xr-xr-x. 2 mqm mqm 6 May 6 06:36 inc
dr-xr-xr-x. 2 mqm mqm 4096 Sep 1 09:26 READMES
dr-xr-xr-x. 3 mqm mqm 18 Sep 1 09:26 msg
dr-xr-xr-x. 3 mqm mqm 103 Sep 1 09:26 samp
dr-xr-xr-x. 2 mqm mqm 4096 Sep 1 09:26 licenses
dr-xr-xr-x. 16 mqm mqm 4096 Sep 1 09:26 doc
dr-xr-xr-x. 5 mqm mqm 38 Sep 1 09:26 java
dr-xr-xr-x. 3 mqm mqm 4096 Sep 1 09:26 bin
dr-xr-xr-x. 4 mqm mqm 4096 Sep 1 09:26 lib
dr-xr-xr-x. 3 mqm mqm 4096 Sep 1 09:26 lib64
[root@localhost Downloads]#
我们希望本快速指南可以帮助您设置 MQ 学习环境。如果您遇到任何问题,请告诉我们。




![2021 年如何设置 Raspberry Pi Web 服务器 [指南]](https://i0.wp.com/pcmanabu.com/wp-content/uploads/2019/10/web-server-02-309x198.png?w=1200&resize=1200,0&ssl=1)

