Kolbu

Computers, Gadgets and Beyond!
Subscribe


Keeping time in Ubuntu

January 17, 2007 By: webmaster Category: Technology, Tutorials, Ubuntu

For some strange reason, none of my Ubuntu 6.10 installations have included NTP (Network Time Protocol) by default. No idea why, but here is how you make sure the clock your Ubuntu box is staying in sync with the rest of the world if the same thing happens to you.

 # sudo apt-get install ntp-server

This is technically it, but the stock installation does not adjust your time right away if it is way out of sync. So we just do this to make sure we're correct from the start:

# /etc/init.d/ntp-server stop
# ntpdate -s pool.ntp.org
# /etc/init.d/ntp-server start

There, you're in sync and will stay in sync from now on.

Tags: , ,

Leave a Reply

  • Hit me

  • Current Poll

    Which sub-note are you getting?
    View Results
  • Yet Another Test Fd