腾讯云短信:关于虚拟机系统时间错误解决:500 :time offset too big, more then 600 seconds
- 查看当前时间状态 timedatectl status
vagrant@homestead:~$ date Mon Apr 8 02:07:46 UTC 2019 vagrant@homestead:~$ timedatectl status Local time: Mon 2019-04-08 02:08:21 UTC Universal time: Mon 2019-04-08 02:08:21 UTC RTC time: Sun 2019-04-07 10:45:14 Time zone: UTC (UTC, +0000) System clock synchronized: yes systemd-timesyncd.service active: yes RTC in local TZ: no
- 执行命令timedatectl set-timezone "Asia/Shanghai" 就可以将时区设为上海时区。
vagrant@homestead:~$ sudo timedatectl set-timezone "Asia/Shanghai"
3.检查一下:
vagrant@homestead:~$ date Mon Apr 8 10:17:59 CST 2019
推荐文章: