exam questions

Exam EX200 All Questions

View all questions & answers for the EX200 exam

Exam EX200 topic 1 question 96 discussion

Actual exam question from RedHat's EX200
Question #: 96
Topic #: 1
[All EX200 Questions]

SIMULATION -
A YUM repository has been provided at http://server.domain11.example.com/pub/x86_64/Server.
Configure your system to use this location as a default repository.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Mathope
2 months, 2 weeks ago
The requirement is to make this repo default: http://server.domain11.example.com/pub/x86_64/Server. you can list the current repos and disabling them, i thought setting the priority=1 would make it default but it does not. cd /etc/yum.repos.d ls -ltr (will show all available repos in your machine) edit them -> enabled=1 to enabled=0 now add the required repo, as this will be the only enabled=1 repo in the machine the system should use only it vi local.repo [Local_Custom_repo] name= Local Custom Repo gpgcheck=0 enabled=1 baseurl=http://server.domain11.example.com/pub/x86_64/Server priority=1 (this is optional) :wq! dnf clean all dnf repolist
upvoted 1 times
...
PENNSHARK
1 year, 4 months ago
yum install http://server.domain11.example.com/pub/x86_64/Server. uname -a grubby --info=ALL (shows the repository of all kernels) grubby --set-default [the location of http://server.domain11.example.com/pub/x86_64/Server. Or path index number] reboot uname -a
upvoted 1 times
Shiroyo
8 months, 2 weeks ago
Does adding priority=1 into yum repo files also do the trick? Especially when we have 2 repositories that we need to set as a default?
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...