Debian Linux树莓派开启NTP时间同步服务

xingyun86 2021-3-15 1057

Debian Linux树莓派开启NTP时间同步服务

sudo timedatectl set-ntp true

修改时区:

1.列出支持的时区

timedatectl list-timezones

2.选择需要修改的时区

sudo timedatectl set-timezone America/New_York

3.查看状态

sudo timedatectl status


×
打赏作者
最新回复 (0)
只看楼主
全部楼主
返回