简体   繁体   English

时区相同但时间不同的服务器

[英]Servers with same timezone but different time

I have 3 servers, 2 on AWS and one on Digital Ocean, and the timezone for all is set to CDT. 我有3台服务器,其中2台在AWS上,一台在Digital Ocean上,所有时区都设置​​为CDT。 But when I check the current time on all 3 by using the date command via command line, none of them matches. 但是,当我通过命令行使用date命令检查所有3个时间的当前时间时,没有一个匹配。

Server1: Wed Jun 12 23:36:01 CDT 2019

Server2: Wed Jun 12 23:45:51 CDT 2019

Server3: Wed Jun 12 23:38:39 CDT 2019

Could anyone please suggest what needs to be done here? 有人可以建议在这里做什么吗? Thanks. 谢谢。

Since you have not explicitly said that you have ntp running on them, you'll need to install that. 由于您尚未明确表示已在它们上运行ntp,因此需要安装它。 Once that is installed and set up properly, you should show the same exact time on all of them. 一旦正确安装和设置,您应该在所有这些文件上显示相同的准确时间。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在不同时区在一台计算机上运行服务器 - Run servers in one machine in different timezone shell:同时重启一堆服务器 - shell: rebooting bunch of servers all at the same time 不同服务器上具有相同数据的SimpleXML差异 - SimpleXML differences with same data on different servers 在两个不同服务器上的mysql和php中的时间 - Time in mysql and php on two different servers Ubuntu:SQL时间与当前操作系统时区不同 - Ubuntu: SQL time is not the same as current OS timezone Http HEAD在同一资源的不同服务器上返回不同的Last-Modified日期,为什么? - Http HEAD returning different Last-Modified dates on different servers for same resource, why? 时间和时区不对应-Linux - Time & Timezone is not corresponding - Linux 扎比克斯。 为什么在两个相同的 linux 服务器上,具有相同的配置和相同的模板,我在 zabbix 服务器上有不同的项目和触发器? - Zabbix. Why on two same linux servers, with the same configuration and same template, I have different items and triggers on zabbix server? 如何计算两个不同Linux服务器之间的系统时间偏移量? - How can I work out system time offset between two different linux servers? 在 UTC/不同时区配置服务器时,如何在 linux 终端中获取本地日期/时间? - how to get local date/time in linux terminal while server configured in UTC/different timezone?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM