This article covers the environment: operating system Redhat Enterprise 7, middleware MQ
Upload Media
Upload the base media of MQ in bin mode
Create users and Groups
Operation with Root user
Groupadd MQM//Create Group
useradd-d/var/mqm-g MQM MQM//create user
passwd MQM//create user password
Use the ID command to verify user and group permissions after creation is complete
ID MQM
ID Root
Create the installation directory
Create a file system for the product code
Mkdir/usr/mqm
Creating a file system for working data
Mkdir/var/mqm
Installing MQ product files
Unzip the installation package to view the current media
TAR-ZXVF ws_mq_client_lin_x86_64_7.5.0.2.tar.gz
Accept License
./mqlicense.sh–accept
Note: Select 1 during command execution to accept the license.
Change file permissions
chmod 755 *.rpm
Install the necessary components
RPM-IVH mqseriesruntime-7.5.0-0.x86_64.rpm
RPM-IVH mqseriesruntime-7.5.0-0.i386.rpm
RPM-IVH mqseriessdk-7.5.0-0.i386.rpm
RPM-IVH mqseriesjava-7.5.0-0.i386.rpm
RPM-IVH mqseriesclient-7.5.0-0.i386.rpm
RPM-IVH mqseriessamples-7.5.0-0.i386.rpm
RPM-IVH mqseriesserver-7.5.0-0.i386.rpm
Confirm the installation results
Method One:
Rpm-qa | grep MQSeries
Method Two:
CD Opt/mqm/bin
./dspmqver
The output results are as follows:
Unzip the upgrade media
TAR-ZXVF 7.5.0.2-ws-mq-linuxx64-fp0010.tar.gz
Installing Patch Components
RPM-IVH mqseriesruntime-u853088-7.5.0.2-10.x86_64.rpm
RPM-IVH mqseriesclient-u853088-7.5.0.2-10.x86_64.rpm
RPM-IVH mqseriesconfig-u853088-7.5.0.2-10.x86_64.rpm
RPM-IVH mqseriesjre-u853088-7.5.0.2-10.x86_64.rpm
RPM-IVH mqseriesjava-u853088-7.5.0.2-10.x86_64.rpm
RPM-IVH mqseriesman-u853088-7.5.0.2-10.x86_64.rpm
RPM-IVH mqseriessamples-u853088-7.5.0.2-10.x86_64.rpm
RPM-IVH mqseriesserver-u853088-7.5.0.2-10.x86_64.rpm
RPM-IVH mqseriestxclient-u853088-7.5.0.2-10.x86_64.rpm
Confirm the installation results
CD Opt/mqm/bin
./dspmqver
Linux platform installation configuration MQ and patches