NTP Daemon

On Ubuntu:
Install with:

apt-get install ntp-simple ntpdate


Edit /etc/ntp.conf and add your ntp servers in the server section e.g.

server ntp.domain.tld


Restart the service:

/etc/init.d/ntp-server restart

On CentOS/Red Hat:
Ensure that ntp is installed

service –list ntpd

or install with:

yum install ntp

Edit /etc/ntp.conf and add your ntp servers in the server section e.g.

server ntp.domain.tld

Set the service to start automatically:

chkconfig ntpd on

Start the service:

service ntpd start

Check the ntpd status with:

1
ntpq -p


Post comment