linux
/etc/timezone更新为:Asia/Shanghai
命令:timedatectl set-timezone Asia/Shanghai
1、关闭系统自带ntp对时
systemctl stop chronyd 或
systemctl stop chrony 或
systemctl stop ntpd 或
2、关闭自启动
systemctl disable ntpd 或 chronyd 或 chrony
3、查看ntp服务
NTP service状态应为:inactive

如果其状态为:active
需要执行命令:systemctl stop systemd-timesyncd
禁用开机自启:systemctl disable systemd-timesyncd 或执行 timedatectl set-ntp false