[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, Guangdong, Shanghai, 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]#