Silent Whisper
record things, events and people in life
Home
All posts
Tags
About
修改Debian 10 Timezone时区设置
Posted at — Sep 12, 2019
所有内容均为原创,转载必须在文章开头注明[转载自Silent Whisper,原文链接 -
修改Debian 10 Timezone时区设置
]
错误的:
执行 tzselct 命令,只能当次有效,重启后恢复默认。
echo “TZ=‘Asia/Shanghai’; export TZ” >> ~/.profile ,可能以前有用,但在新版Debian上已经失效了。
正确的: sudo cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime