How To Upgrade From Red Hat Enterprise Linux 6
How To Upgrade From Red Hat Enterprise Linux 6
1). Upgrading from Red Hat Enterprise Linux 6 to Red Hat Enterprise Linux 7 is supported only if your
system meets the following criteria.
Your system is on the latest version of the Server variant of Red Hat Enterprise Linux 6 for Intel
64 and AMD64 architecture, with all packages up to date. To check, enter the following
commands:
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.9 (Santiago)
# arch
x86_64
# yum upgrade -y
Your system is registered to receive updates from Subscription Management and not RHN
Classic.
Your system includes only the following package groups:
Minimal
Base
Web Server
DHCP Server
NFS File Server (@nfs-server)
Print Server
CIFS file server
Remove other package groups before upgrading and reinstall them when your upgrade is
complete.
5. After you have corrected all issues reported by the Preupgrade Assistant, you are ready to use the
Red Hat Upgrade Tool to upgrade your system
1.Install the tool
# yum -y install redhat-upgrade-tool
2.Disable active repositories
# yum -y install yum-utils
# yum-config-manager --disable \*
3.Perform the upgrade
The upgrade process requires access to Red Hat Enterprise Linux 7 packages. You can specify
the location of a repository on the network or on a mounted device, or an ISO image, as shown
below.
# redhat-upgrade-tool --network <latest_RHEL_7> --instrepo repo_location
# redhat-upgrade-tool --device device_path
# redhat-upgrade-tool --iso iso_path
Some packages that were in the Base package group in Red Hat Enterprise Linux 6 are no
longer part of that group in Red Hat Enterprise Linux 7. You may need to configure additional
repositories in order to upgrade these packages correctly.
Refer to https://access.redhat.com/site/solutions/912213 to enable the Extras repository on the
yum repository system. Then see https://access.redhat.com/site/solutions/9892 to set up a
repository that you can use during your upgrade. The upgrade command for this use case would
look similar to the following.
# redhat-upgrade-tool --addrepo optional=http://host name/path/to/repo
Some packages are not reinstalled during the upgrade process because they have no functionally
equivalent replacements in Red Hat Enterprise Linux 7. Red Hat does not provide any support
for these packages. To remove these packages at the end of the upgrade process, enter the
following command:
# redhat-upgrade-tool –cleanup-post
4.Reboot