FreeKB - Install WebSphere MQ server on Linux
Install WebSphere MQ server on Linux

Home > Search


If you are not familiar with what IBM MQ (message queue) is, check out our Getting Started page.

Download the trial version of MQ server from https://www.ibm.com/developerworks/downloads/ws/wmq/index.html. This will download a file such as MQ_V<version>_CDR_TRIAL_LIN_X86_64-BI.tar.gz. 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

 

Issue the mqlicense.sh command to accept the license agreement.

/opt/MQServer/mqlicense.sh -text_only

 

In /etc/sysctl.conf, set the file limit to be at least 100000.

fs.file-max = 100000

 

Issue the following command to refresh your users sysctl.

sysctl -p

 

Install the MQ Runtime, Server, and samples. All componments will be installed at /opt/mqm.

rpm -ivh /opt/MQServer/MQSeriesRuntime-*.rpm
rpm -ivh /opt/MQServer/MQSeriesServer-*.rpm
rpm -ivh /opt/MQServer/MQSeriesSamples-*.rpm

 

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.



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.




Comments