8. NTP - MikaelAndriIngason/KEST3LN05EU-Lokaverkefni GitHub Wiki
NTP Installation
Server
$ sudo apt-get install ntp
Client
$ sudo apt-get install ntpdate
$ sudo apt-get install ntp
NTP Configuration
Server
$ sudo nano /etc/ntp.conf
$ sudo ufw allow from any to any port 123 proto udp
(got the pools from https://www.pool.ntp.org/zone/is)
Client
$ sudo nano /etc/hosts
$ sudo nano /etc/ntp.conf
NTP Synchronization from client
$ ntpq -p