{"id":37,"date":"2023-11-23T10:59:11","date_gmt":"2023-11-23T10:59:11","guid":{"rendered":"https:\/\/help.wdh.fr\/?p=37"},"modified":"2024-01-28T15:15:53","modified_gmt":"2024-01-28T15:15:53","slug":"set-the-time-of-your-vps","status":"publish","type":"post","link":"https:\/\/www.wdh.fr\/blog\/en\/set-the-time-of-your-vps\/","title":{"rendered":"Set the time of your Debian\/Ubuntu VPS"},"content":{"rendered":"\n<p>In this article we will see how to set the time of your vps.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Connect to your VPS with your SSH access.<\/li>\n\n\n\n<li>Run the command <code>nano \/etc\/systemd\/timesyncd.conf<\/code><\/li>\n\n\n\n<li>Edit line <code>#NTP=<\/code> par <code>NTP=ntp-p1.obspm.fr<\/code><\/li>\n\n\n\n<li>Ctrl + S then CTRL+X<\/li>\n\n\n\n<li>Run the following command <code>systemctl restart systemd-timesyncd<\/code><\/li>\n\n\n\n<li>Your VPS have now the right time.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>In this article we will see how to set the time of your vps.<\/p>\n","protected":false},"author":1,"featured_media":132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[16,15],"class_list":["post-37","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-debian","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.wdh.fr\/blog\/en\/wp-json\/wp\/v2\/posts\/37"}],"collection":[{"href":"https:\/\/www.wdh.fr\/blog\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wdh.fr\/blog\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wdh.fr\/blog\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wdh.fr\/blog\/en\/wp-json\/wp\/v2\/comments?post=37"}],"version-history":[{"count":3,"href":"https:\/\/www.wdh.fr\/blog\/en\/wp-json\/wp\/v2\/posts\/37\/revisions"}],"predecessor-version":[{"id":59,"href":"https:\/\/www.wdh.fr\/blog\/en\/wp-json\/wp\/v2\/posts\/37\/revisions\/59"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wdh.fr\/blog\/en\/wp-json\/wp\/v2\/media\/132"}],"wp:attachment":[{"href":"https:\/\/www.wdh.fr\/blog\/en\/wp-json\/wp\/v2\/media?parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wdh.fr\/blog\/en\/wp-json\/wp\/v2\/categories?post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wdh.fr\/blog\/en\/wp-json\/wp\/v2\/tags?post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}