如何设置Centos6.4系统的时区

来源:互联网 发布:狸窝mac下载 编辑:程序博客网 时间:2024/05/16 07:30


[admin@Slave1 ~]$ dateFri Aug  5 08:45:41 CST 2016[admin@Slave1 ~]$ tzselectPlease identify a location so that time zone rules can be set correctly.Please select a continent or ocean. 1) Africa 2) Americas 3) Antarctica 4) Arctic Ocean 5) Asia 6) Atlantic Ocean#? 5Please select a country. 1) Afghanistan  18) Israel    35) Palestine 2) Armenia  19) Japan    36) Philippines 3) Azerbaijan  20) Jordan    37) Qatar 4) Bahrain  21) Kazakhstan    38) Russia 5) Bangladesh  22) Korea (North)    39) Saudi Arabia 6) Bhutan  23) Korea (South)    40) Singapore 7) Brunei  24) Kuwait    41) Sri Lanka 8) Cambodia  25) Kyrgyzstan    42) Syria 9) China  26) Laos    43) Taiwan#? 9Please select one of the following time zone regions.1) east China - Beijing, Guangdong, Shanghai, etc.2) Heilongjiang (except Mohe), Jilin#? 1The following information has been given:Chinaeast China - Beijing, Guangdong, Shanghai, etc.Is the above information OK?1) Yes2) No#? 1[admin@Slave1 ~]$ cat /usr/share/zoneinfo/Asia/ShanghaiCST-8[root@Slave1 admin]# cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtimecp: overwrite ?.etc/localtime?. y[root@Slave1 admin]# dateFri Aug  5 08:48:11 CST 2016[root@Slave1 admin]# 


0 0
原创粉丝点击