Linux-Server-Upgrade - Document-RHEL7-to-RHEL8 1
Linux-Server-Upgrade - Document-RHEL7-to-RHEL8 1
====================================================================================
# Pre-requisites
1. Ensure there is at least 25GB free space in the root filesystem ("/").
2. Make sure there is at least 150MB free space in the "/boot" filesystem.
3. Confirm that there is more than 5GB free space in the "/var" filesystem.
1. Take a snapshot or backup of the server before proceeding with the upgrade to ensure data
safety.
# SSHD Configuration
1. Verify that the SSH root login is enabled by checking the "PermitRootLogin" configuration in the
"/etc/ssh/sshd_config" file.
# SELinux Status
#sestatus
#sudo vi /etc/selinux/config
#reboot
## Firewall Configuration
2. If the HTTP-Sushma job is running from TSSA, skip the step of downloading and installing the required
packages from the Red Hat portal.
## HTTP-Sushma Job
#sudo vi /etc/yum.repos.d/local.repo
[id]
name=local
baseurl=file:///mnt
gpgcheck=0
enabled=1
#sudo vi /etc/yum.repos.d/local.repo
[Base0S]
name=Base0S
baseurl=http://[OSIP]/rhe18/Base0S
enabled=1
gpgcheck=0
[AppStream]
name=AppStream
baseurl=http://[OSIP]/rhe18/AppStream
enabled=1
gpgcheck=0
#sudo rm /tmp/leapp-data-22.tar.gz
http://serverip:9090
9. If there are no more errors/issues, the system is ready for the upgrade.
#sudo reboot
#cat /etc/redhat-release
#uname -r
5. Check the DS agent version and upgrade it to the latest version 7476 or greater.
6. Perform any additional configurations or installations as needed for the specific environment.
7. Check system functionality and verify that all applications and services are working correctly.
8. Perform additional testing to ensure the upgrade was successful and the server is stable.
Note: The document assumes that the "[OSIP]" placeholder in the local repository configurations should
be replaced with the actual IP address or hostname of the server hosting the RHEL 8.6 repository.