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.
Procedure
-
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.
-
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
-
Obtain the client package
-
Install the client package
Execute the following command to install the client package.
# yum localinstall -y <The_client_package_obtained_in_3.> --nogpgcheck
Note:
-
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.
-
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".
-
Confirm operation
Execute the following command to display the information of the repository.
# yum repolist
In the displayed results, check the following:
If necessary, execute yum update or yum install.