The Network Time Protocol (NTP) defines a set of algorithms for the dissemination of time across the web. The NTP protocol may be employed to synchronise the program time in your Linux Server with a very correct Internet time reference.
This article describes how you can configure the Network Time Protocol (NTP) daemon on your Linux server to synchronise with an Internet centered NTP server. It also supplies a list of well-know public Net time references.
Obtaining the NTP Supply Code Distribution
The Linux NTP source code distribution is publicly accessible ‘open source’ software. The distribution could be freely downloaded in the NTP web site ‘ntp.org’. The latest NTP version for Linux is two.4.2. A port can be accessible for Windows platforms, however the primary advancement platform for NTP will be the Linux operating method. Numerous Linux primarily based operating programs like Mandrake and Redhat supply NTP as an installable RPM package.
As soon as download is total, the NTP distribution need to be configured and compiled on the host pc.
Configuration from the NTP Daemon
The NTP daemon is configured via entries in the main NTP configuration file ‘ntp.conf’. The NTP configuration file is made up of a checklist of commands that instruct the daemon to synchronise with a specified NTP server. NTP servers are specified employing the ‘server’ command followed by the domain name from the server thus:
server ntp2c.mcc.ac.uk
server ntp.cis.strath.ac.uk
Quite a few accessibility control possibilities are also obtainable to restrict the use of your NTP server by network time clients. To only let machines on your own network to synchronize with the server use:
» Read more: Configuring NTP On Your Linux Server