查看系统时间信息:[root@localhost~]# timedatectl status列出所有时区:[root@localhost~]# timedatectl list-timezones 将硬件时钟调整为与本地时钟一致, 0 为设置为 UTC 时间[root@localhost~]# timedatectl set-local-rtc 1 设置系统时区为上海[root@localhost~]# timedatectl set-timezone Asia/Shanghai