Installing IBM MQ server on Linux
You can install an IBM® MQ server on a 64-bit Linux® system.
Before you begin
- If you install a copy of IBM MQ server for Linux using Electronic Software
Download, obtained from Passport Advantage®, you
need to uncompress the tar.gz file, and extract the installation files from the
tar file, by using the following command:
tar -xvf WS_MQ_V8.0_TRIAL_FOR_Linux_ML.tar
Important: You must use GNU tar (also known asgtar
) to unpack any tar images. -
CAUTION:The instructions in this topic do not apply to Linux Ubuntu or Linux on POWER® Systems - Little Endian . See Installing on Linux Ubuntu or Linux on POWER Systems - Little Endian for these platforms.
- Before you start the installation procedure, ensure that you have completed the necessary steps outlined in Preparing the system.
- If this installation is not the first installation on the system, you must ensure that the crtmqpkg command can write to a temporary location. By default, the crtmqpkg command will write to the /var/tmp directory. To use a different location, you can set the TMPDIR environment variable before you run the crtmqpkg command.
- To run the crtmqpkg command used in this task, you must have the
pax command or rpmbuild installed. Attention: pax and rpmbuild are not supplied as part of the product. You must obtain these from your Linux distribution supplier.
About this task
Attention: If you install the packages using the wildcard character, that is, using the
command
rpm -ivh MQ*.rpm
, you should install the packages in the following order:- MQSeriesRuntime
- MQSeriesJRE
- MQSeriesJava
- MQSeriesServer
- MQSeriesFTBase
- MQSeriesFTAgent
- MQSeriesFTService
- MQSeriesFTLogger
- MQSeriesFTTools
- MQSeriesAMQP
- MQSeriesAMS
- MQSeriesXRService
- MQSeriesExplorer
- MQSeriesGSKit
- MQSeriesClient
- MQSeriesMan
- MQSeriesMsg
- MQSeriesSamples
- MQSeriesSDK
Procedure
What to do next
- If you have chosen this installation to be the primary installation on the system, you must now set it as the primary installation. Enter the following command at the command prompt:
MQ_INSTALLATION_PATH
/bin/setmqinst -i -pMQ_INSTALLATION_PATH
where
MQ_INSTALLATION_PATH
represents the directory where IBM MQ is installed.You can have only one primary installation on a system. If there is already a primary installation on the system, you must unset it before you can set another installation as the primary installation. For more information, see Changing the primary installation.
- You might want to set up the environment to work with this installation. You can use the setmqenv or crtmqenv command to set various environment variables for a particular installation of IBM MQ . For more information, see setmqenv and crtmqenv.
- If you want to confirm that the installation was successful, you can verify your installation. See Verifying a server installation, for more information.