small logo

melfneerg.com

 - 'cos life is like that


[Blog]  [Pictures]  [Links]  [About
About the Author
Tudor Davies

author Tudor is a techie turned manager who fights like mad to keep his tech skills honed and relevant. Everything from web hosting, networking, *nix and the like. Constantly developing and co-ordinating with others to make the web a better (and easier to use) place.

NTP

Friday, 6th May 2011  Posted @ 13:59

Finally got around to sorting out NTP in my hosted environment.

First up - the firewall. Ran setup from the command line and ensured that Europe/London was selected as the timezone. Then went into the GUI, selected "Obtain time from a Network Time Server" and "Provide time to local network". Added 2 time server (one of which was recently installed by the ISP - ie. the company I work for), hit "Save" and then "Update Now". Firewall now has the correct time.

Next up, was sorting out NTP on the 4 CentOS boxes (dev, sql, mail and web) and the NAS box (FreeNAS).

CentOS boxes - firstly, make sure your timezone is set correctly:

mv /etc/localtime /etc/localtime-old
ln -s /usr/share/zoneinfo/Europe/London /etc/localtime
Next up, install, configure and run ntp:
yum install ntp
chkconfig ntpd on
ntpdate
Then edited /etc/ntp.conf and set the server entry to point to my firewall (as above). Finally:
service ntpd start
FreeNAS - login to the GUI. Select System - General. Put a tick box in "Enable NTP" and put the IP address in the "NTP Time Server" field. Hit "Save" and its done!

[ no comments : Add ]

Tweet




layout and initial css based on the Qtractor page