DNF allows for many repositories to be utilized simultaneously and provides configurations for controlling each individually. In this hands-on lab, you will be tasked with modifying global and individual repository configurations and ensuring that only specific repositories are enabled.
*This lab is not approved or sponsored by Red Hat.*
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Modify the Global Repository Configurations
Using a text editor, modify the
dnf.conf
file so thatgpgcheck
is set to1
andinstallonly_limit
is set to3
.- Modify the EPEL Repository Configurations
Using a text editor, modify the
[epel]
repo section in theepel.repo
file with the following configurations:- Comment out the
baseurl
option. - Uncomment the
metalink
option. - Update the
gpgcheck
option to be equal to1
.
- Comment out the
- Enable and Disable Repositories
- Enable the
epel
repository. - Disable the
epel-testing
repository.
- Enable the