Linux NTP Client Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(2 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 17: Line 23:


  [[Timedatectl#Configure_NTP|timedatect set-ntp true]]
  [[Timedatectl#Configure_NTP|timedatect set-ntp true]]
=Configuration=


=Check=
=Check=

Latest revision as of 23:39, 3 June 2019

External

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