Debian: time with NTP sync - so it goes
In order to synchronize system time with an NTP Server, you must first install the appropriate Software.
- To do this, open the Terminal and give the command "sudo-i" permanent administrator rights. Now type "apt-get install ntp" and confirm the command with [Enter].
- After Installation, you must use the command "nano /etc/ntp.conf" edit the configuration file for the NTP Daemon.
- Add here the entry "Server" to any NTP Server. These are, for example, for Germany "de.pool.ntp.org" for Austria "at.pool.ntp.org" and for Switzerland "ch.pool.ntp.org". In the home network, you can use your Fritzbox as a time server to use.
- You close with [Ctrl] + [X] to the configuration file and save it with [Y] and then [Enter] your Changes. Then, restart the NTP Daemon with the command "service ntp restart" to restart.
- Now you can synchronize with the command "ntpd-q-g" time. If you also want to keep the hardware clock up to date, you can use "hwclock –systohc".

Debian: time with NTP sync
In the next tip you will learn how to work under Debian create a Backup.
