[admin@Slave1 ~]$ date Fri Aug 5 08:45:41 CST 2016 [admin@Slave1 ~]$ tzselect Please 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 #? 5 Please 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 #? 9 Please select one of the following time zone regions. 1) east China - Beijing,Guangdong,Shanghai,etc. 2) Heilongjiang (except Mohe),Jilin #? 1 The following information has been given: China east China - Beijing,etc. Is the above information OK? 1) Yes 2) No #? 1 [admin@Slave1 ~]$ cat /usr/share/zoneinfo/Asia/Shanghai CST-8 [root@Slave1 admin]# cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime cp: overwrite ?.etc/localtime?. y [root@Slave1 admin]# date Fri Aug 5 08:48:11 CST 2016 [root@Slave1 admin]#
原文地址:https://www.jb51.cc/centos/381287.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。