[英]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.