July Release Confetti
150+ New Courses, Hands‑On Labs, And
Interactive Learning Activities
Learn More

LiNUX Lab

Verify Package Security and Validity - Part 2

We deploy the real environment, you take the scenario-based labs on us. Hands-on, from anywhere, at any time.

Time required: 2 Hours

Objectives

Understand how to create/update a repository for a custom source.

Overview

In this lab, we practice creating and updating a repository for a custom source.

Scenarios

1. su to root.
2. Create a folder called repo-original.
3. Go to the /etc/yum.repos.d folder.
4. Copy the contents of the yum.repos.d folder into the /root/repo-original directory.
5. Delete all files in the /etc/yum.repos.d folder.
6. Try and install the elinks package via yum. (It should fail with no package available.)
7. Create a new file called other-base.repo and configure it in a way that it uses the following information.

Share our Labs
Start Your Free Trial

We have the longest and most in depth courses about cloud and engineering topics on the web. All of our training content is included with every membership.