Topics

Archives

Handy References


« | Main | »

NTP Configuration

By Matt | January 24, 2008

1) Install ntpd if not already there.  Link it to your default startup directory.

ln -s /etc/init.d/ntpd /etc/rc3.d/S99ntpd

2) /etc/ntp/step-tickers: 

time.nist.gov 
pool.ntp.org

3) In /etc/sysconfig/iptables open up the port:

# NTP is only accessible via the Gig Backbone:
-A RH-Firewall-1-INPUT -m state –state NEW -m udp -p udp –dport 123 -s 192.168.1.0/0 -j ACCEPT

4) Now (re)start iptables & ntpd

5) On internal-only servers, install ntpd. 

6) Set step-ticker to point to internal server.  If using hostname, verify /etc/hosts and/or  the /etc/resolv.conf is set properly to allow the hostname to resolve.

7) Link it to your default startup directory.

8) Start it

Topics: Linux, Networking, Sysadmin Tools | No Comments »

Comments

You must be logged in to post a comment.