设置时区:

# timedatectl list-timezones |grep Shanghai
    获取上海时区的全称
# timedatectl set-timezone Asia/Shanghai  
    设置时区
# ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
    或者创建软连接
Last modification:October 18th, 2019 at 11:02 am
If you think my article is useful to you, please feel free to appreciate