System time synchronization how to?

If you want your server system time always correctly, you need this protocol NTP(Network Time Protocol), one application can help you to do this "ntpdate". Just need add two lines to your crontab like this

  • ntpdate stdtime.sinica.edu.tw 1

  • hwclock --systohc

  • ps.
    1. The NTP server selection depends on where you are

    沒有留言 :