This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
build:ntp [2005/07/30 16:16] 206.197.251.61 |
build:ntp [2010/07/21 20:41] (current) SLUUG Administration |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== NTP ===== | + | ====== NTP ====== |
| - | We are running NTP to keep the clock accurate. It is pointed at multiple instances of us.pool.ntp.org and is configured in /etc/ntp.conf. We are not providing time service to any other machines (this is limited via the "restrict" keyword in ntp.conf). | + | We are running NTP to keep the clock accurate. |
| + | |||
| + | ===== Installation ===== | ||
| + | Debian | ||
| + | <code debian> | ||
| + | apt-get install ntp ntp-doc ntp-simple ntpdate | ||
| + | </code> | ||
| + | |||
| + | CentOS | ||
| + | <code centos> | ||
| + | yum install ntp | ||
| + | </code> | ||
| + | |||
| + | ===== Configuration ===== | ||
| + | We are using the default configuration that Debian/CentOS ships with. This is primarily a client configuration -- we allow other systems only to get the current time; they may not query any further information. (This is limited via the ''restrict'' keyword.) The daemon runs primarily in order to sync the system's time with the upstream NTP servers. | ||
| + | |||
| + | The configuration file points to multiple upstream NTP servers within [debian/centos].pool.ntp.org. | ||
| + | |||
| + | ===== TODO ===== | ||
| - | # apt-get install ntp ntp-doc ntp-simple ntpdate | ||
| - | | ||