Syncing Date and Time with a NTP Server – Ubuntu
Posted by Command-Line, Linux, Ubuntu | Posted on 23-09-2009
| Posted inIf you have several servers to manage, having them set with the same date and time is very important.
NTP stands for Network Time Protocol.
ntpdate – set the date and time via NTP
sudo ntpdate NTPServerAddress
or if you want to use ubuntu’s time server.
sudo ntpdate ntp.ubuntu.com
If you want to use multiple time servers, you can use a command like this. Where the new time server follows the address of your current server.
sudo ntpdate ntp.ubuntu.com time.apple.com
Links:
NTP Pool Project
Ubuntu Time Synchronization with NTP