{"id":189,"date":"2022-03-04T21:22:26","date_gmt":"2022-03-04T20:22:26","guid":{"rendered":"https:\/\/tillnet.se\/?p=189"},"modified":"2025-10-17T23:48:34","modified_gmt":"2025-10-17T21:48:34","slug":"linux-ubuntu-20-04-ntp-timezone","status":"publish","type":"post","link":"https:\/\/www.tillnet.se\/index.php\/2022\/03\/04\/linux-ubuntu-20-04-ntp-timezone\/","title":{"rendered":"Linux Ubuntu 20.04 NTP &#038; TimeZone"},"content":{"rendered":"\n<ol class=\"wp-block-list\">\n<li>Set TimeZone:<br><code>sudo timedatectl set-timezone Europe\/Stockholm<\/code><\/li>\n\n\n\n<li>Set NTP. Edit timesyncd.conf:<br><code>sudo nano \/etc\/systemd\/timesyncd.conf<\/code><\/li>\n\n\n\n<li>Add NTP-server(s):<br><code>NTP=ntp.se<\/code><\/li>\n\n\n\n<li>Close and Save, Ctrl+X, Y, Enter.<\/li>\n\n\n\n<li>Restart service, check status:<br><code>sudo systemctl restart systemd-timesyncd<br>sudo systemctl status systemd-timesyncd<\/code><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":308,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-189","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-it"],"jetpack_featured_media_url":"https:\/\/www.tillnet.se\/wp-content\/uploads\/2022\/03\/linux-ubuntu-and-timezone-e1760738088559.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/posts\/189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/comments?post=189"}],"version-history":[{"count":4,"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/posts\/189\/revisions"}],"predecessor-version":[{"id":306,"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/posts\/189\/revisions\/306"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/media\/308"}],"wp:attachment":[{"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/media?parent=189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/categories?post=189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/tags?post=189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}