Installation
Install following packages, if not already installed.
sudo apt-get install rpm sudo apt-get install ia32-libs sudo apt-get install libgtk2.0-dev
I have noticed some shell related warnings like
[: 120: MQSeriesTXClient: unexpected operator
[: 134: MQSeriesClient: unexpected operator
Though it doesn’t affect WSMQ installation, but to avoid this make sure default shell is bash
not dash
unlink /bin/sh ln -s /bin/bash /bin/sh
Download the tar ball into a new directory, then extract (use appropriate name of tar ball)
tar -xzvf WMQSOURCE.tar.gz
Accept the license agreement
sudo ./mqlicense.sh -accept
Note: Do the above command from a non-X11 console/terminal
Install the rpm packages
rpm --nodeps --force-debian -ivh MQSeriesRuntime-6.0.1-0.x86_64.rpm rpm --nodeps --force-debian -ivh MQSeriesSamples-6.0.1-0.x86_64.rpm rpm --nodeps --force-debian -ivh MQSeriesSDK-6.0.1-0.x86_64.rpm rpm --nodeps --force-debian -ivh MQSeriesServer-6.0.1-0.x86_64.rpm rpm --nodeps --force-debian -ivh MQSeriesMan-6.0.1-0.x86_64.rpm rpm --nodeps --force-debian -ivh MQSeriesJava-6.0.1-0.x86_64.rpm rpm --nodeps --force-debian -ivh MQSeriesTXClient-6.0.1-0.x86_64.rpm rpm --nodeps --force-debian -ivh MQSeriesClient-6.0.1-0.x86_64.rpm
Note:Â –force-debian option is new with Ubuntu 9.10 and can be left out with prior releases of Ubuntu
Automatic Startup
Please download MSL1 support SupportPac from IBM website.
This SupportPac provides an RPM package containing an init script to start and stop IBM WebSphere MQ Queue Managers.
Installation Instructions
Download the tar ball into a new directory, then extract
tar xzf msl1.tar.gz
Install the rpm packages
cd MSL1 rpm -ivh --nodeps --force-debian MSL1-1.0.1-1.noarch.rpm
Rename installed init script for your ease of use
mv /etc/init.d/ibm.com-WebSphere_MQ /etc/init.d/wsmq
You can manage your queue manger using service command e.g.
service wsmq status service wsmq stop service wsmq start
If you have difficulties installing init script, you can download this service.tar here and follow the instructions below
tar -xvf service.tar mkdir /etc/conf.d cp ibm.com-WebSphere_MQ /etc/conf.d cp wsmq /etc/init.d/ service wsmq status
Uninstallation
To uninstall all MQSeries RPM packages
sudo rpm -qa | grep MQSeries | xargs sudo rpm -e --noscripts --force-debian --nodeps sudo rpm -qa | grep gsk7bas | xargs sudo rpm -e --noscripts --force-debian --nodeps
or
sudo rpm -e --nodeps --noscripts --force-debian `rpm -qa | grep MQS`
Also delete WSMQ data
rm -rf /var/mqm/* rm -rf /opt/mqm
Recent Comments