CentOS has officially discontinued support for CentOS 8 since January 1, 2022, and plans to discontinue support for CentOS 7 on June 30, 2024.
If you need to purchase a new CVM instance, you are advised to use a TencentOS Server image. If you are using a CentOS instance, replace it with TencentOS Server by referring to the directions provided in this document.
Migration is irreversible. To ensure business data security, you are advised to create a snapshot to back up system disk data.
yum install -y python3
wget http://mirrors.tencent.com/tencentos/2.4/tlinux/x86_64/RPMS/migrate2tencentos-1.0-3.tl2.noarch.rpm
migrate2tencentos.py
in /usr/sbin
.rpm -ivh migrate2tencentos-1.0-3.tl2.noarch.rpm
/usr/sbin/migrate2tencentos.py -v 2.4
cat /etc/ os-release
uname -r
NoteBy default, the kernel is the latest version of YUM. The actual result prevails. This document uses the version shown in the figure as an example.
yum makecache
Was this page helpful?