This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.

修性不修命,萬劫陰靈難入聖; 修命不修性,猶有家財無主柄
Album | Blog | Comment | Profile | Control Panel
aquatower | 21 July,2009 23:06

NTP: Network Time Protocol

config file: /etc/ntp.conf

config tool: #system-config-date


#vi /etc/ntp.conf

---略---
# Permit all access over the loopback interface. This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
restrict 127.0.0.1

#指定 interface
restrict 192.168.0.254

# Hosts on local network are less restricted.
#restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap

#允許intranet使用ntp server
restrict 192.168.0.0 mask 255.255.255.0 nomodify notrap

# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).

#外部ntp server
server clock.stdtime.gov.tw
---略---

#service ntpd start

#chkconfig ntpd on


Comment

Trackback

Comment Permissions: Only members may comment. If you are not a PIXNET member, click here to sign up.