NTP Setup on RedHat

Create file /etc/ntp.conf with following:

restrict <time server ip> mask 255.255.255.255 server <time server ip> driftfile /var/lib/ntp/drift broadcastdelay 0.008 authenticate yes keys /etc/ntp/keys

Then run:

chkconfig ntpd on

service ntpd start

Verify timezone:

Look in /usr/share/zoneinfo for your timezone and link it to /etc/localtime i.e.

for America Chicago Central Time:

ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime

No comments: