下载软件包
[root@localhost src]# wget https://chrony-project.org/releases/chrony-4.6.1.tar.gz
解压软件包
[root@localhost src]# tar -zxvf chrony-4.6.1.tar.gz
查看目录中的文件
[root@localhost src]# cd chrony-4.6.1/
[root@localhost chrony-4.6.1]# ls
查看安装说明
[root@localhost chrony-4.6.1]# cd doc
[root@localhost doc]# ls
[root@localhost doc]# vi installation.adoc
* pkg-config: detection of development libraries
* Nettle, GnuTLS, NSS, or LibTomCrypt: secure hash functions (`SECHASH`)
* libcap: dropping root privileges on Linux (`DROPROOT`)
[root@localhost ~]# yum -y install libcap-devel
* libseccomp: system call filter on Linux (`SCFILTER`)
[root@localhost ~]# yum -y install libseccomp-devel
* GnuTLS and Nettle: Network Time Security (`NTS`)
[root@localhost ~]# yum -y install gnutls-devel
[root@localhost ~]# yum -y install nettle-devel
* Editline: line editing in `chronyc` (`READLINE`)
[root@localhost ~]# yum -y install libedit-devel
* timepps.h header: PPS reference clock
* Asciidoctor: documentation in HTML format
* Bash: test suite
配置
<