一直用CentOS和Debian,今天将自用服务器重装下,改为Red Hat Enterprise Linux Server。
先到https://www.redhat.com 下载Red Hat Enterprise Linux Server,下载是7.9
其它它和CentOS是一样的,具体会多几十个功能。
安装后,可以登录,但是使用yum时会提醒你注册,不注册这个功能不能用。
进入开发者中心网址register | Red Hat Developer注册。register | Red Hat Developerhttps://developers.redhat.com/register
注册后会有个提示:
Your Red Hat Account
You are logged in as yourname
Email: yourname@gmail.com
Account Details
Change your password or update your contact information and preferences.
Order History
View your Red Hat online purchase history.
使用命令行注册:subscription-manager register --username yourname --password yourpassword --auto-attach
[root@localhost ~]# subscription-manager register --username yourname --password yourpassword --auto-attach
正在注册到:subscription.rhsm.redhat.com:443/subscription
这个系统已使用 ID c3e09871-5035-47da-bh87-3cb8143r508f 进行了注册
注册的系统名是:localhost.localdomain
已安装的产品的当前状态
产品名称: Red Hat Enterprise Linux Server
状态: 已订阅