{"id":2133,"date":"2024-12-18T21:28:53","date_gmt":"2024-12-18T13:28:53","guid":{"rendered":"https:\/\/www.yusian.com\/blog\/?p=2133"},"modified":"2024-12-18T21:30:39","modified_gmt":"2024-12-18T13:30:39","slug":"how-to-synchronization-time-in-linux","status":"publish","type":"post","link":"https:\/\/www.yusian.com\/blog\/article\/2024\/12\/18\/2128532133.html","title":{"rendered":"How to synchronization time in Linux"},"content":{"rendered":"<h3>show date and time<\/h3>\n<pre><code class=\"language-bash line-numbers\">debian@virtual-machine:~$ timedatectl status\n               Local time: Thu 2024-12-19 13:21:58 HKT\n           Universal time: Thu 2024-12-19 05:21:58 UTC\n                 RTC time: Thu 2024-12-19 05:21:57\n                Time zone: Asia\/Hong_Kong (HKT, +0800)\nSystem clock synchronized: no\n              NTP service: n\/a\n          RTC in local TZ: no\n\n<\/code><\/pre>\n<h3>Install Systemd-timesyncd Service<\/h3>\n<p>if the <code>System clock synchronized<\/code> is displaed <code>no<\/code>, you should install <code>systemd-timesyncd<\/code> Service.<\/p>\n<pre><code class=\"language-bash line-numbers\">debian@virtual-machine:~$ sudo apt install systemd-timesyncd\n<\/code><\/pre>\n<p>And then a few seconds late, your system time wil be sysnchronized.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>show date and time debian@virtual-machine:~$ timedatectl status Local time: Thu 2024-12-19 13:21:58 HKT Universal time: Thu 2024-12-19 05:21:58 UTC RTC time: Thu 2024-12-19 05:21:57 Time zone: Asia\/Hong_Kong (HKT, +0800) System clock synchronized: no NTP service: n\/a RTC in local TZ: no Install Systemd-timesyncd Service if the System clock synchronized is displaed no, you should install [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[386,1],"tags":[8,464,462,463],"class_list":["post-2133","post","type-post","status-publish","format-standard","hentry","category-ubuntu","category-article","tag-linux","tag-systemd-timesyncd","tag-time","tag-timedatectl"],"_links":{"self":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/2133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/comments?post=2133"}],"version-history":[{"count":0,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/2133\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/media?parent=2133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/categories?post=2133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/tags?post=2133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}