mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 17:05:07 -05:00
doc: update installation chapter
This commit is contained in:
@@ -352,7 +352,7 @@ the directory tree where the software should be installed. For example,
|
|||||||
@end example
|
@end example
|
||||||
|
|
||||||
will install the @code{chronyd} daemon into /opt/free/sbin and the
|
will install the @code{chronyd} daemon into /opt/free/sbin and the
|
||||||
chronyc control program into /opt/free/bin. The default value for the
|
@code{chronyc} control program into /opt/free/bin. The default value for the
|
||||||
prefix is /usr/local.
|
prefix is /usr/local.
|
||||||
|
|
||||||
The configure script assumes you want to use gcc as your compiler.
|
The configure script assumes you want to use gcc as your compiler.
|
||||||
@@ -380,7 +380,7 @@ editing support. If you don't want this, specify the --disable-readline flag
|
|||||||
to configure. Please refer to @pxref{line editing support} for more information.
|
to configure. Please refer to @pxref{line editing support} for more information.
|
||||||
|
|
||||||
If a @file{timepps.h} header is available (e.g. from the
|
If a @file{timepps.h} header is available (e.g. from the
|
||||||
@uref{http://linuxpps.org/, LinuxPPS project}), chronyd will be built with PPS API
|
@uref{http://linuxpps.org/, LinuxPPS project}), @code{chronyd} will be built with PPS API
|
||||||
reference clock driver. If the header is installed in a location that isn't
|
reference clock driver. If the header is installed in a location that isn't
|
||||||
normally searched by the compiler, you can add it to the searched locations by
|
normally searched by the compiler, you can add it to the searched locations by
|
||||||
setting @code{CPPFLAGS} variable to @code{-I/path/to/timepps}.
|
setting @code{CPPFLAGS} variable to @code{-I/path/to/timepps}.
|
||||||
@@ -430,9 +430,18 @@ install-info /usr/local/share/info/chrony.info /usr/share/info/dir
|
|||||||
@end example
|
@end example
|
||||||
|
|
||||||
Now that the software is successfully installed, the next step is to
|
Now that the software is successfully installed, the next step is to
|
||||||
set up a configuration file. The contents of this depend on the
|
set up a configuration file. The default location of the file
|
||||||
network environment in which the computer operates. Typical scenarios
|
is @file{@SYSCONFDIR@/chrony.conf}. Suppose you want to use public NTP
|
||||||
are described in the following section of the document.
|
servers from the pool.ntp.org project as your time reference. A
|
||||||
|
minimal working configuration file could be
|
||||||
|
|
||||||
|
@example
|
||||||
|
server 0.pool.ntp.org
|
||||||
|
server 1.pool.ntp.org
|
||||||
|
server 2.pool.ntp.org
|
||||||
|
@end example
|
||||||
|
|
||||||
|
Then, @code{chronyd} can be run.
|
||||||
@c }}}
|
@c }}}
|
||||||
@menu
|
@menu
|
||||||
* line editing support:: If libraries are in a non-standard place
|
* line editing support:: If libraries are in a non-standard place
|
||||||
|
|||||||
Reference in New Issue
Block a user