问题描述

[root@ecs-t6-medium-2-linux-20190910000110 /]# yum install -y epel-release
已加载插件:fastestmirror, product-id, search-disabled-repos, subscription-managerThis system is not registered with an entitlement server. You can use subscription-manager to register.Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; 未知的错误"
Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos error was
14: curl#6 - "Could not resolve host: mirrors.fedoraproject.org; 未知的错误"

解决办法

这个Red Hat Subscription Manager订阅管理器,它会让你一直register,禁用就好。
脚本文件: /usr/lib/yum-plugins/subscription-manager.py
配置文件: /etc/yum/pluginconf.d/subscription-manager.conf
调用了脚本 /usr/share/rhsm/repolib.py
去重写或者更新/etc/yum.repos.d/redhat.repo文件。
每次yum调用(不禁掉plugins的情况下),都会更新此文件。
因此,为了不冲突,可以如下操作:停止掉该插件的使用,在配置文件中把enable=0即可。

[root@ecs-t6-medium-2-linux-20190910000110 /]# vim /etc/yum/pluginconf.d/subscription-manager.conf
[main]
enabled=0           #将它禁用掉

订阅插件提示:This system is not registered with an entitlement server. You can use subscription-manager to相关推荐

  1. yum install时提示This system is not registered with an entitlement server

    This system is not registered with an entitlement server 1.Uninstall yum package 2.Yum Repo 在一秒钟内看到本 ...

  2. This system is not registered with an entitlement server. You can use subscription-manager to regist

    当使用yum安装软件时报错 This system is not registered with an entitlement server. You can use subscription-man ...

  3. centos7 yum 错误 This system is not registered with an entitlement server

    现象: 下午安装 cockpit 时,使用 yum 工具的时候哦,出现如下信息: This system is not registered with an entitlement server. Y ...

  4. This system is not registered with an entitlement server.

    这是因为你安装了rhel自带的yum,需要付费注册. 解决办法: vi /etc/yum/pluginconf.d/subscription-manager.conf     将这个enable改成0 ...

  5. 保姆级Red Hat没有yum命令、报错This system is not registered to Red Hat Subscription Management.

    前言:红帽的yum源是需要注册付费的,如果一定要免费使用红帽系统,那么你需要将红帽的yum源替换为CentOS对应的源,那你可以花些时间看我的在替换yum源的过程以及所遇到的问题:如果不一定要使用红帽 ...

  6. java sona 插件 提示 整理

    java sona 插件 提示 整理 Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed ...

  7. 在创建ArcGIS Server10.5的站点时,系统提示创建‘System/publishingToolsEX.GPServer’失败(转)...

    环境 操作系统:Win2008 R2 SP1 ArcGIS Server版本:ArcGIS Server10.5 浏览器版本:IE8,Chrome 问题 在创建ArcGIS Server10.5的站点 ...

  8. C#中提示:System.Runtime.Serialization.SerializationException

    场景 在进行对象序列化为二进制时提示: System.Runtime.Serialization.SerializationException 实现 根据提示很明显,没有将类进行标记为可序列化. 找到 ...

  9. PetShop4,错误提示:System.Web.Security.SqlMembershipProvider”要求一个与架构版本“1”兼容的数据...

    错误提示: System.Web.Security.SqlMembershipProvider"要求一个与架构版本"1"兼容的数据库架构.但是,当前的数据库架构与此版本不 ...

最新文章

  1. 使用PostMan测试文件上传接口
  2. 3NF分解与BCNF分解
  3. python代码实现二叉树的分层打印
  4. C语言中结构体参数变量的传递
  5. caffeine 缓存_使用Caffeine和Spring Boot的多个缓存配置
  6. 类固醇上的Java:5种超级有用的JIT优化技术
  7. leetcode 1438. 绝对差不超过限制的最长连续子数组(滑动窗口+treemap)
  8. ps发光插件_PS插件自定义区域发光真实辉光插件 Oniric Glow Generator for Photoshop【资源分享1444】...
  9. Eclipse 导入项目到git@osc中
  10. 易筋SpringBoot 2.1 | 第十四篇:SpringBoot的HikariCP
  11. 基于stm32的语音识别系统
  12. XML与XSD两兄弟
  13. STM32CUBEIDE中修改FLASH起始地址的方法
  14. 生成文字和二维码合成
  15. 从零入门IDEA(二)Intellij IDEA软件安装:软件版本、安装环境需求、安装步骤
  16. 学习opencv.js(1)图像入门
  17. 高级产品经理十八种能力
  18. 人脸验证与二分类(Face verification and binary classification)
  19. 套接字socket选项TCP_NODELAY、TCP_CORK与TCP_QUICKACK
  20. ERP认证是什么 ?

热门文章

  1. 直播 | 帝国理工王剑虹:配电网中用多智能体强化学习进行的主动电压控制
  2. 上海人工智能实验室牛雅哲:通用决策AI平台的开拓创新之路
  3. 算法竞赛入门与进阶 (一)枚举
  4. mysql jdbc 批量_MYSQL 之 JDBC(十四):批量处理JDBC语句提高处理效率
  5. Apache——启动错误:[Cannot load modules/mod_actions.so into server]解决方案
  6. 湖南大学第十五届程序设计竞赛
  7. 强连通分量(Strongly_Connected_Components)
  8. linux脚本的数据输出到excel,使用shell实现Excel表格导出功能 | 剑花烟雨江南
  9. 【java学习】常用实体类--String、StringBuffer\StringTokenizer
  10. 【python笔记】python模块 datatime模块