修改服务器系统时间

#修改服务器时区

https://yq.aliyun.com/articles/359597?spm=5176.10695662.1996646101.searchclickresult.3cb0467d1LBm6R
rm -rf /etc/localtime
ln -s /usr/share/zoneinfo/UTC /etc/localtime

vim /etc/timezone

UTC

hwclock -w

reboot

修改java(hive)读取系统时区:

https://juejin.im/post/5b30e8316fb9a00e717edfef

版权声明:本文为hongfeng2019原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/hongfeng2019/p/12104585.html