详细报错信息

已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
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>

截图如下

在这里插入图片描述

解决办法:
在这个路径下把[root@bdc113 lqs]# cd /etc/yum.repos.d/;CentOS-Base删除重新下载配置安装源即可,具体配置细节可以参考我的另外一篇博客:详细简单的Linux yum仓库配置及修改Linux系统网络yum源
进行配置!

在这里插入图片描述

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐