Friday, June 05, 2009

Configure CentOS for NTP

690829DE-C105-4800-88F3-909624508CD1.jpg

I setup a departmental Jabber server yesterday using Openfire and I needed to make sure that the server kept it's date and time with the rest of the University. I found this quick guide to configuring CentOS 5.3 to synchronize with the University servers:

  • Login as root
  • Install the NTP service, if not already installed: "yum install ntp"
  • Turn on the service: "/sbin/chkconfig ntpd"
  • Point the NTP service at the University NTP servers: "/usr/sbin/ntpdate ntp.msu.edu"
  • Start the NTP service: "/etc/init.d/ntpd start"

No comments: