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.

Leave a Reply

  • Income

  • Current Poll

    Which sub-note are you getting?
    View Results
  • Cloud Nine

  • Current Reading List

    Nation

    Neeeeeeew Praaaaaaaaatchett. It's in the kiddie-series, but they're equally brilliant and I'm sure this one is too.
    Blue War: A Punktown novel (Punktown)

    I've read several books in the same universe now, great stuff. Make sure you start at the beginning though.
    Neuromancer

    I know, I know, should have read it ages ago. I've tried several times but only get to page 50 before it bores me out though. I'll keep trying, honest! :-)