2.3 On-premises server configurations and prerequisites – RedHat 8.0
For the full description of the prerequisite requirements for RedHat 8.0, see the BPB publication, IBM DB2 Administration Guide Chapter 2, On-Premise Server Configurations and Prerequisites, section 2.1 RedHat Server(s) required for the installations (BPB453) ISBN 978-93-55511-669.
2.3.1 RedHat Linux downloading and using of subscription manager
This section is covered in the free download from the URL: https://doi.org/10.13140/RG.2.2.21708.16001 titled Case Manager 5.3.3 Installation on RHEL 8.0 with Content Navigator 3.0.6.
(NB above describes the installation of the base RHEL 8.0 Linux system on pages 7 to 38 of the downloaded document, CaseManagerInstallationonRHEL8.0_V3.docx)
For CentOS 8.x the support is now only via CentOS stream, unless a change to a different compatible Linux Distro is preferred.
Note: Remember to back up the whole system first.
- Shutdown any running services as far as possible:
FFQC5397W all of the required system services were stopped.
Start the conversion of CentOS 8.0 to CentOS Stream.
- Run the dnf command to update the packages on CentOS 8:
(Run as root on the system used):
dnf update
Note that if you get an error similar to the output below:
Error:
Problem: package docker-ce-3:20.10.12-3.el7.x86_64 requires containerd.io >= 1.4.1, but none of the providers can be installed
- cannot install the best update candidate for package docker-ce-18.06.3.ce-3.el7.x86_64
- package containerd.io-1.4.10-3.1.el7.x86_64 is excluded
- package containerd.io-1.4.11-3.1.el7.x86_64 is excluded
Etc…
- package containerd.io-1.4.9-3.1.el7.x86_64 is excluded
(try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)
- We can then try with the following version:
dnf update –nobest
(Which completed OK on the system used) Note this update needs a few additional confirmations and does update a large number of packages (2021 listed on the system, ecmukdemo20):
- Then reboot the Linux box using the shutdown command or reboot command:
Shutdown
(Then power up again)
- Verify the release of CentOS 8 used:
more /etc/centos-release
[root@ecmukdemo20 ~]# more /etc/centos-release
CentOS Linux release 8.5.2111 - Install the CentOS-Stream release file, by typing the following dnf command:
dnf in centos-release-strea
Gives
[root@ecmukdemo20 ~]# dnf in centos-release-stream
CentOS Linux 8 – AppStream 5.2 MB/s | 8.4 MB 00:01
CentOS Linux 8 – BaseOS 3.1 MB/s | 4.6 MB 00:01
Extra Packages for Enterprise Linux Modular 8 – 916 kB/s | 979 kB 00:01
Dependencies resolved.
Etc
Installing:
centos-release-stream x86_64 8.1-1.1911.0.7.el8 extras 11k
Etc…
Installed:
centos-release-stream-8.1-1.1911.0.7.el8.x86_64
Complete!
[root@ecmukdemo20 ~]#
- Remove the CentOS 8 repo and replace it with the CentOS Stream repo:
dnf swap centos-linux-repos centos-stream-repos
Installed:
centos-stream-release-8.6-1.el8.noarch centos-stream-repos-8-3.el8.noarch
Removed:
centos-linux-repos-8-3.el8.noarch
- Migrate CentOS 8 installation to CentOS stream. First list repos, run:
dnf repolist - Upgrade CentOS 8 to CentOS Stream. Get the packages for CentOS Stream ABI/API. This will upgrade packages to match the new ABI/API:
dnf distro-sync –nobest - Reboot the system again. Run:
systemctl reboot - For verification, run the command:
cat /etc/centos-release
This should display
CentOS Stream release 8