raspbian系统内置了ntpd来对时
ntpd
配置文件/etc/ntp.conf修改NTP服务器
/etc/ntp.conf
重启服务:
/etc/init.d/ntp restart
转:https://www.cnblogs.com/alexsun/p/4939858.html