Linux NTP Client Configuration: Difference between revisions
Jump to navigation
Jump to search
(→Check) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=External= | |||
* https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/chap-configuring_the_date_and_time | |||
* https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/s1-utc_timezones_and_dst | |||
=Internal= | =Internal= | ||
* [[Linux#Configuration|Linux]] | * [[Linux#Configuration|Linux]] | ||
* [[Distributed_Systems#Network_Time_Protocol|Distributed Systems - Network Time Protocol]] | |||
=Overview= | =Overview= | ||
Line 13: | Line 19: | ||
systemctl enable ntpd | systemctl enable ntpd | ||
systemctl start ntpd | systemctl start ntpd | ||
Alternatively (<font color=red>?</font>): | |||
[[Timedatectl#Configure_NTP|timedatect set-ntp true]] | |||
=Configuration= | |||
=Check= | =Check= |
Latest revision as of 23:39, 3 June 2019
External
- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/chap-configuring_the_date_and_time
- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/s1-utc_timezones_and_dst
Internal
Overview
Install
yum install ntp
Activate
systemctl enable ntpd systemctl start ntpd
Alternatively (?):
timedatect set-ntp true
Configuration
Check
ntpdate
ntpq -p
ntpdc -c sysinfo
US NTP Servers
server 0.us.pool.ntp.org server 1.us.pool.ntp.org server 2.us.pool.ntp.org server 3.us.pool.ntp.org