1. Download the 90-day trial version of the installation package
The installation package can be downloaded on the IBM official website for a 90-day trial period. (wsmq_8.0_ifr_trial_lnx_on_x86_64_.tar.gz)
2. Copy to Ubuntu and execute the command tar ZXVF < package name >.tar.gz extract.
The folder called server after the decompression is complete.
3. (optional). To create the required file system for WebSphere MQ, the command is as follows:
# for Product Code
Mkdir/opt/mqm
# for working data
Mkdir/var/mqm
The default directory for MQ installation is the two
4. Create MQ users and user groups with the following commands:
Groupadd MQM
useradd-d/var/mqm-g Mqm-g MQM MQM
# Change Password to "password"
passwd MQM
5. Add the root group for the MQM user group
Cd/etc
VI Group
Find MQM:X:1003:MQM Add ", root",
Modified to: Mqm:x:1003:mqm,root
6 (optional). Adjust the system parameters (as required, I did not modify the installation)
Make following kernel changes (/etc/sysctl.conf):
Kernel.msgmni = 1024
Kernel.shmmni = 4096
Kernel.shmall = 2097152
Kernel.sem = 500 256000 250 1024
Fs.file-max = 32768
Net.ipv4.tcp_keepalive_time = 300
To load these sysctl values immediately, enter the command sysctl-p.
If you don't issue the SYSCTL-P command, the new values are loaded when the system is rebooted.
7. Install rpm
sudo apt-get install rpm
8. Go to WebSphere MQ's extracted directory and obtain WebSphere MQ authorization with the following command:
./mqlicense.sh-text_only after reading the full text, select 1 to accept the authorization.
9. Install the WebSphere MQ client and server with the following commands:
RPM-IVH mqseriesruntime-7.0.1-0.i386.rpm
RPM-IVH mqseriessdk-7.0.1-0.i386.rpm
RPM-IVH mqseriesjava-7.0.1-0.i386.rpm
RPM-IVH mqseriesclient-7.0.1-0.i386.rpm
RPM-IVH mqseriessamples-7.0.1-0.i386.rpm
RPM-IVH mqseriesserver-7.0.1-0.i386.rpm
10. Installation Verification Rpm-qa | grep MQSeries
mqseriessdk-7.0.1-0
mqseriesclient-7.0.1-0
mqseriesserver-7.0.1-0
mqseriesruntime-7.0.1-0
mqseriesjava-7.0.1-0
mqseriessamples-7.0.1-0
Installing MQ Explorer also requires the installation of additional packages:
mqseriesconfig-7.0.1-0.i386.rpm
mqserieseclipsesdk33-7.0.1-0.i386.rpm
MQSERIESJRE-7.0.1-0.I386.RPM The MQ installation is complete.
Start MQ Explorer on Linux and run runmqcfg.
Install WebSphere MQ 8.0 on Ubuntu and test