Install WebSphere MQ server on Linux

Home > Search

  1. Download WebSphere MQ server from This will download a file such as MQ_V9.0.4_CDR_TRIAL_LIN_X86_64-BI.tar.gz.
  2. Extract the gzip compressed tar archive. This will create a new folder named MQServer in the /opt directory.
~]# tar -zxvf MQ_V9.0.4_CDR_TRIAL_LIN_X86_64-BI.tar.gz -C /opt


  1. Accept the license agreement.
~]# cd /opt/MQServer
~]# ./ -text_only


  1. Install the MQ Runtime, Server, and samples. All componments will be installed at /opt/mqm. It is not necessary to install samples. Samples are just installed to demonstrate MQ usage.
~]# rpm -ivh MQSeriesRuntime-*.rpm
~]# rpm -ivh MQSeriesServer-*.rpm
~]# rpm -ivh MQSeriesSamples-*.rpm


  1. Configre this to be the primary MQ installation.
~]# /opt/mqm/bin/setmqinst -i -p /opt/mqm


You will next want to create the queue manager and a local queue.

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter in the box below so that we can be sure you are a human.