订阅插件提示:This system is not registered with an entitlement server. You can use subscription-manager to
生活随笔
收集整理的這篇文章主要介紹了
订阅插件提示:This system is not registered with an entitlement server. You can use subscription-manager to
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
問題描述
[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即可。
總結
以上是生活随笔為你收集整理的订阅插件提示:This system is not registered with an entitlement server. You can use subscription-manager to的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 高德地图API路径规划结果清除
- 下一篇: 华为云 和 阿里云 跨服务器搭建Hado