Red Hat Update Infrastructure 3.0 Usage Procedure

This section explains the procedure for installing the client package that is required in order to use the Red Hat Update Infrastructure.

Before you begin

Check the following:

  • OS

    This procedure is for the Red Hat Enterprise Linux OS.

  • Communication Permissions

    Configure security groups and firewalls so the following outbound communications are permitted:

    • DNS communication

      Port: 53/UDP

    • RHUI service

      Port 443/TCP

  • DNS Server Settings

    On the server that the Red Hat Update Infrastructure will be used, set the IaaS DNS server in /etc/resolv.conf. For the DNS server of the IaaS, refer to DNS Server.

When using the repository of Red Hat Update Infrastructure 3.0, perform the following procedure.


  1. Confirm the version of the client package
    # yum list installed | grep client-rhel

    Example for RHEL7:

    When it is client-rhel7-3.0-1.noarch.rpm, the version is 3.0.

  2. Delete the old client package

    When replacing the old client package with a new one, execute the following commands to delete the old client package.

    # yum remove <The_client_packet_confirmed_in_1.>
    # yum clean all
  3. Obtain the client package

    Obtain the client package corresponding to your OS from "RHUI Configuration File" on the K5 portal.

    After obtaining the client package, store it in any desired location on the virtual server on which it will be installed.

  4. Install the client package

    Execute the following command to install the client package.

    # yum localinstall -y <The_client_package_obtained_in_3.> --nogpgcheck
    • After installing the client package, all of the usable repositories will have been enabled.

      Edit the /etc/yum.repos.d/rh-cloud.repo file, and disable any unnecessary repositories.

    • As repositories for which rhui-custom-protected_rhel~ is set are required when updating client packages, do not disable them.
  5. Fix the update version (Only when using AUS)

    Execute the following command to fix the update version.

    # echo 7.x > /etc/yum/vars/releasever

    * Note: Specify the version to update to for "x".

  6. Confirm operation

    Execute the following command to display the information of the repository.

    # yum repolist

    In the displayed results, check the following:

    • That a value other than 0 is displayed for repolist in the execution results
    • That the following error message is not displayed

      "Could not retrieve mirrorlist"

    If necessary, execute yum update or yum install.