Set up the server and client using the command line on Linux

We can use the command line to create the objects that we need to use to verify a client installation on Linux . On the server you create a queue manager, a local queue, a listener, and a server-connection channel. We must also apply security rules to allow the client to connect and make use of the queue defined. On the client you create a client-connection channel. After setting up the server and client, we can then use the sample programs to complete the verification procedure.


Before starting

Before starting this task, review the information in Verify a client installation on Linux.


This task explains how to use the command line to set up the server and client so that we can verify your client installation.

If you prefer to use IBM MQ Explorer, see Set up the server and client using IBM MQ Explorer on Linux.


Procedure

  1. Set up the server by following the instructions in Set up the server using the command line on Linux.
  2. Set up the client by following instructions in Connect to a queue manager, using the MQSERVER environment variable on Linux.


What to do next

Test the communications between client and server by following the instructions in Testing communication between a client and a server on Linux.

Parent topic: Verify a client installation on Linux