红帽报错:This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

原因:Red Hat Subscription Manager订阅管理器未订阅注册

解决:禁用

 配置文件:1. /etc/yum/pluginconf.d/subscription-manager.conf;2./etc/yum/pluginconf.d/product-id.conf;

# vim /etc/yum/pluginconf.d/subscription-manager.conf
# vim /etc/yum/pluginconf.d/product-id.conf
//在两个配置文件中将enabled=1均修改为enabed=0;

问题解决!

posted @ 2023-07-18 14:27  DuanYongchun  阅读(1498)  评论(0编辑  收藏  举报