exam questions

Exam EX200 All Questions

View all questions & answers for the EX200 exam

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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
QuangTruong
Highly Voted 3 years, 6 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 15 times
urWaifu
2 years, 2 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 3 years, 5 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
gaven186
5 months ago
agree. by the way, modify gpgcheck from the config file of /etc/dnf/dnf.conf
upvoted 1 times
...
...
jahmad0730
Most Recent 1 year, 6 months ago
where do you get the URL for this? yum-config-manager --add-repo="XXXXXXX" ???
upvoted 2 times
...
mattd81
2 years, 6 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, 9 months 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
2 years ago
I think when we use --enable we set that repo default.
upvoted 1 times
...
...
adolfoale
3 years, 10 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 ...