云服务器内容精选

  • Linux兼容性列表 主机迁移服务 支持的Linux迁移方式包括:Linux文件级迁移、Linux块级迁移。 支持的Linux文件级迁移OS兼容性列表,参见表1。 若您需要将不包含在表1的OS版本源端服务器迁移到华为云,您可以采用以下方式: 使用 镜像服务 ,通过外部镜像文件创建Linux系统盘镜像。 不迁移源端服务器,直接使用公有镜像或市场镜像创建目的端服务器,然后重新部署源端服务器的应用。 使用上云迁移服务。 Linux块级迁移要求源端Glibc版本大于等于2.14,支持的Linux块级迁移内核列表,参见表2。 通过getconf GNU_LIBC_VERSION命令,可以查看Glibc版本。 通过uname -r命令,可以查看到内核版本。 若您需要将不包含在表2的内核的源端服务器迁移到华为云,您可以采用Linux文件级迁移方式。 表1 Linux文件级迁移系统兼容性列表 OS类型 OS版本 位数 是否支持UEFI 备注 Redhat Red Hat Enterprise Linux 6.0(仅支持KVM平台) 64 NO - Red Hat Enterprise Linux 6.1/6.2/6.3/6.4/6.5/6.7/6.8/6.9/6.10 64 NO Red Hat Enterprise Linux 7.0 64 NO Red Hat Enterprise Linux 7.1/7.2/7.3/7.4/7.5/7.6/7.7/7.8/7.9 64 Yes Red Hat Enterprise Linux 8.0/8.1/8.2/8.3/8.4/8.5/8.7/8.8/8.9 64 Yes Red Hat Enterprise Linux 9.0/9.1/9.2/9.3 64 Yes CentOS CentOS 6.0(仅支持KVM平台) 64 NO - CentOS 6.1/6.2/6.3/6.4/6.5/6.6/6.7/6.8/6.9/6.10 64 NO CentOS 7.0 64 NO CentOS 7.1/7.2/7.3/7.4/7.5/7.6/7.7/7.8/7.9 64 Yes CentOS 8.0/8.1/8.2/8.3/8.4/8.5 64 Yes CentOS Stream 8 64 Yes 源端会被识别为CentOS 8.0,不会影响迁移 CentOS Stream 9 64 Yes 源端会被识别为CentOS 9.0,不会影响迁移 Oracle Oracle Linux 6.0/6.1/6.2/6.3/6.4/6.5/6.6/6.7/6.8/6.9/6.10 64 NO - Oracle Linux 7.0 64 NO Oracle Linux 7.1/7.2/7.3/7.4/7.5/7.6/7.7/7.8/7.9 64 Yes Oracle Linux 8.0/8.1/8.2/8.3/8.4/8.5/8.6/8.7/8.8 64 Yes Oracle Linux 9.0/9.1/9.2/9.3 64 Yes SUSE SUSE Linux Enterprise Server 11 SP3 64 NO - SUSE Linux Enterprise Server 11 SP4 64 Yes SUSE Linux Enterprise Server 12 SP0 64 Yes 该版本不支持btrfs SUSE Linux Enterprise Server 12 SP1/SP2/SP3/SP4/SP5 64 Yes - SUSE Linux Enterprise Server 15 SP0/SP1/SP2/SP3/SP5 64 Yes SUSE Linux Enterprise Server 15 SP4 64 NO Ubuntu Ubuntu Server 12.04 64 NO - Ubuntu Server 12.10 64 Yes Ubuntu Server 13.10 64 Yes Ubuntu Server 14.04/14.10 64 Yes Ubuntu Server 15.04/15.10 64 Yes Ubuntu Server 16.04/16.10 64 Yes Ubuntu Server 17.04/17.10 64 Yes Ubuntu Server 18.04 64 Yes Ubuntu Server 18.10 64 NO Ubuntu Server 19.04/19.10 64 Yes Ubuntu Server 20.04 64 Yes Ubuntu Server 21.04/21.10 64 Yes Ubuntu Server 22.04/22.10 64 Yes Ubuntu Server 23.04/23.10 64 Yes Ubuntu Server 24.04 64 Yes Debian Debian GNU/Linux 6.0.10 64 NO - Debian GNU/Linux 7.11.0 64 NO Debian GNU/Linux 8.0/8.1/8.2/8.3/8.4/8.5/8.6/8.7/8.8/8.9/8.10/8.11 64 NO Debian GNU/Linux 9.0/9.1/9.2/9.3/9.4/9.5/9.6/9.7/9.8/9.9/9.10/9.11/9.12/9.13 64 NO Debian GNU/Linux 10.0/10.1/10.2/10.3/10.4/10.5/10.6/10.7/10.8/10.9/10.10/10.11/10.12/10.13 64 Yes Debian GNU/Linux 11.0/11.1/11.2 64 Yes Debian GNU/Linux 11.3/11.4/11.5/11.7 64 NO Debian GNU/Linux 12.0/12.1/12.2/12.4/12.5 64 Yes Fedora Fedora 23/24/25/26/27/28/29/33/34/35/36/37 64 NO - Fedora 30/31/32/38/39 64 Yes EulerOS EulerOS 2.2.0 64 NO - EulerOS 2.3.0 64 NO EulerOS 2.5.0 64 NO Amazon Linux Amazon Linux 2.0 64 NO - Amazon Linux 2018.3 64 NO Amazon Linux 2023 AMI 64 NO - Alibaba Cloud Linux Alibaba Cloud Linux 3.2104 64 Yes - Alibaba Cloud Linux 3.2104 快速启动版 64 NO Alibaba Cloud Linux 3.2104 SCC版 64 Yes Alibaba Cloud Linux 3.2104 等保2.0三级版 64 NO Alibaba Cloud Linux 2.1903 LTS 64 Yes Alibaba Cloud Linux 2.1903 LTS SCC版 64 NO Alibaba Cloud Linux 2.1903 LTS 快速启动版 64 NO Alibaba Cloud Linux 2.1903 LTS 等保2.0三级版 64 NO AlmaLinux AlmaLinux OS 8.3/8.4/8.5/8.6/8.7/8.8/8.9/9.0/9.1/9.2/9.3 64 Yes - TencentOS TencentOS Server 2.4 64 NO - TencentOS Server 2.4 (TK4) 64 NO TencentOS Server 3.1 (TK4) 64 NO Kylin Kylin Linux Advanced Server V10 (Sword) 64 NO - OpenEuler OpenEuler 20.03 64 NO - OpenEuler 21.09 64 NO OpenSUSE OpenSUSE 15.1/15.2/15.3/15.4 64 NO - OpenSUSE 15.0/15.5 64 Yes - Rocky Linux Rocky Linux 8.5/8.6/8.7/9.0/9.1 64 NO - Rocky Linux 8.3/8.4/8.8/8.9/9.2/9.3 64 Yes 表2 Linux块级迁移内核支持列表 OS类型 内核版本 CentOS 2.6.32-131.0.15.el6.x86_64 2.6.32-220.13.1.el6.x86_64 2.6.32-220.17.1.el6.x86_64 2.6.32-220.2.1.el6.x86_64 2.6.32-220.23.1.el6.x86_64 2.6.32-220.4.1.el6.x86_64 2.6.32-220.4.2.el6.x86_64 2.6.32-220.7.1.el6.x86_64 2.6.32-220.el6.x86_64 2.6.32-279.11.1.el6.x86_64 2.6.32-279.1.1.el6.x86_64 2.6.32-279.14.1.el6.x86_64 2.6.32-279.19.1.el6.x86_64 2.6.32-279.2.1.el6.x86_64 2.6.32-279.22.1.el6.x86_64 2.6.32-279.5.1.el6.x86_64 2.6.32-279.5.2.el6.x86_64 2.6.32-279.9.1.el6.x86_64 2.6.32-279.el6.x86_64 2.6.32-358.0.1.el6.x86_64 2.6.32-358.11.1.el6.x86_64 2.6.32-358.14.1.el6.x86_64 2.6.32-358.18.1.el6.x86_64 2.6.32-358.2.1.el6.x86_64 2.6.32-358.23.2.el6.x86_64 2.6.32-358.6.1.el6.x86_64 2.6.32-358.6.2.el6.x86_64 2.6.32-358.el6.x86_64 2.6.32-431.11.2.el6.x86_64 2.6.32-431.1.2.0.1.el6.x86_64 2.6.32-431.17.1.el6.x86_64 2.6.32-431.20.3.el6.x86_64 2.6.32-431.20.5.el6.x86_64 2.6.32-431.23.3.el6.x86_64 2.6.32-431.29.2.el6.x86_64 2.6.32-431.3.1.el6.x86_64 2.6.32-431.5.1.el6.x86_64 2.6.32-431.el6.x86_64 2.6.32-504.12.2.el6.x86_64 2.6.32-504.1.3.el6.x86_64 2.6.32-504.16.2.el6.x86_64 2.6.32-504.23.4.el6.x86_64 2.6.32-504.30.3.el6.x86_64 2.6.32-504.3.3.el6.x86_64 2.6.32-504.8.1.el6.x86_64 2.6.32-504.el6.x86_64 2.6.32-573.1.1.el6.x86_64 2.6.32-573.12.1.el6.x86_64 2.6.32-573.18.1.el6.x86_64 2.6.32-573.22.1.el6.x86_64 2.6.32-573.26.1.el6.x86_64 2.6.32-573.3.1.el6.x86_64 2.6.32-573.7.1.el6.x86_64 2.6.32-573.8.1.el6.x86_64 2.6.32-573.el6.x86_64 2.6.32-642.11.1.el6.x86_64 2.6.32-642.1.1.el6.x86_64 2.6.32-642.13.1.el6.x86_64 2.6.32-642.13.2.el6.x86_64 2.6.32-642.15.1.el6.x86_64 2.6.32-642.3.1.el6.x86_64 2.6.32-642.4.2.el6.x86_64 2.6.32-642.6.1.el6.x86_64 2.6.32-642.6.2.el6.x86_64 2.6.32-642.el6.x86_64 2.6.32-696.10.1.el6.x86_64 2.6.32-696.10.2.el6.x86_64 2.6.32-696.10.3.el6.x86_64 2.6.32-696.1.1.el6.x86_64 2.6.32-696.13.2.el6.x86_64 2.6.32-696.16.1.el6.x86_64 2.6.32-696.18.7.el6.x86_64 2.6.32-696.20.1.el6.x86_64 2.6.32-696.23.1.el6.x86_64 2.6.32-696.28.1.el6.x86_64 2.6.32-696.30.1.el6.x86_64 2.6.32-696.3.1.el6.x86_64 2.6.32-696.3.2.el6.x86_64 2.6.32-696.6.3.el6.x86_64 2.6.32-696.el6.x86_64 2.6.32-71.14.1.el6.x86_64 2.6.32-71.18.1.el6.x86_64 2.6.32-71.18.2.el6.x86_64 2.6.32-71.24.1.el6.x86_64 2.6.32-71.29.1.el6.x86_64 2.6.32-71.7.1.el6.x86_64 2.6.32-71.el6.x86_64 2.6.32-754.10.1.el6.x86_64 2.6.32-754.11.1.el6.x86_64 2.6.32-754.12.1.el6.x86_64 2.6.32-754.14.2.el6.x86_64 2.6.32-754.15.3.el6.x86_64 2.6.32-754.17.1.el6.x86_64 2.6.32-754.18.2.el6.x86_64 2.6.32-754.2.1.el6.x86_64 2.6.32-754.22.1.el6.x86_64 2.6.32-754.23.1.el6.x86_64 2.6.32-754.24.2.el6.x86_64 2.6.32-754.24.3.el6.x86_64 2.6.32-754.25.1.el6.x86_64 2.6.32-754.27.1.el6.x86_64 2.6.32-754.28.1.el6.x86_64 2.6.32-754.29.1.el6.x86_64 2.6.32-754.29.2.el6.x86_64 2.6.32-754.30.2.el6.x86_64 2.6.32-754.31.1.el6.x86_64 2.6.32-754.33.1.el6.x86_64 2.6.32-754.35.1.el6.x86_64 2.6.32-754.3.5.el6.x86_64 2.6.32-754.6.3.el6.x86_64 2.6.32-754.9.1.el6.x86_64 2.6.32-754.el6.x86_64 3.10.0-1062.1.1.el7.x86_64 3.10.0-1062.12.1.el7.x86_64 3.10.0-1062.1.2.el7.x86_64 3.10.0-1062.18.1.el7.x86_64 3.10.0-1062.4.1.el7.x86_64 3.10.0-1062.4.2.el7.x86_64 3.10.0-1062.4.3.el7.x86_64 3.10.0-1062.7.1.el7.x86_64 3.10.0-1062.9.1.el7.x86_64 3.10.0-1062.el7.x86_64 3.10.0-1127.10.1.el7.x86_64 3.10.0-1127.13.1.el7.x86_64 3.10.0-1127.18.2.el7.x86_64 3.10.0-1127.19.1.el7.x86_64 3.10.0-1127.8.2.el7.x86_64 3.10.0-1127.el7.x86_64 3.10.0-1160.2.1.el7.x86_64 3.10.0-1160.2.2.el7.x86_64 3.10.0-1160.el7.x86_64 3.10.0-123.1.2.el7.x86_64 3.10.0-123.13.1.el7.x86_64 3.10.0-123.13.2.el7.x86_64 3.10.0-123.20.1.el7.x86_64 3.10.0-123.4.2.el7.x86_64 3.10.0-123.4.4.el7.x86_64 3.10.0-123.6.3.el7.x86_64 3.10.0-123.8.1.el7.x86_64 3.10.0-123.9.2.el7.x86_64 3.10.0-123.9.3.el7.x86_64 3.10.0-123.el7.x86_64 3.10.0-229.11.1.el7.x86_64 3.10.0-229.1.2.el7.x86_64 3.10.0-229.14.1.el7.x86_64 3.10.0-229.20.1.el7.x86_64 3.10.0-229.4.2.el7.x86_64 3.10.0-229.7.2.el7.x86_64 3.10.0-229.el7.x86_64 3.10.0-327.10.1.el7.x86_64 3.10.0-327.13.1.el7.x86_64 3.10.0-327.18.2.el7.x86_64 3.10.0-327.22.2.el7.x86_64 3.10.0-327.28.2.el7.x86_64 3.10.0-327.28.3.el7.x86_64 3.10.0-327.3.1.el7.x86_64 3.10.0-327.36.1.el7.x86_64 3.10.0-327.36.2.el7.x86_64 3.10.0-327.36.3.el7.x86_64 3.10.0-327.4.4.el7.x86_64 3.10.0-327.4.5.el7.x86_64 3.10.0-327.el7.x86_64 3.10.0-514.10.2.el7.x86_64 3.10.0-514.16.1.el7.x86_64 3.10.0-514.21.1.el7.x86_64 3.10.0-514.21.2.el7.x86_64 3.10.0-514.2.2.el7.x86_64 3.10.0-514.26.1.el7.x86_64 3.10.0-514.26.2.el7.x86_64 3.10.0-514.6.1.el7.x86_64 3.10.0-514.6.2.el7.x86_64 3.10.0-514.el7.x86_64 3.10.0-693.11.1.el7.x86_64 3.10.0-693.11.6.el7.x86_64 3.10.0-693.1.1.el7.x86_64 3.10.0-693.17.1.el7.x86_64 3.10.0-693.21.1.el7.x86_64 3.10.0-693.2.1.el7.x86_64 3.10.0-693.2.2.el7.x86_64 3.10.0-693.5.2.el7.x86_64 3.10.0-693.el7.x86_64 3.10.0-862.11.6.el7.x86_64 3.10.0-862.14.4.el7.x86_64 3.10.0-862.2.3.el7.x86_64 3.10.0-862.3.2.el7.x86_64 3.10.0-862.3.3.el7.x86_64 3.10.0-862.6.3.el7.x86_64 3.10.0-862.9.1.el7.x86_64 3.10.0-862.el7.x86_64 Ubuntu 4.4.0-21-generic 4.4.0-22-generic 4.4.0-24-generic 4.4.0-28-generic 4.4.0-31-generic 4.4.0-34-generic 4.4.0-36-generic 4.4.0-38-generic 4.4.0-42-generic 4.4.0-43-generic 4.4.0-45-generic 4.4.0-47-generic 4.4.0-51-generic 4.4.0-53-generic 4.4.0-57-generic 4.4.0-59-generic 4.4.0-62-generic 4.4.0-63-generic 4.4.0-64-generic 4.4.0-66-generic 4.4.0-67-generic 4.4.0-70-generic 4.4.0-71-generic 4.4.0-72-generic 4.4.0-75-generic 4.4.0-77-generic 4.4.0-78-generic 4.4.0-79-generic 4.4.0-81-generic 4.4.0-83-generic 4.4.0-87-generic 4.4.0-89-generic 4.4.0-91-generic 4.4.0-92-generic 4.4.0-93-generic 4.4.0-96-generic 4.4.0-97-generic 4.4.0-98-generic 4.4.0-101-generic 4.4.0-103-generic 4.4.0-104-generic 4.4.0-116-generic 4.4.0-119-generic 4.4.0-121-generic 4.4.0-122-generic 4.4.0-124-generic 4.4.0-127-generic 4.4.0-128-generic 4.4.0-130-generic 4.4.0-131-generic 4.4.0-133-generic 4.4.0-134-generic 4.4.0-135-generic 4.4.0-137-generic 4.4.0-138-generic 4.4.0-139-generic 4.4.0-140-generic 4.4.0-141-generic 4.4.0-142-generic 4.4.0-143-generic 4.4.0-145-generic 4.4.0-146-generic 4.4.0-148-generic 4.4.0-150-generic 4.4.0-151-generic 4.4.0-154-generic 4.4.0-157-generic 4.4.0-159-generic 4.4.0-161-generic 4.4.0-164-generic 4.4.0-165-generic 4.4.0-166-generic 4.4.0-168-generic 4.4.0-169-generic 4.4.0-170-generic 4.4.0-171-generic 4.4.0-173-generic 4.4.0-174-generic 4.4.0-176-generic 4.4.0-177-generic 4.4.0-178-generic 4.4.0-179-generic 4.4.0-184-generic 4.4.0-185-generic 4.4.0-186-generic 4.4.0-187-generic 4.4.0-189-generic 4.4.0-190-generic 4.4.0-193-generic 4.4.0-194-generic 4.4.0-197-generic 4.4.0-198-generic 4.4.0-200-generic 4.4.0-201-generic 4.4.0-203-generic 4.4.0-204-generic 4.15.0-20-generic 4.15.0-22-generic 4.15.0-23-generic 4.15.0-24-generic 4.15.0-29-generic 4.15.0-30-generic 4.15.0-32-generic 4.15.0-33-generic 4.15.0-34-generic 4.15.0-36-generic 4.15.0-38-generic 4.15.0-39-generic 4.15.0-42-generic 4.15.0-43-generic 4.15.0-44-generic 4.15.0-45-generic 4.15.0-46-generic 4.15.0-47-generic 4.15.0-48-generic 4.15.0-50-generic 4.15.0-51-generic 4.15.0-52-generic 4.15.0-54-generic 4.15.0-55-generic 4.15.0-58-generic 4.15.0-60-generic 4.15.0-62-generic 4.15.0-64-generic 4.15.0-65-generic 4.15.0-66-generic 4.15.0-69-generic 4.15.0-70-generic 4.15.0-72-generic 4.15.0-74-generic 4.15.0-76-generic 4.15.0-101-generic 4.15.0-106-generic 4.15.0-108-generic 4.15.0-109-generic 4.15.0-111-generic 4.15.0-112-generic 4.15.0-115-generic 4.15.0-117-generic 4.15.0-118-generic 4.15.0-121-generic 4.15.0-122-generic 4.15.0-123-generic 4.15.0-124-generic 4.15.0-128-generic 4.15.0-129-generic 4.15.0-130-generic 4.15.0-132-generic 4.15.0-134-generic 4.15.0-135-generic 4.15.0-136-generic 4.15.0-137-generic SUSE 4.4.21-69-default 4.12.14-94.41-default 4.12.14-95.29-default 4.12.14-122.46-default 4.12.14-197.64-default 4.12.14-122.176-default 4.12.14-122.186-default 4.12.14-122.201-default 4.12.14-122.216-default 父主题: 兼容性列表
  • Windows兼容性列表 主机迁移 服务支持的Windows操作系统列表参见Windows兼容性列表。 若您需要将不包含在Windows兼容性列表的OS版本源端服务器迁移到华为云,您可以采用以下方式: 使用镜像服务,通过外部镜像文件创建Windows系统盘镜像。 不迁移源端服务器,直接使用公有镜像或市场镜像创建目的端服务器,然后重新部署源端服务器的应用。 使用上云迁移服务。 表1 Windows兼容性列表 OS版本 位数 支持UEFI 备注 Windows Server 2008 64 NO 无法通过UEFI方式启动Windows Server 2008/2008 R2。 Windows Server 2008 R2 64 NO Windows Server 2012 64 Yes - Windows Server 2012 R2 64 Yes Windows Server 2016 64 Yes Windows Server 2019 64 Yes Windows Server 2022 64 Yes Windows 7 64 NO Windows 8.1 64 NO Windows 10 64 Yes 父主题: 兼容性列表
  • 操作步骤 在源端服务器执行如下命令,查看OS分区格式。 sudo parted -l /dev/vda | grep 'Partition Table' 若返回结果为 msdos,即表示为 MBR 分区,请执行下一步。 若返回结果为 gpt,即表示为 GPT 分区,暂不支持。 执行df -TH命令,查看磁盘挂载情况。如下图所示,/dev/vda1为要迁移的系统盘。 执行如下命令获取UUID。 sudo blkid /dev/vda1 执行如下命令编辑/etc/fstab文件。按 i 进入编辑模式,在末尾添加步骤3获取到的UUID。 vi /etc/fstab 输入如下命令,保存设置并退出编辑。 :wq 安装qemu-img镜像格式转换工具。 以CentOS为例,执行如下命令安装软件包。 yum -y install qemu-img 执行以下命令,将/dev/vda导出到/mnt/vdb/test.qcow2 sudo qemu-img convert -f raw -O qcow2 /dev/vda /mnt/vdb/test.qcow2 其中,/mnt/vdb为挂载的数据盘或其他存储。需要转换为其他格式的镜像,可以修改 命令中-O的参数值,可修改的参数值参见下表: 参数值 含义 qcow2 qcow2格式 vhd vhd格式 vmdk vmdk格式 raw 无格式 通过OBS Browser+工具将镜像上传到华为云OBS桶,并注册为私有镜像,操作方法请参考上传镜像文件并注册镜像。 通过注册的私有镜像,创建云服务器,操作方法请参考通过镜像创建云服务器。 参考步骤2~步骤8,制作数据盘镜像。 在华为云镜像服务 IMS控制台,通过数据盘镜像申请数据盘。 将申请到的数据盘挂载到云服务器,操作方法参见挂载磁盘。