Upgrade from RHEL7 to RHEL8

0

I want to upgrade my AWS on-demand instance from RHEL7 to 8 but it won't let me as my subscription status is unknown (probably not registered). How do I resolve this? I don't have any user id or password, AWS instance was created using my organization's contract with AWS. I don't have a personal AWS subscription. Please help

Bhavin
已提问 6 个月前2798 查看次数
1 回答
0

Hello.

I think you can do it by following the steps in the document below.
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/upgrading_from_rhel_7_to_rhel_8/index

First, run the following command to upgrade to RHEL7.9.

yum update -y

Next, enable the RHUI repository and install the required RHUI packages using the following commands provided in the documentation:

yum-config-manager --enable rhui-client-config-server-7
yum-config-manager --enable rhel-7-server-rhui-extras-rpms
yum -y install rh-amazon-rhui-client leapp-rhui-aws

Next, install the Leapp utility using the following command.

yum install leapp-upgrade

Next, use the command below to perform a pre-upgrade check to see if there are any problems.

leapp preupgrade --no-rhsm

Finally, if there are no problems, run the following command to upgrade.

leapp upgrade --no-rhsm

If you upgrade using these instructions, be sure to validate before performing the upgrade in a production environment.

profile picture
专家
已回答 6 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则