最近更新时间:2024.01.26 14:45:47
首次发布时间:2024.01.11 19:40:36
本文介绍如何校准源服务器时间,避免由于源服务器时钟与北京时间偏差过大导致迁移失败。
由于火山引擎云服务器实例默认使用北京时间,当源服务器时间与北京时间相差过大时,将导致迁移失败。因此,建议您在迁移前校准源服务器时间,减少与北京时间差值。
date
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
hwclock -w
yum install -y ntpdate
同步成功回显示例如下。ntpdate cn.pool.ntp.org
date
time.nist.gov
。