Linux NTP Client Configuration: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Linux =Overview= =Install= yum install ntp =Activate= systemctl start ntpd =Check= ntpdate ntpq -p ntpdc -c sysinfo") |
|||
(6 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 11: | Line 17: | ||
=Activate= | =Activate= | ||
systemctl enable ntpd | |||
systemctl start ntpd | systemctl start ntpd | ||
Alternatively (<font color=red>?</font>): | |||
[[Timedatectl#Configure_NTP|timedatect set-ntp true]] | |||
=Configuration= | |||
=Check= | =Check= | ||
Line 20: | Line 33: | ||
ntpdc -c sysinfo | 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 |
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