Ubuntu/24: Difference between revisions
< Ubuntu
(Created page with "== NTP == systemctl status systemd-timesyncd One-shot sync: chronyd -q One-shot time check: chronyd -Q <pre> root@IRV-CI-101:~/pbis-open-9.1.0.551.linux.x86_64.deb# chronyd -q Command 'chronyd' not found, but can be installed with: apt install chrony root@IRV-CI-101:~/pbis-open-9.1.0.551.linux.x86_64.deb# ntpdate Command 'ntpdate' not found, but can be installed with: apt install ntpsec-ntpdate </pre>") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
systemctl status systemd-timesyncd | systemctl status systemd-timesyncd | ||
/etc/systemd/timesyncd.conf | |||
[Time] | |||
NTP=ntp.example.com | |||
/etc/systemd/timesyncd.conf.d/ | |||
systemctl stop systemd-timesyncd | |||
systemctl start systemd-timesyncd | |||
--- | |||
One-shot sync: | One-shot sync: | ||
Line 18: | Line 29: | ||
apt install ntpsec-ntpdate | apt install ntpsec-ntpdate | ||
</pre> | </pre> | ||
About time synchronisation | Ubuntu | |||
https://ubuntu.com/server/docs/about-time-synchronisation | |||
== Dual Boot - Remember Last Choice == | |||
dual boot - How to get grub2 to remember last choice? - Ask Ubuntu - http://askubuntu.com/questions/148662/how-to-get-grub2-to-remember-last-choice | |||
Ubuntu: | |||
/etc/default/grub: | |||
GRUB_DEFAULT=saved | |||
GRUB_SAVEDEFAULT=true | |||
then run: | |||
sudo update-grub | |||
== keywords == |
Latest revision as of 05:19, 30 September 2024
NTP
systemctl status systemd-timesyncd
/etc/systemd/timesyncd.conf [Time] NTP=ntp.example.com
/etc/systemd/timesyncd.conf.d/
systemctl stop systemd-timesyncd systemctl start systemd-timesyncd
---
One-shot sync:
chronyd -q
One-shot time check:
chronyd -Q
root@IRV-CI-101:~/pbis-open-9.1.0.551.linux.x86_64.deb# chronyd -q Command 'chronyd' not found, but can be installed with: apt install chrony root@IRV-CI-101:~/pbis-open-9.1.0.551.linux.x86_64.deb# ntpdate Command 'ntpdate' not found, but can be installed with: apt install ntpsec-ntpdate
About time synchronisation | Ubuntu https://ubuntu.com/server/docs/about-time-synchronisation
Dual Boot - Remember Last Choice
dual boot - How to get grub2 to remember last choice? - Ask Ubuntu - http://askubuntu.com/questions/148662/how-to-get-grub2-to-remember-last-choice
Ubuntu:
/etc/default/grub:
GRUB_DEFAULT=saved GRUB_SAVEDEFAULT=true
then run:
sudo update-grub