Huawei Cloud EulerOS-迁移操作:安装迁移工具

时间:2025-02-12 15:01:04

安装迁移工具

  1. 华为云开源镜像站下载迁移工具安装包centos2hce1-*.rpm。
    *表示迁移工具版本,本节以centos2hce1-1.0.0-0.0.2.x86_64.rpm安装包示例。
    [root@localhost test]# wget https://repo.huaweicloud.com/hce/1.1/updates/x86_64/Packages/centos2hce1-1.0.0-0.0.2.x86_64.rpm   //下载centos2hce1-*.rpm[root@localhost test]# ls  //检查是否下载成功centos2hce1-1.0.0-0.0.2.x86_64.rpm  
  2. 安装迁移工具。
    工具安装完成后,系统自动生成/etc/centos2hce1.conf配置文件。
    [root@localhost ~]# rpm -ivh centos2hce1-1.0.0-0.0.2.x86_64.rpm
  3. 配置centos2hce1.conf文件。

    配置HCE的repo源地址,用于检测repo源是否能够正常访问,并更新RPM包。

    #iso as yum source link[repo_info]base_yum_url =https://repo.huaweicloud.com/hce/1.1/os/x86_64/#iso as yum sourcerepostr_hce1_1 =[base]name=hceversionbaseurl=https://repo.huaweicloud.com/hce/1.1/os/x86_64/gpgcheck=0enabled=1#released updates[updates]name=hce1_updatesbaseurl=https://repo.huaweicloud.com/hce/1.1/updates/x86_64/gpgcheck=0enabled=1gpgkey=

    centos2hce1.conf配置文件说明详见附录:conf配置文件说明

support.huaweicloud.com/usermanual-hce/hce_02_0017.html