Categories: BlogRed Hat

Solution Red Hat Subscription Manager 2020

Learn how to activate and configure repositories using the Red Hat Subscription Manager command line. Manage all your infrastructure licenses…

Register Red Hat Subscription

subscription-manager register --username admin-example --password secret
subscription-manager register --username admin-example --password secret --auto-attach

Remove Red Hat Subscription

subscription-manager remove --all

Regenerating identity certificates

subscription-manager identity --regenerate --force

List all available repos for the system

subscription-manager repos --list
subscription-manager repos --enable rhel-6-server-optional-rpms

Disabling the Subscription Manager repository

If you are on a Lab environment and you don’t need the RedHat Subscription manager to maintain you packages it is possible to disable it.

subscription-manager config --rhsm.manage_repos=0

Using an HTTP proxy

Many times we don’t have direct access to the internet and the use of an Proxy server is necessary, to configure the RedHat Subscription Manager through a Proxy execute :

subscription-manager config
      --server.proxy_hostname=proxy.poplab.pt
      --server.proxy_port=8080
      --server.proxy_user=username
      --server.proxy_password=secret_passwd

https://access.redhat.com/components/subscription-manager

Mr. SynMan

Recent Posts

Linux Device Management: Free Guide

Understand UDEV Folder /dev Understand D-BUS Device Commands List devices on PCI BUS lspci List devices on USB BUS lsusb…

6 months ago

Linux Pseudo File Systems: Free Guide

A pseudo file system does not exist on a physical hard disk,is created by the Kernel and only runs all…

6 months ago

Working with Kernel Modules

LPIC1 Category - 101.1 Determine and configure hardware settings uname command display information about the running Kernel. uname Display a…

6 months ago

Understand Linux ACLs

Linux ACLs can control the filesystem features and flags for each file or folder. Introducing ACLs in Linux ACLs Kernel…

10 months ago

How to Install Power DNS Red Hat Free

Learn how to Install Power DNS on Red Hat 7 using a command line. Configure your DNS Authoritive server and…

1 year ago

BIOS Interrupt Vector Table

BIOS Processor Instructions INTAddressTypeFunction Description00h0000:0000hProcessorDivide Error01h0000:0004hProcessorSingle Step02h0000:0008hProcessorNon-maskable interrupt03h0000:000ChProcessorBreakpoint instruction04h0000:0010hProcessorOverflow instruction05h0000:0014hBIOS ProcessorPrint screen Bound range exceeded06h0000:0018hProcessorInvalid opcode07h0000:001ChProcessorCoprocessor not available08h0000:0020hHardware ProcessorIRQ 0…

1 year ago