1.打开时间同步服务

sudo timedatectl set-ntp true

2.选择上海时区

sudo dpkg-reconfigure tzdata

在弹出的第一个界面中选择Asia,并敲回车

树莓派系统时间配置

3.然后再弹出的窗口中选择Shanghai

树莓派系统时间配置

4.date命令检查时间是否正确

树莓派系统时间配置

 

相关文章:

  • 2021-09-16
  • 2021-12-07
  • 2022-12-23
  • 2021-08-02
  • 2021-12-31
  • 2022-01-28
  • 2022-01-10
  • 2022-12-23
猜你喜欢
  • 2021-10-05
  • 2022-12-23
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
  • 2022-01-15
  • 2021-04-20
相关资源
相似解决方案