User Tools

Site Tools


сервис_ntp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
сервис_ntp [2020/08/26 07:04]
val [Debian/Ubuntu/FreeBSD]
сервис_ntp [2021/07/29 07:27]
admin [Debian/Ubuntu]
Line 14: Line 14:
  
   * [[https://​www.pool.ntp.org/​zone/​ru|Russian Federation — ru.pool.ntp.org]]   * [[https://​www.pool.ntp.org/​zone/​ru|Russian Federation — ru.pool.ntp.org]]
-  * [[https://wiki.archlinux.org/index.php/​Systemd-timesyncd_(%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)|systemd-timesyncd ​(Русский)]]+  * [[https://blog.programs74.ru/how-to-use-systemd-timesyncd/​|Использование ​systemd-timesyncd ​для ​синхронизации времени в Debian/​Ubuntu]]
  
 <​code>​ <​code>​
Line 40: Line 40:
 #restrict 192.168.0.0 mask 255.255.0.0 #restrict 192.168.0.0 mask 255.255.0.0
 #server 127.127.1.1 #server 127.127.1.1
-</​code>​ +</​code><​code>​
-<​code>​+
 gate# service ntp restart gate# service ntp restart
 </​code>​ </​code>​
Line 47: Line 46:
 <​code>​ <​code>​
 gate# ntpq -pn gate# ntpq -pn
 +</​code><​code>​ 
 +*128.0.142.251 ​ ... 
 ++193.192.36.3 ​  ... 
 ++188.225.9.167 ​ ... 
 +</​code><​code>​
 gate# ntptrace gate# ntptrace
 +
 +gate# apt install ntpstat
 +
 +gate# ntpstat
 </​code>​ </​code>​
  
сервис_ntp.txt · Last modified: 2021/09/06 11:35 by val