登录后提示
Activate the web console with: systemctl enable --now cockpit.socket
This system is not registered to Red Hat Insights. See https://cloud.redhat.com/
To register this system, run: insights-client --register
--OS版本
[root@rhel850 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.5 (Ootpa)
解决办法
1、卸载redhat订阅提示
执行 yum remove subscription-manager ,卸载redhat订阅提示,不然每次都提示你去注册This system is not registered to Red Hat Subscription Management
2、配置文件中关闭这个官方的订阅
vim /etc/yum/pluginconf.d/product-id.conf
vim /etc/yum/pluginconf.d/subscription-manager.conf
将enabled=1修改为enabled=0
并且为了确保依赖的软件包删除干净,在执行下这个命令
yum remove dnf-plugin-subscription-manager
...
Freed space: 55 M
Is this ok [y/N]: Y
...
xmlrpc-c-client-1.51.0-5.el8.x86_64
Complete!
[root@rhel850 ~]#
去除完成