step1、glibc提供了事先编译好的许多timezone文件,包含大多数国家和地区
ls -F /usr/share/zoneinfo/
step2、zdump可以查看timezone的当前时间
zdump UTC
step3、修改/etc/localtime
cp /usr/share/zoneinfo/UTC /etc/localtime
step4、同步时间
ntpdate -u ntp.api.bz
step1、glibc提供了事先编译好的许多timezone文件,包含大多数国家和地区
ls -F /usr/share/zoneinfo/
step2、zdump可以查看timezone的当前时间
zdump UTC
step3、修改/etc/localtime
cp /usr/share/zoneinfo/UTC /etc/localtime
step4、同步时间
ntpdate -u ntp.api.bz