- 论坛徽章:
- 0
|
The time difference will cause many problem while sharing data between Linux and Windows servers. Actually, this issue occurs also among windows servers. To solve this issue, the Windows domain server will startup a time server. Every time the workstation starts up, it will sychronize its time with the server. Since the time server runs over the standard protocol NTP, the linux server can also synchronize its time with the windows domain server.
1. Check the time server name on windows
c:\net time /domain:*your domain*
Current time at *your time server* is 2003/7/25 PM 05:14
2. Synchronize time between linux and windows
[root@localhost root]# ntpdate *your time server*
25 Jul 17:17:35 ntpdate[9676]: step time server 172.16.213.202 offset -1.373350 sec
Done! |
|