树莓派(Raspberry Pi)修改时区

1、安装ntp

sudo apt-get install ntpdate 

2、修改时区

tzselect

3、选择自己的时区

  1)选择大洲

  2)选择国家

  3)选择城市

  4)选择YES

  5)或者使用命令行

4、配置网络对时

sudo ntpdate cn.pool.ntp.org

注:cn.pool.ntp.org 是国内的ntp服务器 

5、输入命令,查看时间

date
Wed Dec 24 09:58:28 CST 2014
原文地址:https://www.cnblogs.com/fengbohello/p/4181711.html