如何设置Centos6.4系统的时区
2016-08-05 08:51
453 查看
[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]#
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]#
相关文章推荐
- 设置修改CentOS系统时区
- redhat,centos设置系统时区
- CentOS下系统时间同步和时区的修改和设置(用的这个)
- 如何开启Centos6.4系统的SSH服务
- 设置修改CentOS系统时区
- 设置修改CentOS系统时区
- [转]设置修改CentOS系统时区
- 设置修改CentOS系统时区
- centos 修改/设置时区和系统时间
- 设置修改CentOS系统时区
- 设置修改CentOS系统时区
- 修改CentOS 6.4 root用户的系统默认语言设置
- [转]设置修改CentOS系统时区/时间
- CentOS系统时区设置
- 设置修改CentOS系统时区
- 设置修改CentOS系统时区
- 设置修改CentOS系统时区
- 设置修改CentOS系统时区
- XP下安装Centos 6.4 双系统 :Linux系统分区及挂载点,关键引导程序启动设置
- Redhat, CentOS 设置系统时区