User Tools

Site Tools


networking:linux:linux_time

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
networking:linux:linux_time [2020/10/05 14:15]
gcooper
networking:linux:linux_time [2021/01/16 21:15] (current)
gcooper
Line 15: Line 15:
 https://linuxconfig.org/how-to-change-timezone-on-ubuntu-18-04-bionic-beaver-linux https://linuxconfig.org/how-to-change-timezone-on-ubuntu-18-04-bionic-beaver-linux
  
-:!: ''systemd-timesyncd'' is a client-only, lightweight, simple replacement for ''ntpd'' It cannot act as a time server.+https://feeding.cloud.geek.nz/posts/time-synchronization-with-ntp-and-systemd/ 
 + 
 +:!: ''systemd-timesyncd'' is a client-only, lightweight, simplereplacement for ''ntpd'' It cannot act as a time server.
  
 <file> <file>
 timedatectl set-timezone America/Phoenix timedatectl set-timezone America/Phoenix
  
-timedatectl+timedatectl status 
 +</file> 
 + 
 +<file> 
 +systemctl restart systemd-timesyncd.service
 </file> </file>
  
Line 67: Line 73:
  
 Edit /etc/ntp.conf and add a line for your preferred server: Edit /etc/ntp.conf and add a line for your preferred server:
-<file> 
  
 +<file>
 vi /etc/ntp.conf vi /etc/ntp.conf
  
Line 106: Line 112:
 </file> </file>
  
 +<file>
 sudo service ntpd restart sudo service ntpd restart
 +</file>
 +
 +===== Public Server =====
 +
 +https://www.digitalocean.com/community/tutorials/how-to-configure-ntp-for-use-in-the-ntp-pool-project-on-ubuntu-16-04
  
 ===== Firewall ===== ===== Firewall =====
networking/linux/linux_time.1601928915.txt.gz · Last modified: 2020/10/05 14:15 by gcooper