HUAWEI CLOUD EULEROS-迁移操作:安装迁移工具
时间:2025-06-17 16:10:49
安装迁移工具
- 从华为云开源镜像站下载迁移工具安装包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
- 安装迁移工具。
- 配置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 source repostr_hce1_1 = [base] name=hceversion baseurl=https://repo.huaweicloud.com/hce/1.1/os/x86_64/ gpgcheck=0 enabled=1 #released updates [updates] name=hce1_updates baseurl=https://repo.huaweicloud.com/hce/1.1/updates/x86_64/ gpgcheck=0 enabled=1 gpgkey=
centos2hce1.conf配置文件说明详见附录:conf配置文件说明。
support.huaweicloud.com/usermanual-hce/hce_02_0017.html