1. apt-get install ntp
2.kill ntpd
3.ntpdate 10.89.48.12 (server ip)
4. hwclock --systohc --utc
本文介绍了一种手动更新系统时间的方法,包括安装ntp服务、停止ntp服务进程、设置指定服务器时间及将系统时间写入硬件时钟。
1. apt-get install ntp
2.kill ntpd
3.ntpdate 10.89.48.12 (server ip)
4. hwclock --systohc --utc
483
5641