+

Search Tips | Advanced Search

Install an IBM MQ client on Solaris

We can interactively install the IBM MQ client for Solaris using pkgadd.


Before you begin


This task describes the installation of the IBM MQ for Solaris client, using the pkgadd program. We can choose which components you want to install. The components (or file sets) are listed in IBM MQ components for Solaris systems; you must install at least the Client component.

Note: If you are installing on the Solaris 11 operating system, ensure that the IPS package (package/svr4) that supports pkgadd and equivalent utilities is installed.


Procedure

  1. Log in as root, or switch to the superuser using the su command.
  2. Make your current directory the location of the installation file. The location might be the mount point of the DVD, a network location, or a local file system directory.
  3. Run the mqlicense.sh script to accept the license:
    ./mqlicense.sh
    
    If you want to view a text-only version of the license, which can be read by a screen-reader, type:
    ./mqlicense.sh -text_only
    
    The license is displayed. Follow the instructions to accept the license. If you accept the license, the installation continues. If we do not accept the license, we cannot continue the installation process.
  4. If this installation is not the first installation on the system, you must run crtmqpkg to create a unique set of packages to install on the system:
    1. Enter the following command:
      ./crtmqpkg suffix
      
      where suffix is a name of your choosing, that will uniquely identify the installation packages on the system. suffix is not the same as an installation name, although the names can be identical. suffix is limited to 16 characters in the ranges A-Z, a-z, and 0-9.
    2. Set your current directory to the location specified when the crtmqpkg command completes. This directory is a sub-directory of /var/spool, in which the unique set of packages is created. The packages have the suffix value contained within the filename.
  5. Start the installation process:

    • If the installation is the first installation on the system, enter the following command to start the installation process:
      pkgadd -d.
      
      where " . " means use the current directory.
    • If the installation is not the first installation on the system, enter the following command to start the installation process:
      pkgadd mqm-suffix
      
      where suffix is the suffix chosen in the previous step.
  6. You are presented with a list of the packages that are available. Enter the number of the mqm package.
  7. You are prompted to choose a location for installation.

    • To install to the default location, enter y.
    • To install to a non-default directory, enter n. Then enter the required installation path, and confirm your choice.
  8. You receive a number of messages, after which a list of components is displayed. Enter the numbers of the components that you require separated by spaces or commas.
  9. If the path chosen in step 7 does not exist, you are asked if you want to create it. You must enter y to proceed.
  10. Answer any questions appropriately for your system.
  11. A message tells you when installation is complete. Enter q to exit the pkgadd program.


What to do next