Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam EX200 topic 1 question 25 discussion

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

SIMULATION -
Configure a default software repository for your system.
One YUM has already provided to configure your system on http://server.domain11.example.com/pub/ x86_64/Server, and can be used normally.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
Yum-config-manager --add-repo=http://content.example.com/rhel7.0/x86-64/dvdג€ is to generate a file vim content.example.com_rhel7.0_x86_64_dvd.repo, Add a line gpgcheck=0

Yumcleanall -

Yumrepolist -
Almost 4305 packages are right, Wrong Yum Configuration will lead to some following questions cannot be worked out.

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
QuangTruong
Highly Voted 2 years, 10 months ago
#dnf repolist #cd /etc/yum.repos.d #vi local-rhel8.repo [LocalRepo_BaseOS] name=LocalRepo_BaseOS metadata_expire=-1 enabled=1 gpgcheck=0 baseurl=http://server.domain11.example.com/pub/ x86_64/Server/BaseOS/ [LocalRepo_AppStream] name=LocalRepo_AppStream enabled=1 gpgcheck=0 baseurl=http://server.domain11.example.com/pub/ x86_64/Server/AppStream/ save and exit #dnf clean all #dnf repolist
upvoted 14 times
urWaifu
1 year, 6 months ago
I already had 1 try with the exam and you have to create a new file in /etc/yum.repos.d/ in order to use the repos and install stuff. This is the most accurate answer
upvoted 5 times
...
...
sazz82
Highly Voted 2 years, 9 months ago
dnf config-manager --add-repo=http://server.domain11.example.com/pub/ x86_64/Server/BaseOs add gpgcheck=0 in the config file
upvoted 11 times
...
jahmad0730
Most Recent 10 months, 3 weeks ago
where do you get the URL for this? yum-config-manager --add-repo="XXXXXXX" ???
upvoted 2 times
...
mattd81
1 year, 11 months ago
Are we supposed to add the repo along with the other repos already installed or do we remove the other repos and only run this for the default repo?
upvoted 2 times
...
kenkct
2 years, 1 month ago
sudo su yum config-manager --add-repo [URL] yum repolist (To obtain the Repo ID and Repo Name) yum config-manger --enable [Repo ID] vim /etc/yum.conf (edit the yum.conf to enable non-signed repo) gpgcheck=0 (:wq! save this value and quit)
upvoted 4 times
Stunomatic
1 year, 4 months ago
I think when we use --enable we set that repo default.
upvoted 1 times
...
...
adolfoale
3 years, 3 months ago
In RHEL 8: # subscription-manager repos --list # subscription-manager repos --enable=rhel-8-for-x86_64-sap-netweaver-rpms
upvoted 6 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 ...