{"id":43668,"date":"2025-06-14T01:55:55","date_gmt":"2025-06-13T17:55:55","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/43668.html"},"modified":"2025-06-14T01:55:55","modified_gmt":"2025-06-13T17:55:55","slug":"ubuntu%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%97%b6%e9%97%b4%e5%90%8c%e6%ad%a5%e4%b8%8e%e6%97%b6%e5%8c%ba%e9%85%8d%e7%bd%ae%ef%bc%9a%e5%91%8a%e5%88%ab%e6%97%b6%e9%97%b4%e4%b8%8d%e5%af%b9","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/43668.html","title":{"rendered":"Ubuntu\u670d\u52a1\u5668\u65f6\u95f4\u540c\u6b65\u4e0e\u65f6\u533a\u914d\u7f6e\uff1a\u544a\u522b\u201c\u65f6\u95f4\u4e0d\u5bf9\u201d\u7684\u70e6\u607c"},"content":{"rendered":"<p>\u5728\u7ba1\u7406Ubuntu\u670d\u52a1\u5668\u65f6&#xff0c;\u4f60\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e2a\u5e38\u89c1\u5374\u4ee4\u4eba\u56f0\u60d1\u7684\u95ee\u9898&#xff1a;\u201c\u6211\u7684\u670d\u52a1\u5668\u65f6\u95f4\u600e\u4e48\u603b\u662f\u663e\u793a\u4e0d\u5bf9&#xff1f;\u201d \u5373\u4f7f\u4f60\u5df2\u7ecf\u914d\u7f6e\u4e86Chrony\u8fd9\u6837\u7684\u65f6\u95f4\u540c\u6b65\u670d\u52a1&#xff0c;\u5e76\u67e5\u770b\u4e86 chronyc sources \u7684\u8f93\u51fa&#xff0c;\u53d1\u73b0\u5b83\u6b63\u5728\u4e0eNTP\u670d\u52a1\u5668\u540c\u6b65&#xff0c;date \u547d\u4ee4\u7684\u7ed3\u679c\u4ecd\u7136\u8ba9\u4f60\u89c9\u5f97\u65f6\u95f4\u6709\u8bef\u3002\u522b\u62c5\u5fc3&#xff0c;\u8fd9\u5f88\u53ef\u80fd\u662f\u56e0\u4e3a\u4f60\u6df7\u6dc6\u4e86\u65f6\u95f4\u540c\u6b65\u4e0e\u65f6\u533a\u8bbe\u7f6e&#xff01;<\/p>\n<p>\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u8fd9\u4e2a\u95ee\u9898&#xff0c;\u5e76\u4e3a\u4f60\u63d0\u4f9b\u4e00\u5957\u5b8c\u6574\u7684\u89e3\u51b3\u65b9\u6848&#xff0c;\u786e\u4fdd\u4f60\u7684Ubuntu\u670d\u52a1\u5668\u65f6\u95f4\u7cbe\u51c6\u65e0\u8bef&#xff0c;\u5e76\u80fd\u6b63\u786e\u663e\u793a\u4e3a\u4f60\u6240\u9700\u7684\u672c\u5730\u65f6\u95f4\u3002<\/p>\n<hr \/>\n<h4>Chrony&#xff1a;\u786e\u4fdd\u7cfb\u7edf\u65f6\u949f\u7cbe\u51c6\u540c\u6b65<\/h4>\n<p>\u9996\u5148&#xff0c;\u6211\u4eec\u6765\u56de\u987e\u4e00\u4e0b\u5982\u4f55\u4f7f\u7528Chrony\u6765\u4fdd\u8bc1\u670d\u52a1\u5668\u65f6\u949f\u7684\u7cbe\u786e\u6027\u3002Chrony\u662f\u4e00\u6b3e\u529f\u80fd\u5f3a\u5927\u7684NTP\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u8f6f\u4ef6&#xff0c;\u5b83\u80fd\u591f\u5feb\u901f\u51c6\u786e\u5730\u540c\u6b65\u7cfb\u7edf\u65f6\u95f4&#xff0c;\u5c24\u5176\u9002\u7528\u4e8e\u7f51\u7edc\u4e0d\u7a33\u5b9a\u6216\u9700\u8981\u5feb\u901f\u540c\u6b65\u7684\u573a\u666f\u3002<\/p>\n<p>1. \u5b89\u88c5 Chrony&#xff1a;<\/p>\n<p>\u786e\u4fdd\u4f60\u7684\u670d\u52a1\u5668\u4e0a\u5b89\u88c5\u4e86Chrony&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> chrony<\/p>\n<p>2. \u914d\u7f6e Chrony \u670d\u52a1\u5668\u6e90&#xff1a;<\/p>\n<p>\u7f16\u8f91Chrony\u7684\u4e3b\u914d\u7f6e\u6587\u4ef6 \/etc\/chrony\/chrony.conf&#xff0c;\u5c06\u9ed8\u8ba4\u7684NTP\u670d\u52a1\u5668\u66ff\u6362\u4e3a\u56fd\u5185\u5e38\u7528\u7684\u53ef\u9760\u6e90&#xff0c;\u4f8b\u5982&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/chrony\/chrony.conf<\/p>\n<p>\u5728\u6587\u4ef6\u4e2d&#xff0c;\u6ce8\u91ca\u6389\u6216\u5220\u9664\u539f\u6709\u7684 pool \u6216 server \u884c&#xff0c;\u7136\u540e\u6dfb\u52a0&#xff1a;<\/p>\n<p># \u6dfb\u52a0\u65b0\u7684 NTP \u670d\u52a1\u5668<br \/>\npool ntp.org.cn iburst<br \/>\npool ntp.aliyun.com iburst<br \/>\npool ntp.tencent.com iburst<\/p>\n<p># \u5176\u4ed6\u5e38\u7528\u914d\u7f6e&#xff0c;\u6839\u636e\u9700\u8981\u4fdd\u7559<br \/>\ndriftfile \/var\/lib\/chrony\/chrony.drift<br \/>\nmakestep 1.0 3<br \/>\nrtcsync<br \/>\nallow all<\/p>\n<p>iburst \u53c2\u6570\u6709\u52a9\u4e8eChrony\u5728\u542f\u52a8\u65f6\u66f4\u5feb\u5730\u4e0eNTP\u670d\u52a1\u5668\u5efa\u7acb\u8fde\u63a5\u5e76\u540c\u6b65\u65f6\u95f4\u3002<\/p>\n<p>3. \u91cd\u542f Chrony \u670d\u52a1&#xff1a;<\/p>\n<p>\u4fdd\u5b58\u914d\u7f6e\u6587\u4ef6\u540e&#xff0c;\u91cd\u542fChrony\u670d\u52a1\u4ee5\u5e94\u7528\u66f4\u6539&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> systemctl restart chrony<\/p>\n<p>4. \u68c0\u67e5 Chrony \u540c\u6b65\u72b6\u6001&#xff1a;<\/p>\n<p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u68c0\u67e5Chrony\u7684\u540c\u6b65\u72b6\u6001\u548c\u8fde\u63a5\u7684NTP\u6e90&#xff1a;<\/p>\n<p>chronyc sources<br \/>\nchronyc tracking<\/p>\n<p>\u5982\u679c chronyc sources \u8f93\u51fa\u4e2d\u663e\u793a\u670d\u52a1\u5668\u5e26\u6709 ^* \u6807\u8bb0&#xff08;\u8868\u793a\u6b63\u5728\u540c\u6b65&#xff09;\u5e76\u4e14 Reach \u503c\u7a33\u5b9a\u589e\u957f&#xff0c;\u90a3\u4e48\u606d\u559c\u4f60&#xff0c;Chrony\u6b63\u5728\u6b63\u5e38\u5de5\u4f5c&#xff0c;\u4f60\u7684\u7cfb\u7edf\u65f6\u949f\u5df2\u7ecf\u4e0eNTP\u670d\u52a1\u5668\u6210\u529f\u540c\u6b65\u5230\u4e86UTC\u65f6\u95f4\u3002<\/p>\n<hr \/>\n<h4>\u4e3a\u4ec0\u4e48\u65f6\u95f4\u8fd8\u662f\u201c\u4e0d\u5bf9\u201d&#xff1f;\u65f6\u533a\u624d\u662f\u5173\u952e&#xff01;<\/h4>\n<p>\u5f53\u4f60\u770b\u5230 date \u547d\u4ee4\u8f93\u51fa\u7c7b\u4f3c Fri May 30 09:20:10 UTC 2025 \u8fd9\u6837\u7684\u7ed3\u679c\u65f6&#xff0c;\u8fd9\u5176\u5b9e\u662f\u534f\u8c03\u4e16\u754c\u65f6&#xff08;UTC&#xff09;\u3002UTC\u662f\u5168\u7403\u7edf\u4e00\u7684\u65f6\u95f4\u6807\u51c6&#xff0c;\u4e0d\u6d89\u53ca\u4efb\u4f55\u65f6\u533a\u504f\u79fb\u3002\u4f60\u7684Chrony\u5df2\u7ecf\u5c06\u7cfb\u7edf\u65f6\u949f\u51c6\u786e\u5730\u540c\u6b65\u5230\u4e86\u8fd9\u4e2aUTC\u65f6\u95f4\u3002<\/p>\n<p>\u95ee\u9898\u5728\u4e8e&#xff0c;\u4f60\u671f\u671b\u7684\u201c\u6b63\u786e\u65f6\u95f4\u201d\u901a\u5e38\u662f\u6307\u4f60\u6240\u5728\u5730\u533a\u7684\u672c\u5730\u65f6\u95f4&#xff0c;\u800c\u672c\u5730\u65f6\u95f4\u662f\u57fa\u4e8eUTC\u52a0\u4e0a\u6216\u51cf\u53bb\u7279\u5b9a\u65f6\u533a\u504f\u79fb\u8ba1\u7b97\u51fa\u6765\u7684\u3002 \u5982\u679c\u4f60\u7684\u7cfb\u7edf\u65f6\u533a\u4ecd\u8bbe\u7f6e\u4e3aUTC&#xff08;\u9ed8\u8ba4\u60c5\u51b5&#xff09;&#xff0c;\u90a3\u4e48\u5373\u4f7f\u540c\u6b65\u6210\u529f&#xff0c;date \u547d\u4ee4\u4e5f\u4f1a\u663e\u793aUTC\u65f6\u95f4&#xff0c;\u4ece\u800c\u9020\u6210\u201c\u65f6\u95f4\u4e0d\u5bf9\u201d\u7684\u9519\u89c9\u3002<\/p>\n<hr \/>\n<h4>\u914d\u7f6e\u7cfb\u7edf\u65f6\u533a&#xff1a;\u8ba9\u65f6\u95f4\u7b26\u5408\u4f60\u7684\u9884\u671f<\/h4>\n<p>\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u5173\u952e\u5c31\u662f\u6b63\u786e\u8bbe\u7f6e\u4f60\u7684Ubuntu\u670d\u52a1\u5668\u7684\u672c\u5730\u65f6\u533a\u3002Ubuntu\u4f7f\u7528 timedatectl \u547d\u4ee4\u6765\u7ba1\u7406\u7cfb\u7edf\u65f6\u95f4\u548c\u65f6\u533a\u3002<\/p>\n<p>1. \u67e5\u770b\u5f53\u524d\u65f6\u533a\u8bbe\u7f6e&#xff1a;<\/p>\n<p>\u9996\u5148&#xff0c;\u68c0\u67e5\u4f60\u5f53\u524d\u7684\u7cfb\u7edf\u65f6\u533a&#xff1a;<\/p>\n<p>timedatectl<\/p>\n<p>\u6ce8\u610f\u8f93\u51fa\u4e2d\u7684 Time zone \u4e00\u884c\u3002\u5982\u679c\u663e\u793a Etc\/UTC&#xff0c;\u90a3\u4e48\u4f60\u7684\u670d\u52a1\u5668\u786e\u5b9e\u662fUTC\u65f6\u95f4\u3002<\/p>\n<p>2. \u67e5\u627e\u5408\u9002\u7684\u65f6\u533a&#xff1a;<\/p>\n<p>\u5217\u51fa\u6240\u6709\u53ef\u7528\u7684\u65f6\u533a&#xff0c;\u627e\u5230\u4f60\u6240\u9700\u7684\u672c\u5730\u65f6\u533a\u3002\u4f8b\u5982&#xff0c;\u5982\u679c\u4f60\u5728\u4e2d\u56fd\u5927\u9646&#xff1a;<\/p>\n<p>timedatectl list-timezones <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> Asia\/Shanghai<\/p>\n<p>\u4f60\u53ef\u80fd\u4f1a\u627e\u5230 Asia\/Shanghai\u3002<\/p>\n<p>3. \u8bbe\u7f6e\u4f60\u7684\u672c\u5730\u65f6\u533a&#xff1a;<\/p>\n<p>\u4f7f\u7528 set-timezone \u547d\u4ee4\u6765\u8bbe\u7f6e\u65f6\u533a\u3002\u4f8b\u5982&#xff0c;\u8bbe\u7f6e\u4e3a\u4e0a\u6d77\u65f6\u533a&#xff08;UTC&#043;8&#xff09;&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> timedatectl set-timezone Asia\/Shanghai<\/p>\n<p>\u5982\u679c\u4f60\u5728\u5176\u4ed6\u5730\u533a&#xff0c;\u8bf7\u66ff\u6362\u4e3a\u76f8\u5e94\u7684\u65f6\u533a&#xff0c;\u6bd4\u5982 America\/New_York \u6216 Europe\/London\u3002<\/p>\n<p>4. \u9a8c\u8bc1\u65f6\u95f4\u663e\u793a&#xff1a;<\/p>\n<p>\u8bbe\u7f6e\u5b8c\u6210\u540e&#xff0c;\u518d\u6b21\u8fd0\u884c date \u547d\u4ee4&#xff1a;<\/p>\n<p><span class=\"token function\">date<\/span><\/p>\n<p>\u73b0\u5728&#xff0c;date \u547d\u4ee4\u5e94\u8be5\u4f1a\u663e\u793a\u4f60\u6240\u5728\u672c\u5730\u65f6\u95f4\u7684\u65e5\u671f\u548c\u65f6\u95f4&#xff0c;\u5e76\u5305\u542b\u6b63\u786e\u7684\u65f6\u533a\u7f29\u5199&#xff08;\u4f8b\u5982 CST \u4ee3\u8868\u4e2d\u56fd\u6807\u51c6\u65f6\u95f4&#xff09;\u3002\u540c\u65f6&#xff0c;timedatectl \u7684\u8f93\u51fa\u4e5f\u4f1a\u66f4\u65b0\u4e3a\u65b0\u7684\u65f6\u533a\u3002<\/p>\n<hr \/>\n<h4>\u603b\u7ed3<\/h4>\n<p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4&#xff0c;\u4f60\u4e0d\u4ec5\u80fd\u591f\u786e\u4fddUbuntu\u670d\u52a1\u5668\u7684\u65f6\u949f\u901a\u8fc7Chrony\u4fdd\u6301\u4e0eNTP\u670d\u52a1\u5668\u7684\u7cbe\u786e\u540c\u6b65&#xff08;UTC\u65f6\u95f4&#xff09;&#xff0c;\u8fd8\u80fd\u6b63\u786e\u914d\u7f6e\u7cfb\u7edf\u65f6\u533a&#xff0c;\u8ba9 date \u547d\u4ee4\u663e\u793a\u4f60\u6240\u671f\u671b\u7684\u672c\u5730\u65f6\u95f4\u3002<\/p>\n<p>\u73b0\u5728&#xff0c;\u544a\u522b\u201c\u65f6\u95f4\u4e0d\u5bf9\u201d\u7684\u70e6\u607c&#xff0c;\u4f60\u7684Ubuntu\u670d\u52a1\u5668\u5c06\u62e5\u6709\u7cbe\u786e\u4e14\u7b26\u5408\u4f60\u672c\u5730\u4e60\u60ef\u7684\u65f6\u95f4\u663e\u793a&#xff01;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb654\u6b21\uff0c\u70b9\u8d5e17\u6b21\uff0c\u6536\u85cf10\u6b21\u3002\u6458\u8981\uff1a Ubuntu\u670d\u52a1\u5668\u65f6\u95f4\u663e\u793a\u5f02\u5e38\u901a\u5e38\u6e90\u4e8e\u65f6\u533a\u8bbe\u7f6e\u95ee\u9898\u800c\u975e\u65f6\u95f4\u540c\u6b65\u9519\u8bef\u3002\u672c\u6587\u63d0\u4f9b\u5b8c\u6574\u89e3\u51b3\u65b9\u6848\uff1a\u9996\u5148\u901a\u8fc7Chrony\u786e\u4fddNTP\u540c\u6b65\uff08\u5b89\u88c5\u914d\u7f6e\u56fd\u5185\u6e90\u5e76\u9a8c\u8bc1\u540c\u6b65\u72b6\u6001\uff09\uff0c\u7136\u540e\u91cd\u70b9\u8bb2\u89e3\u65f6\u533a\u8bbe\u7f6e\u65b9\u6cd5\uff08\u4f7f\u7528timedatectl\u67e5\u8be2\u548c\u5207\u6362\u65f6\u533a\uff09\u3002\u5b8c\u6210\u8fd9\u4e24\u6b65\u540e\uff0c\u670d\u52a1\u5668\u65e2\u4fdd\u6301UTC\u65f6\u95f4\u7684\u7cbe\u786e\u540c\u6b65\uff0c\u53c8\u80fd\u6b63\u786e\u663e\u793a\u672c\u5730\u65f6\u95f4\u3002\u6587\u7ae0\u6db5\u76d6\u4eceChrony\u914d\u7f6e\u5230\u65f6\u533a\u8c03\u6574\u7684\u5168\u6d41\u7a0b\uff0c\u5e2e\u52a9\u7528\u6237\u5f7b\u5e95\u89e3\u51b3\u65f6\u95f4\u663e\u793a\u95ee\u9898\u3002_ubuntu\u8bbe\u7f6e\u65f6\u533a \u548c\u540c\u6b65\u65f6\u95f4<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,103,43,44],"topic":[],"class_list":["post-43668","post","type-post","status-publish","format-standard","hentry","category-server","tag-linux","tag-ubuntu","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Ubuntu\u670d\u52a1\u5668\u65f6\u95f4\u540c\u6b65\u4e0e\u65f6\u533a\u914d\u7f6e\uff1a\u544a\u522b\u201c\u65f6\u95f4\u4e0d\u5bf9\u201d\u7684\u70e6\u607c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/43668.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ubuntu\u670d\u52a1\u5668\u65f6\u95f4\u540c\u6b65\u4e0e\u65f6\u533a\u914d\u7f6e\uff1a\u544a\u522b\u201c\u65f6\u95f4\u4e0d\u5bf9\u201d\u7684\u70e6\u607c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb654\u6b21\uff0c\u70b9\u8d5e17\u6b21\uff0c\u6536\u85cf10\u6b21\u3002\u6458\u8981\uff1a Ubuntu\u670d\u52a1\u5668\u65f6\u95f4\u663e\u793a\u5f02\u5e38\u901a\u5e38\u6e90\u4e8e\u65f6\u533a\u8bbe\u7f6e\u95ee\u9898\u800c\u975e\u65f6\u95f4\u540c\u6b65\u9519\u8bef\u3002\u672c\u6587\u63d0\u4f9b\u5b8c\u6574\u89e3\u51b3\u65b9\u6848\uff1a\u9996\u5148\u901a\u8fc7Chrony\u786e\u4fddNTP\u540c\u6b65\uff08\u5b89\u88c5\u914d\u7f6e\u56fd\u5185\u6e90\u5e76\u9a8c\u8bc1\u540c\u6b65\u72b6\u6001\uff09\uff0c\u7136\u540e\u91cd\u70b9\u8bb2\u89e3\u65f6\u533a\u8bbe\u7f6e\u65b9\u6cd5\uff08\u4f7f\u7528timedatectl\u67e5\u8be2\u548c\u5207\u6362\u65f6\u533a\uff09\u3002\u5b8c\u6210\u8fd9\u4e24\u6b65\u540e\uff0c\u670d\u52a1\u5668\u65e2\u4fdd\u6301UTC\u65f6\u95f4\u7684\u7cbe\u786e\u540c\u6b65\uff0c\u53c8\u80fd\u6b63\u786e\u663e\u793a\u672c\u5730\u65f6\u95f4\u3002\u6587\u7ae0\u6db5\u76d6\u4eceChrony\u914d\u7f6e\u5230\u65f6\u533a\u8c03\u6574\u7684\u5168\u6d41\u7a0b\uff0c\u5e2e\u52a9\u7528\u6237\u5f7b\u5e95\u89e3\u51b3\u65f6\u95f4\u663e\u793a\u95ee\u9898\u3002_ubuntu\u8bbe\u7f6e\u65f6\u533a \u548c\u540c\u6b65\u65f6\u95f4\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/43668.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-13T17:55:55+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/43668.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/43668.html\",\"name\":\"Ubuntu\u670d\u52a1\u5668\u65f6\u95f4\u540c\u6b65\u4e0e\u65f6\u533a\u914d\u7f6e\uff1a\u544a\u522b\u201c\u65f6\u95f4\u4e0d\u5bf9\u201d\u7684\u70e6\u607c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-06-13T17:55:55+00:00\",\"dateModified\":\"2025-06-13T17:55:55+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/43668.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/43668.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/43668.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ubuntu\u670d\u52a1\u5668\u65f6\u95f4\u540c\u6b65\u4e0e\u65f6\u533a\u914d\u7f6e\uff1a\u544a\u522b\u201c\u65f6\u95f4\u4e0d\u5bf9\u201d\u7684\u70e6\u607c\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ubuntu\u670d\u52a1\u5668\u65f6\u95f4\u540c\u6b65\u4e0e\u65f6\u533a\u914d\u7f6e\uff1a\u544a\u522b\u201c\u65f6\u95f4\u4e0d\u5bf9\u201d\u7684\u70e6\u607c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/43668.html","og_locale":"zh_CN","og_type":"article","og_title":"Ubuntu\u670d\u52a1\u5668\u65f6\u95f4\u540c\u6b65\u4e0e\u65f6\u533a\u914d\u7f6e\uff1a\u544a\u522b\u201c\u65f6\u95f4\u4e0d\u5bf9\u201d\u7684\u70e6\u607c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb654\u6b21\uff0c\u70b9\u8d5e17\u6b21\uff0c\u6536\u85cf10\u6b21\u3002\u6458\u8981\uff1a Ubuntu\u670d\u52a1\u5668\u65f6\u95f4\u663e\u793a\u5f02\u5e38\u901a\u5e38\u6e90\u4e8e\u65f6\u533a\u8bbe\u7f6e\u95ee\u9898\u800c\u975e\u65f6\u95f4\u540c\u6b65\u9519\u8bef\u3002\u672c\u6587\u63d0\u4f9b\u5b8c\u6574\u89e3\u51b3\u65b9\u6848\uff1a\u9996\u5148\u901a\u8fc7Chrony\u786e\u4fddNTP\u540c\u6b65\uff08\u5b89\u88c5\u914d\u7f6e\u56fd\u5185\u6e90\u5e76\u9a8c\u8bc1\u540c\u6b65\u72b6\u6001\uff09\uff0c\u7136\u540e\u91cd\u70b9\u8bb2\u89e3\u65f6\u533a\u8bbe\u7f6e\u65b9\u6cd5\uff08\u4f7f\u7528timedatectl\u67e5\u8be2\u548c\u5207\u6362\u65f6\u533a\uff09\u3002\u5b8c\u6210\u8fd9\u4e24\u6b65\u540e\uff0c\u670d\u52a1\u5668\u65e2\u4fdd\u6301UTC\u65f6\u95f4\u7684\u7cbe\u786e\u540c\u6b65\uff0c\u53c8\u80fd\u6b63\u786e\u663e\u793a\u672c\u5730\u65f6\u95f4\u3002\u6587\u7ae0\u6db5\u76d6\u4eceChrony\u914d\u7f6e\u5230\u65f6\u533a\u8c03\u6574\u7684\u5168\u6d41\u7a0b\uff0c\u5e2e\u52a9\u7528\u6237\u5f7b\u5e95\u89e3\u51b3\u65f6\u95f4\u663e\u793a\u95ee\u9898\u3002_ubuntu\u8bbe\u7f6e\u65f6\u533a \u548c\u540c\u6b65\u65f6\u95f4","og_url":"https:\/\/www.wsisp.com\/helps\/43668.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-06-13T17:55:55+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/43668.html","url":"https:\/\/www.wsisp.com\/helps\/43668.html","name":"Ubuntu\u670d\u52a1\u5668\u65f6\u95f4\u540c\u6b65\u4e0e\u65f6\u533a\u914d\u7f6e\uff1a\u544a\u522b\u201c\u65f6\u95f4\u4e0d\u5bf9\u201d\u7684\u70e6\u607c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-06-13T17:55:55+00:00","dateModified":"2025-06-13T17:55:55+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/43668.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/43668.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/43668.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Ubuntu\u670d\u52a1\u5668\u65f6\u95f4\u540c\u6b65\u4e0e\u65f6\u533a\u914d\u7f6e\uff1a\u544a\u522b\u201c\u65f6\u95f4\u4e0d\u5bf9\u201d\u7684\u70e6\u607c"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/43668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=43668"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/43668\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=43668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=43668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=43668"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=43668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}