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

相关推荐
-Try hard-18 小时前
Linuv软件编程 | Shell命令
linux·运维·服务器
释怀不想释怀18 小时前
Linux快捷键,软件安装启动
linux·运维·服务器
zhengfei61118 小时前
自动化快速评估工具
运维·自动化
Hello World . .18 小时前
Linux:软件编程
linux·运维·服务器·vim
人间打气筒(Ada)18 小时前
k8s:CNI网络插件flannel与calico
linux·云原生·容器·kubernetes·云计算·k8s
老师用之于民19 小时前
【DAY21】Linux软件编程基础&Shell 命令、脚本及系统管理实操
linux·运维·chrome·经验分享·笔记·ubuntu
路由侠内网穿透.19 小时前
本地部署代码托管解决方案 Gitea 并实现外部访问( Windows 版本)
运维·服务器·网络协议·gitea
江畔何人初20 小时前
pod的内部结构
linux·运维·云原生·容器·kubernetes
不做无法实现的梦~20 小时前
PX4编译环境配置和qgc配置安装教程(2)
linux·stm32
齐鲁大虾20 小时前
Linux下用什么编程语言方便开发B/S架构程序
linux·运维·架构