- Lab
- A Cloud Guru
Configuring Repositories with DNF
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.*
Path Info
Table of Contents
-
Challenge
Modify the Global Repository Configurations
Using a text editor, modify the
dnf.conf
file so thatgpgcheck
is set to1
andinstallonly_limit
is set to3
. -
Challenge
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
-
Challenge
Enable and Disable Repositories
- Enable the
epel
repository. - Disable the
epel-testing
repository.
- Enable the
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.