A step-by-step guide to installing WebSphere MQ 8 on Linux environment.

IBM has released WebSphere MQ 8 on 23rd May 2014 with following new features. You can refer what’s new in WebSphere MQ 8 for more details.

  • Enhanced security
  • Enhanced scalability
  • increased functionality
  • improved file transfer

In this article, I will talk about how to download and install MQ 8 step-by-step. 

  • Download IBM WebSphere MQ from the following link. (This is trial version valid for 90 days)
https://www14.software.ibm.com/webapp/iwm/web/reg/pick.do?source=ESD-WSMQ-EVAL&S_PKG=CR9H9ML&S_TACT=109J84RW&lang=en_US
  • Select WebSphere MQ V8.0 from list and click on Continue
  • Select the license agreement and confirm
  • Select WebSphere MQ V8.0 Trial for Linux on X86 from the list and click on Download now

mq-8-linux

  • It may take few minutes to download depending on your internet speed. Once downloaded, you should see the following file
[[email protected] 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
[[email protected] Downloads]# 
  • Let’s gunzip the file now. Once done, you should see tar file as following.
[[email protected] Downloads]# gunzip WS_MQ_V8.0_TRIAL_LNX_ON_X86_64_ML.tar.gz
[[email protected] 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 
[[email protected] Downloads]# 
  • Extract the tar file by using tar -xvf command, and you should see following files extracted.
[[email protected] READMES]# tar -xvf WS_MQ_V8.0_TRIAL_LNX_ON_X86_64_ML.tar 
[[email protected] 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
  • Accept the license agreement and use rpm -ivh command to install the components you require. The minimum component to have MQ Server running are:-

MQSeriesServer-8.0.0-0.x86_64.rpm

MQSeriesRuntime-8.0.0-0.x86_64.rpm

  • Accept the license agreement by executing mqlicense.sh file
[[email protected] 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
  • Click on accept, and you will see confirmation as following
Agreement accepted:
Proceed with install.
[[email protected] Downloads]# 

Now, it’s time to install MQSeriesRuntime & MQSeriesServer

[[email protected] Downloads]# rpm -ivh MQSeriesRuntime-8.0.0-0.x86_64.rpm
Preparing...                          ################################# [100%] 
Updating / installing...    
1:MQSeriesRuntime-8.0.0-0          ################################# [100%]
[[email protected] Downloads]#
[[email protected] Downloads]# rpm -ivh MQSeriesServer-8.0.0-0.x86_64.rpm
Preparing...                          ################################# [100%] 
Updating / installing...    
1:MQSeriesServer-8.0.0-0           ################################# [100%]
[[email protected] Downloads]# 

Installation Verification

You can use rpm -qa command to ensure MQ is installed and also check MQ binaries are available under /opt/mqm

[[email protected] Downloads]# rpm -qa | grep -i mq 
MQSeriesServer-8.0.0-0.x86_64 MQSeriesRuntime-8.0.0-0.x86_64 
[[email protected] Downloads]# 
[[email protected] 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
[[email protected] Downloads]# 

I hope this quick guide help to set up your MQ environment for learning. Let me know if you experience any issue.