NTP

How to install and configure NTP network time protocol server and client. NTP networking protocol synchronize clocks between computers over the network. To install ntp;

$ prt-get depinst ntp

NTP configuration file are at /etc/ntp/ntp.conf and init scripts at /etc/rc.d/ntpd and /etc/rc.d/ntpdate. NTP client and server uses UDP port 123 to send and receive timestamps, check firewall scripts.


Client

Run script ntpdate to synchronize date;

# bash /etc/rc.d/ntpdate start

Add "ntp" to list of services to call at startup in /etc/rc.conf to synchronize the time at boot.