linux:classnotes:repos
Setting up Repos
Had this question on the RHCSA and it really screwed me up!!
Base requirements are
[rhel-8-for-x86_64-appstream-rpms] name = Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) baseurl = https://dubrhsatserver62.office.local/pulp/repos/DAA/Library/content/dist/rhel8/$releasever/x86_64/appstream/os enabled = 1 gpgcheck = 1
or
[rhel-9-for-x86_64-baseos-rpms-update] baseurl = http://content.example.com/rhel.0/x86_64/rhel-additional/ansible-automation-platform-2.2-for-rhel-9-x86_64-rpms] enabled = true gpgcheck = false name = Red Hat Ansible PLatform 2.2 for RHEL 9 x86_64 (RPMS)
So its a name in square brackets.
- a name for the repo
- baseurl this is a path directive to where the repos are located
- enbled =1 ensures repo is availble for use
- gpgcheck =0 says wwether there will be gpgcheck for personal repos have it set to 0
linux/classnotes/repos.txt · Last modified: by 127.0.0.1