CentOs-Stream-9 解决此系统未向授权服务器注册问题

RPM包注册安装问题

无法执行yum安装rpm问题(后面安装Mysql会遇到):This system is not registered with an entitlement server. You can use "rhc" or "subscription-manager" to register.

Mysql5.7本地无法注册:

Mysql8本地无法安装:

RHEL订阅注册

使用subscription-manager register --help 查看注册命令

必须在 Hybrid Cloud Console 激活订阅

点击Subscriptions active进行激活:

bash 复制代码
[root@hadoop0 yum.repos.d]# subscription-manager register --username xxxxxxx@163.com --password xxxxxxxxxxxxx --auto-attach
Registering to: subscription.rhsm.redhat.com:443/subscription
The system has been registered with ID: 1b792ee7-71ba-489a-9862-2ab9a90ab235
The registered system name is: hadoop0
Ignoring the request to auto-attach. Attaching subscriptions is disabled for organization "18489547" because Simple Content Access (SCA) is enabled.
[root@hadoop0 yum.repos.d]# 

注:必须要注册redhat账号,上面使用的就是注册账号和密码进行激活。

验证注册效果

通过注册Mysql5.7 rpm进行验证

已经不报未向服务器注册授权的问题了。

注册校验失败问题

Getting "HTTP error (401 - Unauthorized): Invalid username or password. To create a login, please visit https://www.redhat.com/wapps/ugc/register.html" while registering the system. - Red Hat Customer Portal

相关推荐
神奇的程序员3 小时前
从已损坏的备份中拯救数据
运维·后端·前端工程化
虾..4 小时前
Linux 软硬链接和动静态库
linux·运维·服务器
Evan芙5 小时前
Linux常见的日志服务管理的常见日志服务
linux·运维·服务器
玄斎5 小时前
MySQL 单表操作通关指南:建库 / 建表 / 插入 / 增删改查
运维·服务器·数据库·学习·程序人生·mysql·oracle
trayvontang6 小时前
Nginx之location配置
运维·nginx
十六年开源服务商6 小时前
WordPress定制开发最佳公司的用户画像
运维
hkhkhkhkh1236 小时前
Linux设备节点基础知识
linux·服务器·驱动开发
世岩清上7 小时前
AI驱动的智能运维:从自动化到自主化的技术演进与架构革新
运维·人工智能·自动化
HZero.chen8 小时前
Linux字符串处理
linux·string
张童瑶8 小时前
Linux SSH隧道代理转发及多层转发
linux·运维·ssh