debian系统时区快速修改方法
查看当前时区方法:
root@localhost:~# timedatectl
Local time: Sun 2022-12-18 16:26:09 CST
Universal time: Sun 2022-12-18 08:26:09 UTC
RTC time: Sun 2022-12-18 08:26:10
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: no
NTP service: n/a
RTC in local TZ: no
查看正确的时区
root@localhost:~# timedatectl list-timezones |grep Shanghai #查找中国时区的完整名称
Asia/Shanghai