关闭ubuntu的ntp并设置时间

开启ntp

timedatectl set-ntp 0

关闭ntp

timedatectl set-ntp 1

修改时间

date -s "2023-1-6 17:32"

猜你喜欢

转载自blog.csdn.net/SweetHeartHuaZai/article/details/128208430
今日推荐