CentOS 6.6 更换时区


[root@nb0001 ~]# cp  /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

cp: overwrite `/etc/localtime'? y

[root@nb0001 ~]# 

[root@nb0001 ~]# 

[root@nb0001 ~]# date -R

Wed, 09 Dec 2015 08:51:46 +0800

[root@nb0001 ~]# 

[root@nb0001 ~]# 

[root@nb0001 ~]# ntpdate cn.pool.ntp.org

 9 Dec 08:51:59 ntpdate[9488]: adjust time server 202.118.1.130 offset 0.000956 sec

[root@nb0001 ~]# date

Wed Dec  9 08:52:04 CST 2015




你可能感兴趣的:(centos,6.6,更换时区)