【发布时间】:2020-07-03 21:04:55
【问题描述】:
在 Centos 7 上运行 yum 时出现错误消息
Loaded plugins: fastestmirror
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
To enable Red Hat Subscription Management repositories:
subscription-manager repos --enable <repo>
To enable custom repositories:
yum-config-manager --enable <repo>
【问题讨论】:
-
»»启用 Red Hat 订阅管理 ..«« 表示 RHEL 7 操作系统,而不是 CentOS 7。..... Repo 示例,CentOS 7 dropbox.com/s/dief7mp7i2t43gu/CentOS7-repo-ex.tar.gz?dl=0
-
您应该尝试在Super User 上提问,因为这个地方是针对编程相关问题的。