filmov
tv
Sync datetime on ubuntu server using ntp

Показать описание
First check time and date , Command is :
date
If is correct then you are good , If not Then
sudo timedatectl set-ntp no
timedatectl
sudo apt-get install ntp
sudo ntpq -p
#comment pool or server lines
#add
sudo service ntp restart
date
If is correct then you are good , If not Then
sudo timedatectl set-ntp no
timedatectl
sudo apt-get install ntp
sudo ntpq -p
#comment pool or server lines
#add
sudo service ntp restart