Ubuntu,  Unix

Install ntpd in Ubuntu Server 10

I’m sure you’re getting tired of seeing me regurgitate apt-get commands, but here’s another:

apt-get install ntp

This will install ntpd. Then a quick update to /etc/ntp.conf to configure who you get your updates from (I still like time.apple.com) and you’re now an ntp server. Once changed, restart the daemon:

/etc/init.d/ntp restart

Then, use ntpq to check your time against the server:

ntpq -np

Lucky us, ntp is easy, but we’re gonna’ need it for Kerberos now aren’t we…