This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
build:ntp [2007/05/31 17:28] 71.10.176.218 Correct H2->H1 for main heading. |
build:ntp [2010/07/21 20:41] (current) SLUUG Administration |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ===== Installation ===== | ===== Installation ===== | ||
| - | <code rootshell> | + | Debian |
| + | <code debian> | ||
| apt-get install ntp ntp-doc ntp-simple ntpdate | apt-get install ntp ntp-doc ntp-simple ntpdate | ||
| + | </code> | ||
| + | |||
| + | CentOS | ||
| + | <code centos> | ||
| + | yum install ntp | ||
| </code> | </code> | ||
| ===== Configuration ===== | ===== Configuration ===== | ||
| - | We are using the default configuration that Debian 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. | + | 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.pool.ntp.org. | + | The configuration file points to multiple upstream NTP servers within [debian/centos].pool.ntp.org. |
| ===== TODO ===== | ===== TODO ===== | ||