Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


compile_ntp_on_centos7

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
compile_ntp_on_centos7 [2016/11/22 19:51] – [Start NTPd] admincompile_ntp_on_centos7 [2017/06/01 11:46] – [Configure and compile NTPd] admin
Line 2: Line 2:
 ~~TOC~~ ~~TOC~~
  
-=====CentOS 7 - install NTPd 4.2.8p9=====+=====CentOS 7 - install NTPd 4.2.8p10=====
 This page describe the installation of NTPd as a server for other clients. This page describe the installation of NTPd as a server for other clients.
 ====Prerequisites==== ====Prerequisites====
   * Download the latest NTPd source and md5 file from: [[http://www.ntp.org/downloads.html]]   * Download the latest NTPd source and md5 file from: [[http://www.ntp.org/downloads.html]]
   * Read the changelog: [[http://archive.ntp.org/ntp4/ChangeLog-stable]]   * Read the changelog: [[http://archive.ntp.org/ntp4/ChangeLog-stable]]
-  * Verify md5 sum:<code># md5sum -c ntp-4.2.8p9.tar.gz.md5  +  * Verify md5 sum:<code># md5sum -c ntp-4.2.8p10.tar.gz.md5  
-ntp-4.2.8p9.tar.gz: OK+ntp-4.2.8p10.tar.gz: OK
 </code> </code>
   * Install development tools, libraries and utilities:<code># yum groupinstall "Development Tools"   * Install development tools, libraries and utilities:<code># yum groupinstall "Development Tools"
Line 23: Line 23:
  
 ====Configure and compile NTPd==== ====Configure and compile NTPd====
-  * Extract NTPd sources:<code># tar zxf ntp-4.2.8p9.tar.gz</code> +  * Extract NTPd sources:<code># tar zxf ntp-4.2.8p10.tar.gz</code> 
-  * Configure:<code># cd ntp-4.2.8p9 +  * Configure:<code># cd ntp-4.2.8p10 
-# ./configure --enable-linuxcaps --docdir=/usr/share/doc/ntp-4.2.8p9+# ./configure --enable-linuxcaps --docdir=/usr/share/doc/ntp-4.2.8p10
 </code> </code>
   * Compile:<code># make</code>   * Compile:<code># make</code>
compile_ntp_on_centos7.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1