Chapter 1. Installing MRG Messaging using Yum
The best strategy for installing MRG Messaging components is to use the mrg-beta yum repository.
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.
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
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
Use the following yum commands to install each of the components you require:
# yum install rhm
# yum install rhm-docs
# yum install qpidc-devel
# yum install python-qpid amqp
# yum install qpid-java-client
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
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.