Difference between revisions of "NTP"

From HackerNet
Jump to: navigation, search
(Created page with "Ställ klockan rätt, slipp problem. '''Ntpdate:''' engångssynkroniseringar<br/> '''Ntpd:''' automatisk tidssynkronisering<br/> Ntpd >= ntpdate + crontab")
 
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Ställ klockan rätt, slipp problem.
 
Ställ klockan rätt, slipp problem.
  
'''Ntpdate:''' engångssynkroniseringar<br/>
+
'''Ntpdate:''' engångssynkroniseringar (deprecated sedan 2012)<br/>
 
'''Ntpd:''' automatisk tidssynkronisering<br/>
 
'''Ntpd:''' automatisk tidssynkronisering<br/>
 +
'''SNTP:''' Simple NTP är inte lika pålitligt eller noggrannt som NTP<br/>
 
Ntpd >= ntpdate + crontab
 
Ntpd >= ntpdate + crontab
 +
 +
yum/apt-get install ntp
 +
 +
Konfiguration
 +
nano /etc/ntp.conf
 +
server 10.0.0.10
 +
 +
Verifiera
 +
ntptrace
 +
ntpq -pn
 +
 +
===Time Zone===
 +
timedatectl
 +
sudo timedatectl set-timezone Europe/Stockholm
 +
 +
[[Category:Tools]]

Latest revision as of 19:44, 11 May 2022

Ställ klockan rätt, slipp problem.

Ntpdate: engångssynkroniseringar (deprecated sedan 2012)
Ntpd: automatisk tidssynkronisering
SNTP: Simple NTP är inte lika pålitligt eller noggrannt som NTP
Ntpd >= ntpdate + crontab

yum/apt-get install ntp

Konfiguration

nano /etc/ntp.conf
server 10.0.0.10

Verifiera

ntptrace
ntpq -pn

Time Zone

timedatectl
sudo timedatectl set-timezone Europe/Stockholm