解决CentOS7 Local time比实际时间相差8小时
centos7 解决 时间 Time 小时 实际 local 相差
2023-09-27 14:19:39 时间
GPS系统中有两种时间区分,UTC就0时区的时间,CST为本地时间,如北京为早上八点(东八区),UTC时间比北京时晚八小时;
CST:China Standard Time,UTC+8:00 中国沿海时间(北京时间)
UTC:Universal Time Coordinated 世界协调时间
如果需要配置CTS时间,需要创建如下软链接
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
如果需要配置UTC时间,需要创建如下软链接
ln -sf /usr/share/zoneinfo/Universal /etc/localtime
这里我们改成UTC时间
相关文章
- CentOS7上RabbitMQ安装
- CentOS7 Failed to start LSB: Bring up/down networking.解决方法
- centos7离线安装RabbitMQ
- Centos7安装Redis
- centos7使用yum安装mariaDB(开源MySQL)无法启动的解决办法
- CentOS7下查询硬件信息
- CentOS7 修改 启动级别
- centos7里没有ifcfg-eth0只有 ifcfg-ens33(没有Eth0网卡)
- 【Centos7】 中使用Supervisor守护进程
- centos7上面安装MySQL
- Linux - centos7.X 安裝 Python 3.7
- CentOS7安装Composer
- 在centos7中使用supermin制作centos6.5docker镜像
- CentOS7用Mono和MonoDevelop写C#程序
- 成功解决:Xshell 无法连接虚拟机。如何使用Xshell连接CentOS7虚拟机(详细步骤过程)
- 查看虚拟机centos7的ip地址
- CentOS7 查看硬盘情况
- 如何在Centos7上安装和使用ZFS