In this tutorial, you will learn how to connect RHEL 7 with RHN Satellite. Previously we learned about what is Linux operating system? In general, the Red Hat Network Satellite is a system management solution where you can deploy, configure and maintain the systems over physical, virtual, and cloud environments.
# Aim to connect RHEL to RHN Satellite:-
When you subscribe your systems to the Red Hat Network (RHN)
Satellite, it provides you a mechanism to handle the Red Hat software inventory
and allows you to install additional software or update the existing installed
programs to the new version using the yum package manager.
# what is a yum package manager?
Yellow package manager (YUM) is the package management
tool for installing, updating, removing, and managing software packages in Red
Hat Enterprise Linux (RHEL). YUM can manage packages from installed repos in
your system or from .rpm packages. The YUM main configuration files are available
at /etc/yum .conf and all the repos are available at /etc/yum.repos.d.
Command:-
# yum –option command
# what is redhat subscription management?
Red Hat Subscription management
is an end-to-end solution that provides a tool for subscription status and management
and integrates with Red Hat’s system management tools.
Note: All subscription-manager
commands are run as a root.
# Register Red Hat Enterprise Linux 7 system via Command Line Interface (CLI)
1) Run the command # subscription-manager register. When you run the command it prompted you to enter your username and password.
# Username and Password are the same as your login credentials for Red Hat Customer Portal (https://access.redhat.com).
In the above image, you get the Pool ID which is used to attach a subscription from a specific pool.
# subscription-manager repos –enable
<repository>
2)
To disable the repository run the command as follows:
# subscription-manager repos –disable
<repository>
Note: <repository> means name of the repository you want to enable or disable with the above commands.
Lastly, the above steps to connect Red Hat Enterprise Linux (RHEL) 7 to Red Hat Network (RHN) Satellite were helpful. Please let us know if we left anything so we can update/modify it as soon as possible.
0 Comments