使用如下命令code
dpkg-reconfigure tzdata
而后依次选Asia和Shanghaidate
Asia
Shanghai
输入date检验时间是否正确时间
date
输入date -R检验时区是否为+0800co
date -R
+0800