Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
NTPNotes
Edit
PageHistory
Diff
Info
LikePages
You are viewing an old revision of this page.
View the current version
.
!! Setting up NTP on Debian/Ubuntu You need to: # Install the [NTP] dæmon ([Package] <tt>ntp</tt> in [Debian] and friends). # Pick some [NTPServers] to synch with. # If necessary, fix your system time. # Start the dæmon. <verbatim> aptitude install ntp /etc/init.d/ntp stop echo 'server nz.pool.ntp.org' >> /etc/ntp.conf ntpdate nz.pool.ntp.org # optional /etc/init.d/ntp start </verbatim> Of course you would actually use a TextEditor to add the [NTPServers] to <tt>/etc/ntp.conf</tt>. The [ntpdate(8)] step is necessary only if your local clock is way off from the time server’s time, in which case the [NTP] dæmon may terminate. Note that even [ntpdate(8)] adjusts the time only gradually if within a certain time range – if you don't want that, use the <tt>-b</tt> option. !! See also * TimeNotes ---- CategoryNotes
3 pages link to
NTPNotes
:
NTP
TimeNotes
NTPServers