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!
  • 相关阅读:
    信号signal的监听与处理
    oracle 12cR1&12cR2核心高实用性新特性
    Tomcat 7服务器线程模型
    抓取awr、语句级awr、ashrpt
    从percona server 5.7换到mariadb 10.2
    关于typeid和typeof
    mysql查询INFORMATION_SCHEMA表很慢的性能优化
    使用ccache大幅度加速gcc编译速度至少1倍以上(不需要修改任何编译选项)
    c++ linux下输出中文
    visual studio 2015下使用gcc调试linux c++开发环境搭建完整详解
  • 原文地址:https://www.cnblogs.com/hanglinux/p/12968340.html
Copyright © 2011-2022 走看看