Centos /ubuntu 配置时区时time zone files are not set up correctly
在网上找了下资料没什么头绪,又试了下tzconfig,结果又提示root@ubuntu:etc# tzselect
/usr/bin/tzselect: line 171: /etc/iso3166.tab: No such file or directory
/usr/bin/tzselect: time zone files are not set up correctly
最后用dpkg-reconfigure tzdata才成功了,接下来再配置好/etc/ntp.conf才算结束。WARNING: the tzconfig command is deprecated, please use:
dpkg-reconfigure tzdata
Centos 系统可以使用yum reinstall tzdata 重新安装软件包。
#server 0.ubuntu.pool.ntp.org
#server 1.ubuntu.pool.ntp.org
#server 2.ubuntu.pool.ntp.org
#server 3.ubuntu.pool.ntp.org
server ntp.sjtu.edu.cn目录 返回
首页