/********************************************************************* * Author:samson * date:06/22/2015 * Test PL Atform: * GCC (Ubuntu 4.8.2-19ubuntu1) 4.8.2 * GNU bash, 4.3.11 (1)-release (X86_64-PC-LINUX-GNU) * *******************************************************************/
NTP, Network Time Protocol, is a protocol that is used to synchronize the time of each computer in a network. Its purpose is to synchronize the computer clock to the World coordinated UTC, its accuracy in the LAN up to 0.1ms, in most places on the Internet its accuracy can reach 1-50ms.
So how does the NTP service in the Debian system install?
sudo apt-get install ntpdate
After the installation is successful, you can use the following command to view the configuration of the NTP server:
Cat/etc/default/ntpdate
The corresponding two commands, one is ntpdate, the other is Ntpdate-debian, the first one can be used to set the NTP service configuration, the second command can run directly from the set up NTP server direct update time.
Installation of the NTP Service (ntpdate) under Debian