compile_ntp_on_centos7
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
compile_ntp_on_centos7 [2017/06/01 11:53] – [Start NTPd] admin | compile_ntp_on_centos7 [2021/10/09 15:14] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{tag> | {{tag> | ||
- | ~~TOC~~ | ||
=====CentOS 7 - install NTPd 4.2.8p10===== | =====CentOS 7 - install NTPd 4.2.8p10===== | ||
Line 68: | Line 67: | ||
====Leapfile==== | ====Leapfile==== | ||
Make sure your server can reach time.nist.gov over FTP. | Make sure your server can reach time.nist.gov over FTP. | ||
+ | |||
+ | use Digest::SHA qw(sha1_hex); | ||
+ | use File::Copy qw(move); | ||
+ | use File:: | ||
+ | use Getopt:: | ||
+ | use Sys:: | ||
+ | |||
+ | |||
* Schedule retrieval of leapfile using the '' | * Schedule retrieval of leapfile using the '' | ||
#!/bin/bash | #!/bin/bash | ||
Line 83: | Line 90: | ||
systemctl start ntpd | systemctl start ntpd | ||
fi | fi | ||
- | |||
</ | </ | ||
====SystemD service==== | ====SystemD service==== |
compile_ntp_on_centos7.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1