{"id":1400,"date":"2021-07-14T21:51:07","date_gmt":"2021-07-14T20:51:07","guid":{"rendered":"https:\/\/coding.moris.org\/?p=1400"},"modified":"2021-11-19T21:06:43","modified_gmt":"2021-11-19T21:06:43","slug":"avoiding-time-drift-in-virtual-machines","status":"publish","type":"post","link":"https:\/\/priscimon.net\/coding\/2021\/07\/14\/avoiding-time-drift-in-virtual-machines\/","title":{"rendered":"Avoiding time drift in virtual machines"},"content":{"rendered":"\n<p>If you use a virtual machine, you might notice that its system time starts to lag after it has been powered on for a while. To solve this problem, it is useful to run an NTP (Network Time Prococol) client within the VM to have its time synchronised regularly.<\/p>\n\n\n\n<p>On Windows, automatic time synchronisation is enabled by default and uses the server <code>time.windows.com<\/code>.<\/p>\n\n\n\n<p>On a Debian-based Linux distribution, you can install NTP with <code>apt install ntp<\/code> and start it with <code>sudo systemctl start ntp<\/code>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you use a virtual machine, you might notice that its system time starts to lag after it has been powered on for a while. To solve this problem, it is useful to run an NTP (Network Time Prococol) client within the VM to have its time synchronised regularly. On Windows, automatic time synchronisation is [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1400","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3I4g9-mA","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/posts\/1400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/comments?post=1400"}],"version-history":[{"count":2,"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/posts\/1400\/revisions"}],"predecessor-version":[{"id":1508,"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/posts\/1400\/revisions\/1508"}],"wp:attachment":[{"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/media?parent=1400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/categories?post=1400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/priscimon.net\/coding\/wp-json\/wp\/v2\/tags?post=1400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}