{"id":4459,"date":"2025-07-05T14:57:02","date_gmt":"2025-07-05T05:57:02","guid":{"rendered":"https:\/\/eternalsphere.net\/echoes\/?p=4459"},"modified":"2026-06-06T09:21:19","modified_gmt":"2026-06-06T00:21:19","slug":"gmzh54bewcy2b6x","status":"publish","type":"post","link":"https:\/\/eternalsphere.net\/echoes\/index.php\/2025\/07\/05\/gmzh54bewcy2b6x\/","title":{"rendered":"\u591a\u7cfb\u7edf\u591a\u670d\u52a1\u5668\u65f6\u95f4\u7edf\u4e00\u89e3\u51b3\u65b9\u6848\u603b\u7ed3"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u5728\u4f7f\u7528 macOS\u3001Windows\u3001Linux\uff08\u5305\u62ec Arch Linux\u3001Debian \u7cfb\u3001Proxmox VE\u3001Proxmox Backup Server\uff09\u4ee5\u53ca\u591a\u53f0\u7269\u7406\u6216\u865a\u62df\u670d\u52a1\u5668\u65f6\uff0c\u7cfb\u7edf\u4e4b\u95f4\u9891\u7e41\u5207\u6362\u548c\u540c\u65f6\u7ef4\u62a4\uff0c\u5e38\u5e38\u4f1a\u9047\u5230\u65f6\u95f4\u9519\u4e71\u7684\u95ee\u9898\u3002\u5c24\u5176\u5728 BIOS\/UEFI \u786c\u4ef6\u65f6\u949f\uff08RTC\uff09\u88ab\u4e0d\u540c\u7cfb\u7edf\u7528\u4e0d\u540c\u65b9\u5f0f\u89e3\u91ca\u65f6\uff0c\u6781\u6613\u5f15\u53d1\u6587\u4ef6\u65f6\u95f4\u6233\u3001\u65e5\u5fd7\u3001\u4efb\u52a1\u8c03\u5ea6\u6df7\u4e71\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udd70\ufe0f \u95ee\u9898\u80cc\u666f<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>macOS \u9ed8\u8ba4\u5c06 RTC \u8bbe\u4e3a UTC\uff0c\u518d\u6839\u636e\u8bbe\u7f6e\u7684\u65f6\u533a\uff08\u5982\u65e5\u672c Asia\/Tokyo\uff09\u663e\u793a\u5f53\u5730\u65f6\u95f4\u3002<\/li>\n\n\n\n<li>Windows \u9ed8\u8ba4\u628a RTC \u5f53\u4f5c\u300c\u672c\u5730\u65f6\u95f4\u300d\uff0c\u5bfc\u81f4\u5728\u5207\u6362\u56de macOS \u6216 Linux \u540e\u65f6\u95f4\u663e\u793a\u5f02\u5e38\u3002<\/li>\n\n\n\n<li>Linux \u7cfb\u7edf\uff08\u5982 Arch\u3001Debian \u7b49\uff09\u9ed8\u8ba4\u4f7f\u7528 UTC\uff0c\u4f46\u90e8\u5206\u73af\u5883\u88ab\u914d\u7f6e\u4e3a\u672c\u5730\u65f6\u95f4\uff0c\u5bfc\u81f4\u6df7\u4e71\u3002<\/li>\n\n\n\n<li>Proxmox VE (PVE) \u548c Proxmox Backup Server (PBS) \u540c\u6837\u57fa\u4e8e Debian\uff0c\u82e5\u672a\u7edf\u4e00 RTC\uff0c\u4e5f\u53ef\u80fd\u5bfc\u81f4\u5907\u4efd\u6216\u5feb\u7167\u51fa\u73b0\u504f\u5dee\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udca1 \u6839\u672c\u539f\u56e0<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0d\u540c\u7cfb\u7edf\u5bf9 RTC\uff08\u786c\u4ef6\u65f6\u949f\uff09\u7684\u89e3\u91ca\u65b9\u5f0f\u4e0d\u4e00\u81f4\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>UTC \u6a21\u5f0f<\/strong>\uff08\u63a8\u8350\uff09\uff1a\u786c\u4ef6\u65f6\u949f\u4fdd\u5b58 UTC \u65f6\u95f4\uff0c\u7cfb\u7edf\u518d\u6839\u636e\u65f6\u533a\u8fdb\u884c\u8f6c\u6362\u663e\u793a\u3002<\/li>\n\n\n\n<li><strong>\u672c\u5730\u65f6\u95f4\u6a21\u5f0f<\/strong>\uff1a\u786c\u4ef6\u65f6\u949f\u4fdd\u5b58\u5f53\u5730\u65f6\u95f4\uff0c\u7cfb\u7edf\u76f4\u63a5\u8bfb\u53d6\u5e76\u663e\u793a\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u957f\u671f\u6765\u770b\uff0cUTC \u6a21\u5f0f\u66f4\u9002\u5408\u591a\u7cfb\u7edf\u73af\u5883\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u2705 \u89e3\u51b3\u65b9\u6848\u6982\u8ff0<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Windows<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4fee\u6539\u6ce8\u518c\u8868\uff1a sqlCopyEdit<code>HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\TimeZoneInformation<\/code> \u65b0\u589e DWORD\uff0832 \u4f4d\uff09\u503c\uff1a iniCopyEdit<code>RealTimeIsUniversal = 1<\/code><\/li>\n\n\n\n<li>\u91cd\u542f\u540e\u751f\u6548\uff0c\u7cfb\u7edf\u5c06\u628a RTC \u89e3\u91ca\u4e3a UTC\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">Linux\uff08\u5404\u53d1\u884c\u7248\u901a\u7528\uff09<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u67e5\u770b\u5f53\u524d RTC \u6a21\u5f0f\uff1a bashCopyEdit<code>timedatectl<\/code><\/li>\n\n\n\n<li>\u82e5\u663e\u793a <code>RTC in local TZ: yes<\/code>\uff0c\u9700\u4fee\u6539\uff1a bashCopyEdit<code>sudo timedatectl set-local-rtc 0<\/code><\/li>\n\n\n\n<li>\u786e\u4fdd\u7cfb\u7edf\u4f7f\u7528\u65e5\u672c\u65f6\u533a\uff1a bashCopyEdit<code>sudo timedatectl set-timezone Asia\/Tokyo<\/code><\/li>\n\n\n\n<li>\u4e0d\u9700\u8981\u91cd\u542f\uff0c\u7acb\u5373\u751f\u6548\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">macOS<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>macOS \u9ed8\u8ba4\u4f7f\u7528 UTC\uff0c\u65e0\u9700\u989d\u5916\u4fee\u6539\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">Proxmox VE \/ PBS<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u540c Linux \u914d\u7f6e\u65b9\u6cd5\uff0c\u4fee\u6539\u540e\u65e0\u9700\u91cd\u542f\uff0c\u4ec5\u9700\u786e\u8ba4 <code>RTC in local TZ: no<\/code>\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">\u8f6f\u8def\u7531\uff08OpenWRT \/ pfSense \/ OPNsense\uff09<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u82e5\u786c\u4ef6\u6709 RTC\uff0c\u5efa\u8bae\u8bbe\u4e3a UTC\uff0c\u4fdd\u8bc1 BIOS \u4e0e\u5176\u4ed6\u7cfb\u7edf\u4e00\u81f4\u3002<\/li>\n\n\n\n<li>\u82e5\u65e0 RTC\uff0c\u53ea\u9700\u786e\u4fdd\u7cfb\u7edf\u5f00\u542f NTP\uff0c\u540c\u6b65\u65f6\u95f4\u5373\u53ef\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u26a1 \u914d\u7f6e\u540e\u6548\u679c<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u9879\u76ee<\/th><th>\u914d\u7f6e\u7ed3\u679c<\/th><\/tr><\/thead><tbody><tr><td>RTC<\/td><td>\u7edf\u4e00\u4e3a UTC \u2705<\/td><\/tr><tr><td>\u7cfb\u7edf\u663e\u793a\u65f6\u95f4<\/td><td>\u65e5\u672c\u65f6\u95f4\uff08JST, +9\uff09 \u2705<\/td><\/tr><tr><td>\u5207\u6362\u7cfb\u7edf\u65f6\u95f4\u9519\u4e71<\/td><td>\u65e0 \u2705<\/td><\/tr><tr><td>\u65e5\u5fd7\/\u8c03\u5ea6\u6b63\u786e\u6027<\/td><td>\u6b63\u786e \u2705<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udfe2 \u989d\u5916\u5efa\u8bae<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u786e\u4fdd\u6240\u6709\u7cfb\u7edf NTP \u529f\u80fd\u5f00\u542f\uff0c\u81ea\u52a8\u6821\u65f6\uff0c\u957f\u671f\u4fdd\u6301\u51c6\u786e\u3002<\/li>\n\n\n\n<li>\u82e5\u6709\u65b0\u670d\u52a1\u5668\u4e0a\u7ebf\uff0c\u53ef\u76f4\u63a5\u6267\u884c\u540c\u6837\u547d\u4ee4\uff0c\u957f\u671f\u7ef4\u62a4\u7b80\u5355\u53ef\u9760\u3002<\/li>\n\n\n\n<li>\u5bf9\u4e8e\u6709\u8de8\u65f6\u533a\u8fd0\u7ef4\u9700\u6c42\u7684\u73af\u5883\uff0c\u53ef\u7ee7\u7eed\u4f7f\u7528 UTC \u663e\u793a\u65f6\u95f4\uff0c\u51cf\u5c11\u8f6c\u6362\u9519\u8bef\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u2728 \u603b\u7ed3<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u901a\u8fc7\u7edf\u4e00 RTC\uff08UTC \u6a21\u5f0f\uff09\uff0c\u53ef\u4ee5\u5f7b\u5e95\u89e3\u51b3\u591a\u7cfb\u7edf\u3001\u591a\u670d\u52a1\u5668\u3001\u591a\u5e73\u53f0\u4e4b\u95f4\u7684\u65f6\u95f4\u9519\u4e71\u95ee\u9898\uff0c\u964d\u4f4e\u8fd0\u7ef4\u6210\u672c\uff0c\u786e\u4fdd\u7cfb\u7edf\u3001\u65e5\u5fd7\u548c\u8c03\u5ea6\u884c\u4e3a\u4e00\u81f4\u3002\u8fd9\u662f\u8de8\u56fd\u3001\u8de8\u7cfb\u7edf\u6df7\u5408\u73af\u5883\u4e2d\u6700\u63a8\u8350\u3001\u6700\u7a33\u5b9a\u7684\u65b9\u6848\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4f7f\u7528 macOS\u3001Windows\u3001Linux\uff08\u5305\u62ec Arch Linux\u3001Debian \u7cfb\u3001Proxmox VE\u3001Proxmox Backup Server\uff09\u4ee5\u53ca\u591a\u53f0\u7269\u7406\u6216\u865a\u62df\u670d\u52a1\u5668\u65f6\uff0c\u7cfb\u7edf\u4e4b\u95f4\u9891\u7e41\u5207\u6362\u548c\u540c\u65f6\u7ef4\u62a4\uff0c\u5e38\u5e38\u4f1a\u9047\u5230\u65f6\u95f4\u9519\u4e71\u7684\u95ee\u9898\u3002\u5c24\u5176\u5728 BIOS\/UEFI \u786c\u4ef6\u65f6\u949f\uff08RTC\uff09\u88ab\u4e0d\u540c\u7cfb\u7edf\u7528\u4e0d\u540c\u65b9\u5f0f\u89e3\u91ca\u65f6\uff0c\u6781\u6613\u5f15\u53d1\u6587\u4ef6\u65f6\u95f4\u6233\u3001\u65e5\u5fd7\u3001\u4efb\u52a1\u8c03\u5ea6\u6df7\u4e71\u3002 \ud83d\udd70\ufe0f \u95ee\u9898\u80cc\u666f \ud83d\udca1 \u6839\u672c\u539f\u56e0 \u4e0d\u540c\u7cfb\u7edf\u5bf9 RTC\uff08\u786c\u4ef6\u65f6\u949f\uff09\u7684\u89e3\u91ca\u65b9\u5f0f\u4e0d\u4e00\u81f4\uff1a \u957f\u671f\u6765\u770b\uff0cUTC \u6a21\u5f0f\u66f4\u9002\u5408\u591a\u7cfb\u7edf\u73af\u5883\u3002 \u2705 \u89e3\u51b3\u65b9\u6848\u6982\u8ff0 Windows Linux\uff08\u5404\u53d1\u884c\u7248\u901a\u7528\uff09 macOS Proxmox VE \/ PBS \u8f6f\u8def\u7531\uff08OpenWRT \/ pfSense \/ OPNsense\uff09 \u26a1 \u914d\u7f6e\u540e\u6548\u679c \u9879\u76ee \u914d\u7f6e\u7ed3\u679c RTC \u7edf\u4e00\u4e3a UTC \u2705 \u7cfb\u7edf\u663e\u793a\u65f6\u95f4 \u65e5\u672c\u65f6\u95f4\uff08JST, +9\uff09 \u2705 \u5207\u6362\u7cfb\u7edf\u65f6\u95f4\u9519\u4e71 \u65e0 \u2705 \u65e5\u5fd7\/\u8c03\u5ea6\u6b63\u786e\u6027 \u6b63\u786e \u2705 &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[118],"tags":[],"class_list":["post-4459","post","type-post","status-publish","format-standard","hentry","category-tm5418kixf8ipqv"],"_links":{"self":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/4459","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/comments?post=4459"}],"version-history":[{"count":1,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/4459\/revisions"}],"predecessor-version":[{"id":4460,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/4459\/revisions\/4460"}],"wp:attachment":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/media?parent=4459"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/categories?post=4459"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/tags?post=4459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}