| Subcribe via RSS

Synchronizing Server Date and Time Using rdate

June 30th, 2007 Posted in RevTI, System Administration


You can sync or update the date and time of your linux server by using rdate command. rdate command will the check the time server and compare the date time on your server to the time server.

If there is time difference, rdate will update your server date time. To update your server date time run this command:

rdate -s <timeserver></timeserver>

The list of time server can be found on this website: http://www.eecis.udel.edu/~mills/ntp/clock1a.html use the one that near with your server location.

Since my server is in Singapore then I use this command:

rdate -s nets.org.sg

To set the hardware clock to match with your system clock, you can use this command:

/sbin/hwclock --systohc

Most Commented Posts

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word