2.2. Installing MRG Realtime using Yum

2.2. Installing MRG Realtime using Yum

The best strategy for installing MRG Realtime 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. Install MRG Realtime:

    # yum install rt-setup
    

    rt-setup installs three packages:

    • rt-setup sets up the basic environment required by MRG Realtime

    • kernel-rt is the standard MRG Realtime kernel package

    • rtcl is a startup script that sets the priorities of the various kernel threads

  4. You can check the installation location and that the components have been installed successfully by using the rpm -ql command.

    # rpm -ql rt-setup
    /etc/security/limits.d/realtime.conf
    

    # rpm -ql kernel-rt
    /boot/System.map-2.6.21-43.el5rt
    /boot/config-2.6.21-43.el5rt
    /boot/vmlinuz-2.6.21-43.el5rt
    /lib/modules/2.6.21-43.el5rt
    /lib/modules/2.6.21-43.el5rt/build
    /lib/modules/2.6.21-43.el5rt/extra
    /lib/modules/2.6.21-43.el5rt/kernel
    ...
    [output truncated]
    

Tip

See Section 4.2, “Further Reading”, for places to turn for help if you have trouble with installing the MRG Realtime kernel