Chapter 1. Installing MRG Messaging using Yum

Chapter 1. Installing MRG Messaging using Yum

1.1. Available Packages — RPM

The best strategy for installing MRG Messaging components is to use the mrg-beta yum repository.

Important

Before you install Red Hat Enterprise MRG check that your hardware and platform is supported. A complete list is available on the Red Hat Enterprise MRG Supported Hardware Page.

  1. Become the root user, then download the mrg-beta repository to /etc/yum.repos.d.

    # cd /etc/yum.repos.d
    # wget ftp://ftp.redhat.com/pub/redhat/linux/beta/MRG/RHEL-5/mrg-beta.repo
    
  2. Once mrg-beta.repo exists in your local yum repository, you can view the list of available packages by using the list available command. This command will list only those packages not already installed on your system.

    # yum --disablerepo='*' --enablerepo=mrg-beta list available
    
  3. Use the following yum commands to install each of the components you require:

    MRG Messaging Broker:
    # yum install rhm
    
    Documentation and Sample Code:
    # yum install rhm-docs
    
    C++ client libraries:
    # yum install qpidc-devel
    
    Python client libraries:
    # yum install python-qpid amqp
    
    Java JMS client libraries (requires JDK 1.5 or higher):
    # yum install qpid-java-client
    
  4. You can check the installation location and that the components have been installed successfully by using the rpm -ql command with the name of the package you installed. For example:

    # rpm -ql rhm
    /etc/rc.d/init.d/rhmd
    /etc/rhmd.conf
    /usr/lib/libbdbstore.so.0
    /usr/lib/libbdbstore.so.0.1.0
    /usr/sbin/rhmd
    /usr/share/doc/rhm-0.2
    /usr/share/doc/rhm-0.2/COPYING
    /usr/share/doc/rhm-0.2/README
    /var/rhm
    

Note

If you find that yum is not installing all the dependencies you require, make sure that you have registered your system with Red Hat Network and that you have enabled the mrg-beta.repo in /etc/yum.repos.d/mrg-beta.repo.