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

相关推荐
元岳数字人小元27 分钟前
极简运维体系,数字人一体机适配中小场景升级
运维·人工智能·开源·人机交互·交互·源代码管理
崇子嵘30 分钟前
基于zynqMPsoc15eg的linux端axi dma教训总结
linux·运维·服务器
动力 continue43 分钟前
Linux 基础篇 · Vim 三种模式与常用指令
linux·运维·vim
钱栈up1 小时前
Mac 开发机一键发版不用切环境:我这样改造了团队的后端部署脚本
运维·python·mac
深念Y1 小时前
系统内存与Swap优化记录
linux·内存·优化·虚拟内存·压缩·ram·zram
funnycoffee1231 小时前
Huawei USG firewall no-nat config for ipsec traffic
linux·服务器
byte轻骑兵2 小时前
【BlueZ 】蓝牙 L2CAP 协议核心:BlueZ 中基础数据传输的源码落地
linux·网络·网络协议·bluez·嵌入式蓝牙
sunoo-2292 小时前
【C 语言标准 IO 入门】第二天学习笔记:文件操作核心函数 + 实战案例 + 踩坑合集
linux·笔记·vscode·学习
波特率1152002 小时前
pthread库函数解析
linux·线程·pthread
Escalating_xu2 小时前
【Linux线程同步】从数据竞争到 mutex、条件变量与生产者消费者(上篇)
android·java·linux