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.
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
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
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
...
...
This section is not available anymore. Please use the main Exam Page.EX200 Exam Questions
Log in to ExamTopics
Sign in:
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.
Mathope
2 months, 2 weeks agoPENNSHARK
1 year, 4 months agoShiroyo
8 months, 2 weeks ago