A network time server is a device that can synchronise a network to a single time source.
Linux comes with a version of NTP installed to configure your Linux system to run as a network time server follow these instructions:
1. Configure /etc/ntp.conf
Edit the ntp.conf file using text editor.
server <example-server-name>
and replace these lines with your servers.
server time-a.nist.gov
server time-b.nist.gov
server time-a.timefreq.bldrdoc.gov
(I am using NIST but other time servers are just as good)
2. Synchronize your clock manually
If your clock is too much behind or ahead then NTP might struggle to synchronise so its est to do it manually:
ntpdate 0. time-a.nist.gov
3. Make your ntp daemon executable:
chmod +x /etc/rc.d/rc.ntpd
4. Start NTP now without rebooting
/etc/rc.d/rc.ntpd start