0% found this document useful (0 votes)
94 views6 pages

MQ9 Installation

This document provides instructions for installing MQ 9.1 on Linux: 1. Create the "mqm" user and group, and directories "/var/mqm" and "/opt/mqm". 2. As the root user, unzip and untar the MQ software, accept the license, and install the RPM packages in a specific order. 3. Verify the installation by checking which MQ packages are installed and setting the primary installation path. The installation is now complete and MQ commands can be run as the "mqm" user.

Uploaded by

j. koteswarao
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views6 pages

MQ9 Installation

This document provides instructions for installing MQ 9.1 on Linux: 1. Create the "mqm" user and group, and directories "/var/mqm" and "/opt/mqm". 2. As the root user, unzip and untar the MQ software, accept the license, and install the RPM packages in a specific order. 3. Verify the installation by checking which MQ packages are installed and setting the primary installation path. The installation is now complete and MQ commands can be run as the "mqm" user.

Uploaded by

j. koteswarao
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

MQ 9.

1 installation in Linux
Pre-requisites:-
1. Linux 7 operating system

2. User "mqm" user and group "mqm" should be created. mqm user should be member of "mqm" group

useradd mqm  to add a user called mqm in your server

3. File systems /var/mqm and /opt/mqm should be created

/var/mqm  default MQ working directory  500 GB


/opt/mqm  default installation directory for MQ  100 GB

4. Have the appropriate MQ software dump in a temporary location

5. Have the access to switch to "root" user


MQ 9 server software Installation
1. Switch to "root" user

2. Go to the path where the MQ software dump is placed and Untar the MQ
software

Now unzip and untar with below commands:-

To Unzip :-

gunzip IBM_MQ_9.1_LINUX_X86-64_TRIAL.tar.gz

To Untar:-

tar -xvf IBM_MQ_9.1_LINUX_X86-64_TRIAL.tar


Now a separate directory will be created with name "MQServer" and packages will be displayed in the
MQServer directory
3. Accept the MQ license with below command with root user
./mqlicense.sh -accept

4. Installing the rpm packages


Note: Packages should be installed in the below specific order

rpm -ivh MQSeriesRuntime-9.1.0-0.x86_64.rpm MQSeriesSDK-9.1.0-0.x86_64.rpm MQSeriesSamples-9.1.0-


0.x86_64.rpm MQSeriesJava-9.1.0-0.x86_64.rpm MQSeriesJRE-9.1.0-0.x86_64.rpm MQSeriesServer-9.1.0-
0.x86_64.rpm

5. Check the packages if they are installed success or not by below command
rpm -qa |grep -i mq
6. Now set as primary install
/opt/mqm/bin/setmqinst -i -p /opt/mqm

Installation has been successfully finished now. You can now switch to mqm user and then you can execute
the MQ commands

You might also like