ubuntu相关设置 发表于 2016-08-15 | 分类于 Linux | | 修改时区sudo dpkg-reconfigure tzdata 出现时区列表,按照提示选择“Asia/Shanghai” 结果如下123456789101112131415161718192021222324252627282930Package configuration ┌───────────────────────┤ Configuring tzdata ├───────────────────────┐ │ Please select the city or region corresponding to your time zone. │ │ │ │ Time zone: │ │ │ │ Qyzylorda ↑ │ │ Rangoon ▒ │ │ Riyadh ▒ │ │ Sakhalin ▒ │ │ Samarkand ▒ │ │ Seoul ▒ │ │ Shanghai ▮ │ │ Singapore ▒ │ │ Srednekolymsk ▒ │ │ Taipei ↓ │ │ │ │ │ │ <Ok> <Cancel> │ │ │ └────────────────────────────────────────────────────────────────────┘ Current default time zone: 'Asia/Shanghai'Local time is now: Mon Aug 15 00:11:59 CST 2016.Universal Time is now: Sun Aug 14 16:11:59 UTC 2016.ubuntu@master:~$ dateMon Aug 15 00:12:13 CST 2016 ------------- The endThanks for reading-------------