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


[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]# 

相关文章

Centos下搭建性能监控Spotlight
CentOS 6.3下Strongswan搭建IPSec VPN
在CentOS6.5上安装Skype与QQ
阿里云基于centos6.5主机VPN配置
CentOS 6.3下配置multipah
CentOS安装、配置APR和tomcat-native