zoukankan      html  css  js  c++  java
  • This system is not registered with an entitlement server. You can use subscription-manager to register.

    系统:redhat 7.6

    说明:配置yum源,提示This system is not registered with an entitlement server. You can use subscription-manager to register.

    配置文件:

    [root@localhost yum.repos.d]# cat redhat7.repo
    [rhel-source]
    name=Source
    baseurl=file:///mnt
    enabled=1
    gpgcheck=0

    yum安装测试,能够进行安装,但是系统提示没有注册

    [root@localhost yum.repos.d]# yum install -y tree
    Loaded plugins: product-id, search-disabled-repos, subscription-manager
    This system is not registered with an entitlement server. You can use subscription-manager to register.
    Resolving Dependencies
    --> Running transaction check
    ---> Package tree.x86_64 0:1.6.0-10.el7 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ===============================================================================================================================================================================================
     Package                                  Arch                                       Version                                             Repository                                       Size
    ===============================================================================================================================================================================================
    Installing:
     tree                                     x86_64                                     1.6.0-10.el7                                        rhel-source                                      46 k
    
    Transaction Summary
    ===============================================================================================================================================================================================
    Install  1 Package
    
    Total download size: 46 k
    Installed size: 87 k
    Downloading packages:
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Installing : tree-1.6.0-10.el7.x86_64                                                                                                                                                    1/1 
      Verifying  : tree-1.6.0-10.el7.x86_64                                                                                                                                                    1/1 
    
    Installed:
      tree.x86_64 0:1.6.0-10.el7                                                                                                                                                                   
    
    Complete!

    原因:redhat自带的插件subscription-manager。这个插件的作用就是Red Hat Subscription Manager订阅管理器,就是它让你一直register

    解决办法:将配置文件subscription-manager.conf中的enable注释掉

    [root@localhost yum.repos.d]# vi /etc/yum/pluginconf.d/subscription-manager.conf
    
    [main]
    #enabled=1
    ~           

    将安装的软件remove,再次进行安装实验

    [root@tz-yycs-db01 ~]# yum install -y tree
    Loaded plugins: product-id, search-disabled-repos
    Resolving Dependencies
    --> Running transaction check
    ---> Package tree.x86_64 0:1.6.0-10.el7 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ===============================================================================================================================================================================================
     Package                                  Arch                                       Version                                             Repository                                       Size
    ===============================================================================================================================================================================================
    Installing:
     tree                                     x86_64                                     1.6.0-10.el7                                        rhel-source                                      46 k
    
    Transaction Summary
    ===============================================================================================================================================================================================
    Install  1 Package
    
    Total download size: 46 k
    Installed size: 87 k
    Downloading packages:
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Installing : tree-1.6.0-10.el7.x86_64                                                                                                                                                    1/1 
      Verifying  : tree-1.6.0-10.el7.x86_64                                                                                                                                                    1/1 
    
    Installed:
      tree.x86_64 0:1.6.0-10.el7                                                                                                                                                                   
    
    Complete!
  • 相关阅读:
    CVE-2017-11826:Office Open XML 标签嵌套解析混淆漏洞
    未授权访问漏洞总结
    Linux提权—脏牛漏洞(CVE-2016-5195)
    Linux提权
    (翻译)OpenDocument and Open XML security (OpenOffice.org and MS Office 2007)
    SSH后门万能密码
    Linux中使用gdb dump内存
    在 x64dbg 中设置条件断点和条件记录断点
    Linux中的.bash_ 文件详解
    Photoshop 第二课 工具-钢笔的使用
  • 原文地址:https://www.cnblogs.com/hanglinux/p/12968340.html
Copyright © 2011-2022 走看看