Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
NTPNotes
Edit
PageHistory
Diff
Info
LikePages
!! 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. All in all:'''' <pre> 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 </pre> Of course you would actually use a TextEditor to add the [NTPServers] to <tt>/etc/ntp.conf</tt>, and you would use whichever server is appropriate in place of <tt>nz.pool.ntp.org</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