Linux - yum

From Ever changing code
Revision as of 22:54, 21 November 2019 by Pio2pio (talk | contribs) (Created page with "This is a package manger for RedHat and CentOS <source lang=bash> vi /etc/yum.repos.d/redhat-rhui.repo # one of repository files [rhel-8-baseos-rhui-debug-rpms] # name of rep...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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