centos中cst是代表北京時(shí)間,同時(shí)還代表美國、澳大利亞或者古巴的標(biāo)準(zhǔn)時(shí)間;CST的全稱為CentralStandardTime(USA或者Australia)、ChinaStandardTime或者CubaStandardTime。
本文操作環(huán)境:centos 7系統(tǒng)、Dell G3電腦。
centos中cst是不是代表北京時(shí)間
centos中cst是代表北京時(shí)間
CST可視為美國、澳大利亞、古巴或中國的標(biāo)準(zhǔn)時(shí)間。
CST英語全稱為CentralStandardTime(USA)、CentralStandardTime(Australia)、ChinaStandardTime或CubaStandardTime等四個(gè)地方。具體如下:
1、美國中部時(shí)間:CentralStandardTime(USA)UT-6:00。
2、澳大利亞中部時(shí)間:CentralStandardTime(Australia)UT+9:30。
3、中國標(biāo)準(zhǔn)時(shí)間:ChinaStandardTimeUT+8:00。
4、古巴標(biāo)準(zhǔn)時(shí)間:CubaStandardTimeUT-4:00。
更改UTC時(shí)間為CST時(shí)間
# 備份之前的localtime文件 mv localtime{,.bak} # 更改CST上海時(shí)間 ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime # 測試 [root@1889ac6ed47a /etc]# date Sat Aug 29 10:38:26 CST 2020
推薦教程:《centos教程》