简体   繁体   中英

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. But when I check the current time on all 3 by using the date command via command line, none of them matches.

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. Once that is installed and set up properly, you should show the same exact time on all of them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM