1. 执行tzselect命令 --> 选择Asia --> 选择China --> 选择1) Beijing Time >然后输入1。

2. 把 TZ='Asia/Shanghai'; export TZ 放在/etc/profile下
3. 执行 source /etc/profile 生效

原创文章,作者:3628473679,如若转载,请注明出处:https://blog.ytso.com/tech/aiops/268268.html
1. 执行tzselect命令 --> 选择Asia --> 选择China --> 选择1) Beijing Time >然后输入1。

2. 把 TZ='Asia/Shanghai'; export TZ 放在/etc/profile下
3. 执行 source /etc/profile 生效

原创文章,作者:3628473679,如若转载,请注明出处:https://blog.ytso.com/tech/aiops/268268.html