This system is not registered with an entitlement server. You can use subscription-manager to register.
思韵闪耀
2022-04-28
0

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!

 


【版权声明】
本站部分内容来源于互联网,本站不拥有所有权,不承担相关法律责任。如果发现本站有侵权的内容,欢迎发送邮件至masing@13sy.com 举报,并提供相关证据,一经查实,本站将立刻删除涉嫌侵权内容。

相关内容

网页保护、网页图片保护
1、禁止另存网页,把如下代码加入到网页body/body中 程序代...
2025-05-30
解决Please make...
解决Please make sure you have the c...
2025-03-17
docker-compos...
1.Compose介绍 DockerCompose是一个用来定义和...
2024-04-26
firewall-cmd ...
firewalld的简要说明:firewalld 、firewal...
2024-03-15
DNF error: Er...
U盘引导最小化安装anolis oa 8.8 ga出现以下错误DN...
2023-10-27
列出服务单元: syste...
列出服务单元: systemctl list-units --ty...
2022-11-26

热门资讯

SIOCADDRT: Netw... SIOCADDRT: Network is unreachable SIOCADDRT: 网络不可达...
centos7下创建新用户和组 linux下添加,删除,修改,查看用户和用户组 1 .增加一个test组 groupadd test...
linux通过sed 修改文件... 13sy.txt里面内容如下 A; B; C; write by luohao199621; 1.要...
关于cannot remove... 关于cannot remove directory: Directory not empty的解决办...
mount: unknown ... mount: unknown filesystem type LVM2_member解决方案 系统启...
OpenMediaVault安... OpenMediaVault 是一个基于Debian的专用 Linux 发行版,用于构建网络连接存储...
centos7 双网卡双网关的... 最近公司需要在一台服务器上同时使用内网和外网,并且都需要跨网段访问,因此需要双网关,但是一台机子上只...
ethtool 命令详解 1 概述 ethtool 是用于查询及设置网卡参数的命令。 2 命令详解 2.1 命令格式 (1) ...
CentOS7单网卡设置双IP... linux系统CentOS7单网卡设置双IP的方法,centos7.5、7.6、7.7设置双IP教程...
Linux进程状态D,S,Z的... Linux进程状态top,ps中看到进程状态D,S,Z的含义 在top和ps命令中有一列显示进程状态...