Sunday, November 1, 2020

MQ Installation

1. Create a group before the installation: 
For example to create a group named mqm with GID of 1010 you would type: groupadd -g 1010 mqm 

2. Create the mqm user and add the user to mqm group
useradd -u 1001 -g mqm -G mqm, root mqm 

3. sudo passwd mqm 

4. Add the below line to get sudo access.
vi /etc/sudoers
mqm     ALL=(ALL)       ALL


4. Check the maximum open files - sysctl fs.file-max 
If value is lesser than the below add the line in /etc/sysctl.conf fs.file-max = 524288 

5. Increase the file descriptors (from root user) 
vi /etc/security/limits.conf #add the below line
mqm hard nofile 10240 
mqm soft nofile 10240 

6. gunzip the tar file and then run. sudo tar -xvf IBM_MQ_9.1.5_LINUX_X86-64.tar.gz 
7.  You must be a root to accept the lincese. Please switch to root.
8. Change directory to MQServer and then Accept the license sudo ./mqlicense.sh 
9. sudo rpm -ivh MQ*.rpm

No comments:

Post a Comment