tzselect

按提示选择,之后cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ,其中Asia/Shanghai是tzselect的输出结果

调整centos时区

 

完成之后可以用date命令看结果

相关文章: