[Linux]

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

You can use the command line to create the objects that you 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. You 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, you can then use the sample programs to complete the verification procedure.

Before you begin

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

About this task

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

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

Procedure

  1. Set up the server by following the instructions in Setting up the server using the command line on Linux.
  2. Set up the client by following instructions in Connecting 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.