免费订阅账号来自于开发者账号的免费订阅功能,可以阅读基本上所有产品的文章,也可以下载官方所更新的最新的补丁包,对于有漏洞修复需求来说比较实用。
官方站点:
developers.redhat.com(提供云开发教程和软件)
access.redhat.com(提供24x7支持和知识)
developers.redhat.com 和 access.redhat.com 虽然都是 redhat 的站点,但两边的账号体系是独立的。
1、访问 https://developers.redhat.com ,注册开发者账号,登录后访问 https://access.redhat.com
2、完善 access.redhat.com 信息
3、查看订阅情况
下载包:https://access.redhat.com/downloads/content/package-browser
查漏洞信息:https://access.redhat.com/security/security-updates/#/
在RHEL系统中使用已注册的免费订阅账号注册
- 将系统注册到 rhn
[root@localhost ~]# subscription-manager register
- 列出系统所有可用的订阅,并记录在系统激活的订阅池 id
[root@localhost ~]# subscription-manager list --available --all
- 使用订阅池 id 激活订阅,然后在订阅中心可以看到已经附加到该订阅的系统
[root@localhost ~]# subscription-manager attach --pool=8a85f99c76fc3c2301772961eb052b54
- 关闭系统所有仓库、
[root@localhost ~]# subscription-manager repos --disable=*
- 仅打开系统 rhel7 仓库
[root@localhost ~]# subscription-manager repos --enable=rhel-7-server-rpms
- 列出所有系统仓库
[root@localhost ~]# yum repolist
- 同步源
[root@localhost ~]# reposync --repoid=rhel-7-server-rpms -p /data
参考链接:
https://developers.redhat.com/articles/getting-red-hat-developer-subscription-what-rhel-users-need-know#updated_development_tools__red_hat_software_collections
https://developers.redhat.com/articles/faqs-no-cost-red-hat-enterprise-linux#general
https://developers.redhat.com/terms-and-conditions