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

相关推荐
FGGIT22 分钟前
使用Docker快速本地部署RSSHub结合内网穿透访问RSS订阅源
运维·docker·容器
x66ccff22 分钟前
【linux】轻松掌握文件管理:安装Ranger并设置Micro为默认编辑器
linux·运维·编辑器
2401_8260976232 分钟前
linux-vim的使用
linux·运维·vim
疯狂学习GIS38 分钟前
通过MobaXterm操作远程服务器电脑的方法
linux·学术工作效率
-纸短情长44 分钟前
负载均衡--会话保持失败原因及解决方案(五)
运维·负载均衡
乱蜂朝王1 小时前
Ubuntu篇——Ubuntu20.04备份成ISO镜像文件并安装到其他电脑上(完整步骤)
linux·运维·ubuntu
心之所想,行之将至1 小时前
gitlab集成CI/CD,shell方式部署
运维·ci/cd·gitlab
H2Z20Str1 小时前
Linux学习笔记13---GPIO 中断实验
linux·笔记·学习
开着拖拉机回家3 小时前
【HDP】zookeeper未授权漏洞修复
linux·zookeeper·kerberos·授权·zk-client
程序那点事儿3 小时前
CentOS 7 中安装 docker 环境
运维·docker·容器