centos-stream9 本系统尚未在权利服务器中注册 可使用 subscription-manager 进行注册
    文章作者:恒爱云[恒爱网络] 阅读次数:41 发布时间:2025-8-26

    centos-stream9 执行yum 安装就提示:本系统尚未在权利服务器中注册 可使用 subscription-manager 进行注册


    首先,必须注册官网账号:https://www.redhat.com/en


    然后在这里点订阅按钮  https://console.redhat.com/subscriptions/usage/rhel


    最后,在服务器SSH端执行注册命令 : 


    subscription-manager register --username xxxxxxx@163.com --password xxxxxxxxxxxxx --auto-attach 


    其中需要注意 --username  后面跟的邮件地址是 官网的注册账号   --password 后面是注册账号的密码