This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
networking:linux:linux_time [2015/03/15 11:30] gcooper |
networking:linux:linux_time [2021/01/16 21:15] (current) gcooper |
||
---|---|---|---|
Line 5: | Line 5: | ||
ntpq -p | ntpq -p | ||
- | |||
- | ntptrace pool.ntp.org | ||
ntpstat | ntpstat | ||
- | cat /var/log/daemon.log|grep ntp | + | grep ntp /var/log/messages |
+ | </ | ||
- | zcat /var/log/daemon.log.1.gz |grep ntp | + | ===== Ubuntu ===== |
+ | |||
+ | https://linuxconfig.org/how-to-change-timezone-on-ubuntu-18-04-bionic-beaver-linux | ||
+ | |||
+ | https:// | ||
+ | |||
+ | :!: '' | ||
+ | |||
+ | < | ||
+ | timedatectl set-timezone America/ | ||
+ | |||
+ | timedatectl status | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | systemctl restart systemd-timesyncd.service | ||
</ | </ | ||
Line 59: | Line 73: | ||
Edit / | Edit / | ||
- | < | ||
+ | < | ||
vi / | vi / | ||
Line 91: | Line 105: | ||
< | < | ||
- | vim / | + | vim / |
# Hosts on local network are less restricted. | # Hosts on local network are less restricted. | ||
Line 98: | Line 112: | ||
</ | </ | ||
+ | < | ||
sudo service ntpd restart | sudo service ntpd restart | ||
+ | </ | ||
+ | |||
+ | ===== Public Server ===== | ||
+ | |||
+ | https:// | ||
===== Firewall ===== | ===== Firewall ===== |