您的位置:首页 > 技术中心 > 运维 >

centos中cst是不是代表北京时间

时间:2022-04-19 15:24

centos中cst是代表北京时间,同时还代表美国、澳大利亚或者古巴的标准时间;CST的全称为CentralStandardTime(USA或者Australia)、ChinaStandardTime或者CubaStandardTime。

本文操作环境:centos 7系统、Dell G3电脑。

centos中cst是不是代表北京时间

centos中cst是代表北京时间

CST可视为美国、澳大利亚、古巴或中国的标准时间。

CST英语全称为CentralStandardTime(USA)、CentralStandardTime(Australia)、ChinaStandardTime或CubaStandardTime等四个地方。具体如下:

1、美国中部时间:CentralStandardTime(USA)UT-6:00。

2、澳大利亚中部时间:CentralStandardTime(Australia)UT+9:30。

3、中国标准时间:ChinaStandardTimeUT+8:00。

4、古巴标准时间:CubaStandardTimeUT-4:00。

更改UTC时间为CST时间

# 备份之前的localtime文件
mv localtime{,.bak}
# 更改CST上海时间
ln -s /usr/share/zoneinfo/Asia/Shanghai  /etc/localtime
# 测试
[root@1889ac6ed47a /etc]# date
Sat Aug 29 10:38:26 CST 2020

推荐教程:《centos教程》

以上就是centos中cst是不是代表北京时间的详细内容,更多请关注gxlsystem.com其它相关文章!

本类排行

今日推荐

热门手游