RHCSA考试本地回购订阅管理器错误,

发布于 2025-02-03 15:56:56 字数 269 浏览 2 评论 0原文

我参加了RHCSA认证考试,问题2要求我创建本地仓库。我执行了命令“ yum config-manager -add-repo / path / to / appStream”,但是当我执行命令“ yum Clean ast asl asl asl”和“ yum install httpd”时,我被要求“订阅管理器regisrty”。我向主管通知了这一点。但是他说我错了。我告诉他们他们必须解决它。而且我没有继续考试中的下一个任务。我花了很多时间。 我写信给发送考试结果的人。他们也只是给我发送考试结果。我可以在哪里申请?

I took the RHCSA certification exam and Question 2 required me to create a local repo. I executed the command "yum config-manager --add-repo / path / to / AppStream", but when I executed the commands "yum clean all" and "yum install httpd", I was required to "subscription manager regisrty". I informed the supervisor about this. But he said that I was wrong. I told them that they had to solve it. And I did not move on to the next task in the exam. It took me a lot of time.
I wrote to the person who sent the exam results. they also just send me exam results. Where can I apply for this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

何以笙箫默 2025-02-10 15:56:56

您不能在RHCSA考试中使用该命令。您必须手动添加回购。

You cannot use that command in RHCSA exam.You have to add repo manually.

薄荷→糖丶微凉 2025-02-10 15:56:56

您需要在/etc/yum.repos.d/中创建一个仓库,这些是创建本地仓库的步骤。

vim /etc/yum.repos.d/     #create a new file here. 
                          #yum config looks in this folder when searching for repositories              
                          #configure file as seen below with the given repo urls and name. 

[AppStream]                                        #this is just a tag name
name=AppStream                                     #name of repo
baseurl=https://whatever.xyz.redhat.com/AppStream  #url of repo you are given
gpgcheck=0                                         #this tells yum to not check gpgkeys for repo
enable=1                                           #this enables the local repo

yum clean all

这应该使百胜识别您要连接并安装的存储库。您可能还需要使用Hopes登录回购,

subscription-manager register       #hit enter to add username and password. 

这会有所帮助。

You need to create a repo in /etc/yum.repos.d/, These are the steps to create a local repo.

vim /etc/yum.repos.d/     #create a new file here. 
                          #yum config looks in this folder when searching for repositories              
                          #configure file as seen below with the given repo urls and name. 

[AppStream]                                        #this is just a tag name
name=AppStream                                     #name of repo
baseurl=https://whatever.xyz.redhat.com/AppStream  #url of repo you are given
gpgcheck=0                                         #this tells yum to not check gpgkeys for repo
enable=1                                           #this enables the local repo

yum clean all

This should work to have yum recognize the repos you want to connect to and install from. you may need to also log into the repo using

subscription-manager register       #hit enter to add username and password. 

Hopes this helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文