AlmaLinux
- Initiated and funded by CloudLinux, Inc.
- Provides the official migration tool
almalinux-deploy - Supports migration from CentOS 7/8 and other EL versions
- Detailed migration steps →
In December 2020, Red Hat announced the transformation of CentOS from a downstream rebuild of RHEL into an upstream development branch (CentOS Stream). This means that traditional CentOS no longer provides a 1:1 RHEL-compatible stable release.
If you are running CentOS 7 or CentOS 8, you must migrate to a supported distribution.
AlmaLinux
almalinux-deployRocky Linux
migrate2rockyIn addition to AlmaLinux and Rocky Linux, you may also consider:
| Target | Suitable Scenarios | Migration Method |
|---|---|---|
| Oracle Linux | Oracle database environments, need for UEK kernel | centos2ol.sh official tool |
| Anolis OS | Alibaba Cloud environments, domestic OS requirements | Requires redeployment or refer to Anolis migration documentation |
| OpenCloudOS | Tencent Cloud environments, domestic IT requirements | Requires redeployment or refer to OpenCloudOS documentation |
| RHEL | Need commercial support | Red Hat offers free developer subscriptions (16 machines) |
Regardless of which distribution you are migrating to, you should complete the following preparations first:
$ rpm -qa --queryformat '%{NAME}\n' | sort > ~/installed-packages.txt$ systemctl list-units --type=service --state=running > ~/running-services.txt$ nmcli connection show > ~/network-connections.txt| Current System | → AlmaLinux | → Rocky Linux | → Oracle Linux |
|---|---|---|---|
| CentOS 7 | Supported (ELevate) | Supported (ELevate) | Supported (centos2ol) |
| CentOS 8 | Supported | Supported | Supported |
| CentOS Stream 8 | Supported | Supported | Supported |
| CentOS Stream 9 | Supported | Supported | Supported |
| Oracle Linux | Supported | Supported | — |
| AlmaLinux | — | Supported | Supported |
| Rocky Linux | Supported | — | Supported |