How to sync time between windows and linux computers?
-
24-05-2021 - |
Question
We have several linux and windows boxes and some of their clocks will drift. Is there a quick way to set up one of these systems as a time server and have the others point to them? This will need to work on a stand alone network. The OSs are specifically XP and RHEL5 for this exercise.
Solution
You can set up a NTP Server on one of the Linux machines and have the others point to it.
Connect to the NTP-Server in Redhat:
ntpdate -du ntpservername
Connect to the NTP-Server in Windows XP:
- Right click on the clock in the system tray
- Choose adjust time
- On the
internet time
tab insert your server hostname
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow