Automatically update date/time: Difference between revisions
From Andreida
(Created page with "Debian can automatically update its date/time: * check the currente date/time data * install the service apt-get install systemd-timesyncd * enable it timedatectl set-ntp...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
This is not needed anymore, any current Debian installation will do it correctly. |
|||
I keep this around because sometimes certain virtual machines have problems after SLEEP to get the correct date. |
|||
Debian can automatically update its date/time: |
Debian can automatically update its date/time: |
||
* check the currente date/time |
* check the currente date/time |
||
date |
|||
data |
|||
* install the service |
* install the service |
||
apt-get install systemd-timesyncd |
apt-get install systemd-timesyncd |
||
Line 8: | Line 12: | ||
timedatectl set-ntp true |
timedatectl set-ntp true |
||
* check the currente date/time |
* check the currente date/time |
||
date |
|||
data |
Latest revision as of 21:05, 3 June 2024
This is not needed anymore, any current Debian installation will do it correctly. I keep this around because sometimes certain virtual machines have problems after SLEEP to get the correct date.
Debian can automatically update its date/time:
- check the currente date/time
date
- install the service
apt-get install systemd-timesyncd
- enable it
timedatectl set-ntp true
- check the currente date/time
date