Upgrading RHEL 8 to RHEL 9 on AWS

So I have an EC2 instance running RHEL 8.9 which was recently upgraded from RHEL 7.9. Now, I want to upgrade it all the way to RHEL 9. Here is the worklog which recording the steps I performed to achieve that goal. Step 0, perform a snapshot of the root volume of the instance, or create an AMI from it. In my case, this is just a test instance, so I skip taking the snapshot....

November 22, 2023 · 9 min · 1876 words · kenno

Install EPEL repository on RHEL 9

This evening I’m trying to enable EPEL repository on a RHEL 9 server, by following instruction is taken from How to install EPEL on RHEL and CentOS Stream article [1] by Red Hat Enable Sysadmin. Enable the CodeReady Linux Builder repository. $ sudo subscription-manager repos --enable \ codeready-builder-for-rhel-9-$(arch)-rpms Repository 'codeready-builder-for-rhel-9-x86_64-rpms' is enabled for this system. Install the EPEL RPM. $ sudo dnf install \ https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm ...snip... Installed: epel-release-9-7.el9.noarch Complete! Let’s try to install htop (available from the EPEL repo) to verify that everything is working: $ sudo dnf install htop -y ....

November 22, 2023 · 1 min · 99 words · kenno