zohfour5l6z
Początkujący
Dołączył: 11 Mar 2011
Posty: 32
Przeczytał: 0 tematów
Ostrzeżeń: 0/2 Skąd: England
|
Wysłany: Czw 4:25, 05 Maj 2011 Temat postu: Installing and Configuring NTP above LINUX |
|
|
Network Time Protocol (NTP) is one Internet protocol designed and developed to synchronise web time clients to one accurate reference timer. NTP defines a number of algorithms and specifies a information structure to pass accurate timing information from a server reference to a consumer machine. This treatise describes how to install the freely available public NTP server software distribution available from 'ntp.org'. It shows how to configure NTP to synchronise time with a internet based public time reference.
Internet based NTP time waiter systems fall into two categories: basic and secondary reference servers. Primary reference servers utilise a extremely exact outer timing reference, such as GPS alternatively radio clocks, to invest accurate time. Secondary reference time servers obtain time from basic reference servers and attempt diluted precision. Primary reference time servers are stratum 1 servers, when secondary servers have a stratum greater than one.
The NTP source code is freely downloadable beneath the GNU public copyright from the NTP web site by 'ntp.org'. NTP was originally adult for the LINUX operating system, whatsoever,[link widoczny dla zalogowanych], a wharf to Windows NT is also available. Once the source code has been obtained, it ought be installed, compiled and configured on the host computer. This process is automated with the installation and configuration scripts supplied in the distribution. Many Linux based operating systems have the NTP archive pre-installed. However, it may be advisable to download the maximum recent version, which is currently />
The NTP daemon is configured via a configuration file 'ntp.conf'. This configuration file may embody a menu of public NTP server references that can be used by the host to synchronise time. The 'server' mandate can be used to specify public NTP time references, temperaments specified after the # character are comments:
server # Public NTP server: NIST,[link widoczny dla zalogowanych], Gaithersburg, Maryland server # Public NTP Server: NIST, Boulder, Colorado
When the configuration document is complete the NTP daemon tin be started using the 'ntpd start' script. Other scripts are vailable that tin be used to control the daemon: 'ntpd stop', 'ntpd restart'. There is also a ask script obtainable namely shows the present synchronisation status of the daemon: 'ntpq -p'.
The 'restrict' command can be used to control access premissions to the NTP server. There are a digit of permutations or the 'restrict' command; a few samples are listed under.
limit default ignore #Restrict always access to the time server restrict disguise nomodify notrap # Only permit local computers access
Multiple commands can be specified to restrict or prohibit access to a range of computers.
NTP provides an added level of security by utilising authentication codes. This is a mechanism where matching opener codes can be specified aboard a client and server which are encrypted and passed among the server and client. This allows a client to confirm the source of a time message. Authentication keys are configured in the 'ntp.keys' file. They are specified using a key reference, encryption code and authentication key. Additionally, believed authentication keys can be specified using the 'trusted key' command is the 'ntpd.conf' configuration file.
Post został pochwalony 0 razy
|
|