Linux 環境に WebSphere MQ 8 をインストールするためのステップバイステップのガイド。
IBM は 、次の新機能を備えた WebSphere MQ 8 を 2014 年 5 月 23 日にリリースしました 。 詳細については、 「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 を選択し、「続行」をクリックします。
- 使用許諾契約を選択して確認します
- リストから「WebSphere MQ V8.0 Trial for Linux on X86」を選択し、 「今すぐダウンロード」 をクリックします。
- インターネットの速度によっては、ダウンロードに数分かかる場合があります。 ダウンロードが完了すると、次のファイルが表示されるはずです
[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]#
- ファイルをgunzip圧縮しましょう。完了すると、次のような 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 環境のセットアップに役立つことを願っています。何か問題が発生した場合はお知らせください。
