How to Synchronize NTP in Linux

NTP (Network Time Protocol) is a protocol designed to synchronize a computer's system clock with a central time server. This server can be on the local network, or one of the various public NTP servers. The Linux operating system uses either the "ntpdate" or "netdate" commands to synchronize the clock with a central server. You should define both a primary server and a secondary server for redundancy.

Instructions

    • 1

      Open a terminal window. The terminal window program is called "Terminal," "Konsole" or "Xterm," depending on the distribution, and can be found under the "Accessories," "System Tools" or "Utilities" sections of the main menu.

    • 2

      Type the command "su" to switch to the root user.

    • 3

      Type the command "ntpdate primary secondary" or "netdate primary secondary" to synchronize the system clock, depending on which software your Linux distribution uses. Replace "primary" with the primary NTP server. Replace "secondary" with the secondary NTP server.

    • 4

      Type the command "exit" to close the root session.

Related Searches:

References

Resources

Comments

You May Also Like

  • Primary Server Vs. Secondary Server

    Most domain name system (DNS) registrars require you to have at least two DNS servers, a primary server and a secondary server,...

  • How to Synchronize the Time to a Hardware Clock

    Pablo Picasso once said, "Work is a necessity for man. Man invented the alarm clock." Since that invention, we've progressed to computers,...

  • How to Sync NTP

    The Network Time Protocol (NTP) synchronizes your system clock with a central time server. The central time server can be an public...

  • A List of Windows NTP Time Servers

    A Secondary (or Stratum 2) Time Server receives its time from one or more primary time servers. As a result these servers...

  • What Are Clock Synchronization Mechanisms?

    Real-time distributed systems that operate with global schedules must have a clock synchronization mechanism. Linux is one of these systems, as it...

  • About Learning & Teaching in Secondary Schools

    Teaching methods constantly evolve, but the essence of the pedagogical approach in the secondary classroom is the reciprocal relationship between teaching and...

  • How to Stop NTP Services

    The network time protocol, or NTP, is a network setting that synchronizes your computer clock with clocks stored on networks. The NTP...

  • How to Sync a Clock With a Server

    The clock in the Windows, Mac and Linux operating systems is set according to the system time parameters that are built into...

Related Ads

Featured