Actions

Linux - yum

From Ever changing code

This is a package manger for RedHat and CentOS

vi /etc/yum.repos.d/redhat-rhui.repo # one of repository files

[rhel-8-baseos-rhui-debug-rpms] # name of repository, actual name inder a repo
name=Red Hat Enterprise Linux 8 for $basearch - BaseOS from RHUI (Debug RPMs) # description of repository
# baseurl= # not required
mirrorlist=https://rhui3.REGION.aws.ce.redhat.com/pulp/mirror/content/dist/rhel8/rhui/8/$basearch/baseos/debug # used if can't connect to baseurl
enabled=0 # 0 - disabled, 1 - enabled 
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
sslverify=1
sslclientkey=/etc/pki/rhui/content-rhel8.key
sslclientcert=/etc/pki/rhui/product/content-rhel8.crt
sslcacert=/etc/pki/rhui/cdn.redhat.com-chain.crt