Install WebSphere MQ 8.0 on Ubuntu and test

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.