{"id":33551,"date":"2025-04-28T07:11:10","date_gmt":"2025-04-27T23:11:10","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/33551.html"},"modified":"2025-04-28T07:11:10","modified_gmt":"2025-04-27T23:11:10","slug":"%e3%80%90linux%e3%80%91chrony%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/33551.html","title":{"rendered":"\u3010linux\u3011Chrony\u670d\u52a1\u5668"},"content":{"rendered":"<h2><span style=\"color:#1f0909\">\u7b80\u4ecb<\/span><\/h2>\n<h3><span style=\"color:#1f0909\">1.1 <\/span><span style=\"color:#1f0909\">\u65f6\u95f4\u7684\u91cd\u8981\u6027<\/span><\/h3>\n<p>  <span style=\"color:#1f0909\">\u7531\u4e8e<\/span><br \/>\n  <span style=\"color:#1f0909\">IT<\/span><br \/>\n  <span style=\"color:#1f0909\">\u7cfb\u7edf\u4e2d&#xff0c;\u51c6\u786e\u7684\u8ba1\u65f6\u975e\u5e38\u91cd\u8981&#xff0c;\u6709\u5f88\u591a\u79cd\u539f\u56e0\u9700\u8981\u51c6\u786e\u8ba1\u65f6&#xff1a;<\/span> <\/p>\n<ul>\n<li><span style=\"color:#1f0909\">\u5728\u7f51\u7edc\u4f20\u8f93\u4e2d&#xff0c;\u6570\u636e\u5305\u62ec\u548c\u65e5\u5fd7\u9700\u8981\u51c6\u786e\u7684\u65f6\u95f4\u6233 <\/span><\/li>\n<li><span style=\"color:#1f0909\">\u5404\u79cd\u5e94\u7528\u7a0b\u5e8f\u4e2d&#xff0c;\u5982\u8ba2\u5355\u4fe1\u606f&#xff0c;\u4ea4\u6613\u4fe1\u606f\u7b49 \u90fd\u9700\u8981\u51c6\u786e\u7684\u65f6\u95f4\u6233<\/span><\/li>\n<\/ul>\n<h3><span style=\"color:#1f0909\">1.2 <\/span><span style=\"color:#1f0909\">\u65f6\u533a<\/span><\/h3>\n<p>   <span style=\"color:#1f0909\">\u65f6\u533a<\/span><br \/>\n   <span style=\"color:#1f0909\">&#xff08;<\/span><br \/>\n   <span style=\"color:#1f0909\">Time Zone<\/span><br \/>\n   <span style=\"color:#1f0909\">&#xff09;\u662f\u5730\u7403\u4e0a\u4f7f\u7528\u540c\u4e00\u4e2a\u65f6\u95f4\u7684\u533a\u57df&#xff0c;\u7531\u4e8e\u4e16\u754c\u5404\u56fd\u5bb6\u4e0e\u5730\u533a\u7ecf\u5ea6\u4e0d\u540c&#xff0c;\u5730 <\/span> <\/p>\n<p>   <span style=\"color:#1f0909\">\u65b9\u65f6\u4e5f\u6709\u6240\u4e0d\u540c&#xff0c;\u56e0\u6b64\u4f1a\u5212\u5206\u4e3a\u4e0d\u540c\u7684\u65f6\u533a\u3002<\/span> <\/p>\n<p>   <span style=\"color:#1f0909\">\u5e38\u89c1\u7684\u65f6\u533a<\/span><br \/>\n   <span style=\"color:#1f0909\">&#xff1a;<\/span> <\/p>\n<ul>\n<li><span style=\"color:#1f0909\">UTC <\/span><span style=\"color:#1f0909\">\u6574\u4e2a\u5730\u7403\u5206\u4e3a\u4e8c\u5341\u56db\u65f6\u533a&#xff0c;\u6bcf\u4e2a\u65f6\u533a\u90fd\u6709\u81ea\u5df1\u7684\u672c\u5730\u65f6\u95f4\u3002\u5728\u56fd\u9645\u65e0\u7ebf\u7535\u901a\u4fe1\u573a\u5408&#xff0c;\u4e3a\u4e86\u7edf\u4e00\u8d77\u89c1&#xff0c;\u4f7f\u7528\u4e00\u4e2a\u7edf\u4e00\u7684\u65f6\u95f4&#xff0c;\u79f0\u4e3a\u901a\u7528\u534f\u8c03\u65f6(UTC, Universal <\/span><span style=\"color:#1f0909\">Time Coordinated)<\/span><span style=\"color:#1f0909\">\u3002 <\/span><\/li>\n<li><span style=\"color:#1f0909\">GMT <\/span><span style=\"color:#1f0909\">\u683c\u6797\u5a01\u6cbb\u6807\u51c6\u65f6\u95f4 <\/span><span style=\"color:#1f0909\">(Greenwich Mean Time)<\/span><span style=\"color:#1f0909\">\u6307\u4f4d\u4e8e\u82f1\u56fd\u4f26\u6566\u90ca\u533a\u7684\u683c\u6797\u5c3c\u6cbb\u5929\u6587\u53f0\u7684\u6807\u51c6\u65f6\u95f4&#xff0c;\u56e0\u4e3a\u672c\u521d\u5b50\u5348\u7ebf\u88ab\u5b9a\u4e49\u5728\u901a\u8fc7\u90a3\u91cc\u7684\u7ecf\u7ebf\u3002(UTC<\/span><span style=\"color:#1f0909\">\u4e0e<\/span><span style=\"color:#1f0909\">GMT<\/span><span style=\"color:#1f0909\">\u65f6\u95f4 <\/span><span style=\"color:#1f0909\">\u57fa\u672c\u76f8\u540c&#xff0c;\u672c\u6587\u4e2d\u4e0d\u505a\u533a\u5206<\/span><span style=\"color:#1f0909\">) <\/span><\/li>\n<li><span style=\"color:#1f0909\">CST <\/span><span style=\"color:#1f0909\">\u4e2d\u56fd\u6807\u51c6\u65f6\u95f4 <\/span><span style=\"color:#1f0909\">(China Standard Time)GMT &#043; 8 &#061; UTC &#043; 8 &#061; CST <\/span><\/li>\n<li><span style=\"color:#1f0909\">DST<\/span><span style=\"color:#1f0909\">\u590f\u4ee4\u65f6<\/span><span style=\"color:#1f0909\">(Daylight Saving Time) <\/span><span style=\"color:#1f0909\">\u6307\u5728\u590f\u5929\u592a\u9633\u5347\u8d77\u7684\u6bd4\u8f83\u65e9\u65f6&#xff0c;\u5c06\u65f6\u95f4\u62e8\u5feb\u4e00<\/span><span style=\"color:#1f0909\">\u5c0f\u65f6&#xff0c;\u4ee5\u63d0\u65e9\u65e5\u5149\u7684\u4f7f\u7528\u3002&#xff08;\u4e2d\u56fd\u4e0d\u4f7f\u7528&#xff09;<\/span><\/li>\n<\/ul>\n<h3><span style=\"color:#1f0909\">1.3 Linux<\/span><span style=\"color:#1f0909\">\u7684\u4e24\u4e2a\u65f6\u949f<\/span><\/h3>\n<ul>\n<li><span style=\"color:#1f0909\">\u786c\u4ef6\u65f6\u949f<\/span><span style=\"color:#1f0909\">RTC (Real Time Clock)<\/span><span style=\"color:#1f0909\">&#xff1a;\u5373<\/span><span style=\"color:#1f0909\">BIOS<\/span><span style=\"color:#1f0909\">\u65f6\u949f&#xff0c;\u4e5f\u5c31\u662f\u6211\u4eec\u4e3b\u677f\u4e2d\u7528\u7535\u6c60\u4f9b\u7535\u7684<\/span><span style=\"color:#1f0909\">\u65f6\u949f&#xff0c;\u662f\u5c06\u65f6\u95f4\u5199\u5165\u5230<\/span><span style=\"color:#1f0909\">BIOS<\/span><span style=\"color:#1f0909\">\u4e2d&#xff0c;\u7cfb\u7edf\u65ad\u7535\u540e\u65f6\u95f4\u4e0d\u4f1a\u4e22\u5931&#xff0c;\u53ef\u4ee5\u5728\u5f00\u673a\u65f6\u901a\u8fc7\u4e3b<\/span><span style=\"color:#1f0909\">\u677f\u7a0b\u5e8f\u4e2d\u8fdb\u884c\u8bbe\u7f6e<\/span><\/li>\n<\/ul>\n<p>   # \u67e5\u770b\u786c\u4ef6\u65f6\u95f4<br \/>\n[root&#064;server ~]# hwclock<br \/>\n2023-05-30 09:48:32.535594&#043;08:00 <\/p>\n<ul>\n<li><span style=\"color:#1f0909\">\u7cfb\u7edf\u65f6\u949f <\/span><span style=\"color:#1f0909\">(System Clock) <\/span><span style=\"color:#1f0909\">&#xff1a;\u987e\u540d\u601d\u4e49\u4e5f\u5c31\u662f<\/span><span style=\"color:#1f0909\">Linux<\/span><span style=\"color:#1f0909\">\u7cfb\u7edf\u5185\u6838\u65f6\u949f\u3001\u8f6f\u4ef6\u65f6\u949f&#xff0c;\u662f\u7531 <\/span><span style=\"color:#1f0909\">Linux<\/span><span style=\"color:#1f0909\">\u5185\u6838\u6765\u63d0\u4f9b\u7684&#xff0c;\u7cfb\u7edf\u65f6\u949f\u662f\u57fa\u4e8e\u5185\u5b58&#xff0c;\u5982\u679c\u7cfb\u7edf\u65ad\u7535\u65f6\u95f4\u5c31\u4f1a\u4e22\u5931<\/span><\/li>\n<\/ul>\n<p>   # \u67e5\u770b\u7cfb\u7edf\u65f6\u95f4<br \/>\n[root&#064;server ~]# date<br \/>\n2023\u5e74 05\u6708 30\u65e5 \u661f\u671f\u4e8c 09:50:50 CST<br \/>\n[root&#064;server ~]# date -s 10:00 # \u4fee\u6539\u4e3a\u9519\u8bef\u7684\u65f6\u95f4<br \/>\n2023\u5e74 05\u6708 30\u65e5 \u661f\u671f\u4e8c 10:00:00 CST<br \/>\n[root&#064;server ~]# date<br \/>\n2023\u5e74 05\u6708 30\u65e5 \u661f\u671f\u4e8c 10:00:01 CST<br \/>\n[root&#064;server ~]# hwclock -s # \u5411\u786c\u4ef6\u65f6\u95f4\u540c\u6b65<br \/>\n[root&#064;server ~]# date<br \/>\n2023\u5e74 05\u6708 30\u65e5 \u661f\u671f\u4e8c 09:51:50 CST <\/p>\n<h3><span style=\"color:#1f0909\">1.4 <\/span><span style=\"color:#1f0909\">\u8bbe\u7f6e\u65e5\u671f\u65f6\u95f4<\/span><\/h3>\n<p>    <span style=\"color:#1f0909\">timedatectl<\/span><br \/>\n    <span style=\"color:#1f0909\">\u547d\u4ee4\u8bbe\u7f6e<\/span> <\/p>\n<p>    # [root&#064;server ~]# timedatectl # \u663e\u793a\u5f53\u524d\u7684\u65e5\u671f\u548c\u65f6\u95f4<br \/>\nLocal time: \u4e09 2023-11-15 13:00:26 CST # \u672c\u5730\u65f6\u95f4<br \/>\nUniversal time: \u4e09 2023-11-15 05:00:26 UTC # \u4e16\u754c\u65f6\u95f4<br \/>\nRTC time: \u4e09 2023-11-15 06:16:16 # \u786c\u4ef6\u65f6\u95f4<br \/>\nTime zone: Asia\/Shanghai (CST, &#043;0800) # \u65f6\u533a<br \/>\nSystem clock synchronized: yes # \u65f6\u95f4\u662f\u5426\u5df2<br \/>\n\u540c\u6b65<br \/>\nNTP service: active # \u65f6\u95f4\u540c\u6b65\u670d<br \/>\n\u52a1\u5df2\u542f\u52a8<br \/>\nRTC in local TZ: no # no\u8868\u793a\u786c\u4ef6\u65f6\u949f\u8bbe\u7f6e\u4e3a\u534f\u8c03\u4e16\u754c\u65f6&#xff08;UTC&#xff09;&#xff0c;yes<br \/>\n\u8868\u793a\u786c\u4ef6\u65f6\u949f\u8bbe\u7f6e\u4e3a\u672c\u5730\u65f6\u95f4<br \/>\n[root&#064;server ~]# systemctl status chronyd # \u67e5\u770b\u65f6\u95f4\u540c\u6b65\u670d\u52a1\u72b6\u6001&#xff08;\u7531\u4e8e<br \/>\n\u9ed8\u8ba4\u4f7f\u7528chrony\u670d\u52a1\u540c\u6b65\u65f6\u95f4&#xff0c;\u4e0d\u518d\u4f7f\u7528ntp\u670d\u52a1&#xff09;<br \/>\n[root&#064;server ~]# timedatectl set-ntp no # \u5173\u95ed\u65f6\u95f4\u540c\u6b65&#xff0c;\u4ee5\u65b9\u4fbf\u4fee\u6539\u65e5\u671f\u65f6<br \/>\n\u95f4<br \/>\n[root&#064;server ~]# systemctl status chronyd<br \/>\n[root&#064;server ~]# timedatectl set-time &#034;2023-12-12&#034; # \u8bbe\u7f6e\u65b0\u65e5\u671f<br \/>\n[root&#064;server ~]# timedatectl set-time &#034;12:12:12&#034;<br \/>\n[root&#064;server ~]# timedatectl list-timezones | grep Asia # \u67e5\u770b\u53ef\u7528\u65f6<br \/>\n\u533a<br \/>\n[root&#064;server ~]# timedatectl set-timezone Asia\/Shanghai # \u8bbe\u7f6e\u65f6\u533a <\/p>\n<p>     <span style=\"color:#1f0909\">date<\/span><br \/>\n     <span style=\"color:#1f0909\">\u547d\u4ee4\u8bbe\u7f6e<\/span> <\/p>\n<p>     [root&#064;server ~]# date # \u663e\u793a<br \/>\n[root&#064;server ~]# date &#043;&#034;%Y-%m-%d %H:%M:%S&#034; # \u683c\u5f0f\u663e\u793a<br \/>\n# \u8bbe\u7f6e\u65e5\u671f\u65f6\u95f4<br \/>\n[root&#064;server ~]# date -s 2023-11-15<br \/>\n2023\u5e74 11\u6708 15\u65e5 \u661f\u671f\u4e09 00:00:00 CST<br \/>\n[root&#064;server ~]# date -s 14:33:33<br \/>\n2023\u5e74 11\u6708 15\u65e5 \u661f\u671f\u4e09 14:33:33 CST<br \/>\n[root&#064;server ~]# date<br \/>\n2023\u5e74 11\u6708 15\u65e5 \u661f\u671f\u4e09 14:33:34 CST <\/p>\n<h3><span style=\"color:#1f0909\">1.5 NTP<\/span><\/h3>\n<ul>\n<li><span style=\"color:#1f0909\">NTP<\/span><span style=\"color:#1f0909\">&#xff1a;&#xff08;<\/span><span style=\"color:#1f0909\">Network Time Protocol<\/span><span style=\"color:#1f0909\">&#xff0c;\u7f51\u7edc\u65f6\u95f4\u534f\u8bae&#xff09;\u662f\u7531<\/span><span style=\"color:#1f0909\">RFC 1305<\/span><span style=\"color:#1f0909\">\u5b9a\u4e49\u7684\u65f6\u95f4\u540c\u6b65<\/span><span style=\"color:#1f0909\">\u534f\u8bae&#xff0c;\u7528\u6765\u5728\u5206\u5e03\u5f0f\u65f6\u95f4\u670d\u52a1\u5668\u548c\u5ba2\u6237\u7aef\u4e4b\u95f4\u8fdb\u884c\u65f6\u95f4\u540c\u6b65\u3002 <\/span><\/li>\n<li><span style=\"color:#1f0909\">NTP<\/span><span style=\"color:#1f0909\">\u57fa\u4e8e<\/span><span style=\"color:#1f0909\">UDP<\/span><span style=\"color:#1f0909\">\u62a5\u6587\u8fdb\u884c\u4f20\u8f93&#xff0c;\u4f7f\u7528\u7684<\/span><span style=\"color:#1f0909\">UDP<\/span><span style=\"color:#1f0909\">\u7aef\u53e3\u53f7\u4e3a<\/span><span style=\"color:#1f0909\">123 <\/span><\/li>\n<li><span style=\"color:#1f0909\">NTP<\/span><span style=\"color:#1f0909\">\u53ef\u4ee5\u5bf9\u7f51\u7edc\u5185\u6240\u6709\u5177\u6709\u65f6\u949f\u7684\u8bbe\u5907\u8fdb\u884c\u65f6\u949f\u540c\u6b65&#xff0c;\u4f7f\u7f51\u7edc\u5185\u6240\u6709\u8bbe\u5907\u7684\u65f6\u949f\u4fdd<\/span><span style=\"color:#1f0909\">\u6301\u4e00\u81f4&#xff0c;\u4ece\u800c\u4f7f\u8bbe\u5907\u80fd\u591f\u63d0\u4f9b\u57fa\u4e8e\u7edf\u4e00\u65f6\u95f4\u7684\u591a\u79cd\u5e94\u7528&#xff0c;\u5bf9\u4e8e\u8fd0\u884c<\/span><span style=\"color:#1f0909\">NTP<\/span><span style=\"color:#1f0909\">\u7684\u672c\u5730\u7cfb<\/span><span style=\"color:#1f0909\">\u7edf&#xff0c;\u65e2\u53ef\u4ee5\u63a5\u53d7\u6765\u81ea\u5176\u4ed6\u65f6\u949f\u6e90\u7684\u540c\u6b65&#xff0c;\u53c8\u53ef\u4ee5\u4f5c\u4e3a\u65f6\u949f\u6e90\u540c\u6b65\u5176\u4ed6\u7684\u65f6\u949f&#xff0c;\u5e76\u4e14<\/span><span style=\"color:#1f0909\">\u53ef\u4ee5\u548c\u5176\u4ed6\u8bbe\u5907\u4e92\u76f8\u540c\u6b65\u3002 <\/span><\/li>\n<li><span style=\"color:#1f0909\">NTP<\/span><span style=\"color:#1f0909\">\u7684\u5176\u7cbe\u5ea6\u5728\u5c40\u57df\u7f51\u5185\u53ef\u8fbe<\/span><span style=\"color:#1f0909\">0.1ms<\/span><span style=\"color:#1f0909\">&#xff0c;\u5728\u4e92\u8054\u7f51\u4e0a\u7edd\u5927\u591a\u6570\u7684\u5730\u65b9\u5176\u7cbe\u5ea6\u53ef\u4ee5\u8fbe\u5230<\/span><span style=\"color:#1f0909\">1-50ms<\/span><\/li>\n<\/ul>\n<h3><span style=\"color:#1f0909\">1.6 Chrony<\/span><span style=\"color:#1f0909\">\u4ecb\u7ecd<\/span><\/h3>\n<ul>\n<li><span style=\"color:#1f0909\">chrony<\/span><span style=\"color:#1f0909\">\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u81ea\u7531\u8f6f\u4ef6&#xff0c;\u5b83\u80fd\u5e2e\u52a9\u4f60\u4fdd\u6301\u7cfb\u7edf\u65f6\u949f\u4e0e\u65f6\u949f\u670d\u52a1\u5668&#xff08;<\/span><span style=\"color:#1f0909\">NTP<\/span><span style=\"color:#1f0909\">&#xff09; <\/span><span style=\"color:#1f0909\">\u540c\u6b65&#xff0c;\u56e0\u6b64\u8ba9\u4f60\u7684\u65f6\u95f4\u4fdd\u6301\u7cbe\u786e\u3002 <\/span><\/li>\n<li><span style=\"color:#1f0909\">chrony<\/span><span style=\"color:#1f0909\">\u7531\u4e24\u4e2a\u7a0b\u5e8f\u7ec4\u6210&#xff0c;\u5206\u522b\u662f<\/span><span style=\"color:#1f0909\">chronyd<\/span><span style=\"color:#1f0909\">\u548c<\/span><span style=\"color:#1f0909\">chronyc <\/span>\n<ul>\n<li><span style=\"color:#1f0909\">chronyd<\/span><span style=\"color:#1f0909\">&#xff1a;\u662f\u4e00\u4e2a\u540e\u53f0\u8fd0\u884c\u7684\u5b88\u62a4\u8fdb\u7a0b&#xff0c;\u7528\u4e8e\u8c03\u6574\u5185\u6838\u4e2d\u8fd0\u884c\u7684\u7cfb\u7edf\u65f6\u949f\u548c\u65f6\u949f\u670d\u52a1\u5668\u540c\u6b65\u3002\u5b83\u786e\u5b9a\u8ba1\u7b97\u673a\u589e\u51cf\u65f6\u95f4\u7684\u6bd4\u7387&#xff0c;\u5e76\u5bf9\u6b64\u8fdb\u884c\u8865\u507f\u3002 <\/span><\/li>\n<li><span style=\"color:#1f0909\">chronyc<\/span><span style=\"color:#1f0909\">&#xff1a;\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7528\u6237\u754c\u9762&#xff0c;\u7528\u4e8e\u76d1\u63a7\u6027\u80fd\u5e76\u8fdb\u884c\u591a\u6837\u5316\u7684\u914d\u7f6e\u3002\u5b83\u53ef\u4ee5\u5728chronyd<\/span><span style=\"color:#1f0909\">\u5b9e\u4f8b\u63a7\u5236\u7684\u8ba1\u7b97\u673a\u4e0a\u5de5\u4f5c&#xff0c;\u4e5f\u53ef\u4ee5\u5728\u4e00\u53f0\u4e0d\u540c\u7684\u8fdc\u7a0b\u8ba1\u7b97\u673a\u4e0a\u5de5\u4f5c <\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>    <span style=\"color:#1f0909\">\u6ce8\u610f&#xff1a;<\/span><br \/>\n    <span style=\"color:#1f0909\">Chrony<\/span><br \/>\n    <span style=\"color:#1f0909\">\u4e0e<\/span><br \/>\n    <span style=\"color:#1f0909\">NTP<\/span><br \/>\n    <span style=\"color:#1f0909\">\u90fd\u662f\u65f6\u95f4\u540c\u6b65\u8f6f\u4ef6&#xff0c;\u4e24\u4e2a\u8f6f\u4ef6\u4e0d\u80fd\u591f\u540c\u65f6\u5f00\u542f&#xff0c;\u4f1a\u51fa\u73b0\u65f6\u95f4\u51b2\u7a81&#xff0c;openeuler<\/span><br \/>\n    <span style=\"color:#1f0909\">\u4e2d\u9ed8\u8ba4\u4f7f\u7528<\/span><br \/>\n    <span style=\"color:#1f0909\">chrony<\/span><br \/>\n    <span style=\"color:#1f0909\">\u4f5c\u4e3a\u65f6\u95f4\u670d\u52a1\u5668&#xff0c;\u4e0d\u518d\u652f\u6301<\/span><br \/>\n    <span style=\"color:#1f0909\">NTP<\/span><br \/>\n    <span style=\"color:#1f0909\">\u8f6f\u4ef6\u5305<\/span> <\/p>\n<p>   [root&#064;server ~]# systemctl status ntp # \u67e5\u770bntp\u72b6\u6001<br \/>\n[root&#064;server ~]# systemctl status chronyd #\u67e5\u770bchronyd\u72b6\u6001 <\/p>\n<h2><span style=\"color:#1f0909\">\u5b89\u88c5\u4e0e\u914d\u7f6e<\/span><\/h2>\n<h3><span style=\"color:#1f0909\">2.1 <\/span><span style=\"color:#1f0909\">\u5b89\u88c5<\/span><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"347\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250427231107-680eb98b0aa29.png\" width=\"876\" \/><\/p>\n<h3><span style=\"color:#1f0909\">2.2 Chrony<\/span><span style=\"color:#1f0909\">\u914d\u7f6e\u6587\u4ef6\u5206\u6790<\/span><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"57\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250427231107-680eb98b416af.png\" width=\"650\" \/><\/p>\n<p>   # \u4f7f\u7528 pool.ntp.org \u9879\u76ee\u4e2d\u7684\u516c\u5171\u670d\u52a1\u5668\u3002<br \/>\n# \u6216\u8005\u4f7f\u7528server\u5f00\u5934\u7684\u670d\u52a1\u5668&#xff0c;\u7406\u8bba\u4e0a\u60f3\u6dfb\u52a0\u591a\u5c11\u65f6\u95f4\u670d\u52a1\u5668\u90fd\u53ef\u4ee5<br \/>\n# iburst\u8868\u793a\u7684\u662f\u9996\u6b21\u540c\u6b65\u7684\u65f6\u5019\u5feb\u901f\u540c\u6b65 <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"774\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250427231107-680eb98b69667.png\" width=\"706\" \/><\/p>\n<\/p>\n<h3 style=\"background-color:transparent\"><span style=\"color:#1f0909\">2.3 <\/span><span style=\"color:#1f0909\">\u540c\u6b65\u65f6\u95f4\u670d\u52a1\u5668<\/span><\/h3>\n<p><span style=\"color:#1f0909\">\u6388\u65f6\u4e2d\u5fc3<\/span><\/p>\n<p>   ntp.aliyun.com \u963f\u91cc\u4e91<br \/>\n&#8230;.. <\/p>\n<h2>\u5b9e\u9a8c\u4e00&#xff1a;\u5ba2\u6237\u7aef\u5411\u963f\u91cc\u4e91\u670d\u52a1\u5668\u8fdb\u884c\u540c\u6b65\u65f6\u95f4<\/h2>\n<h4>\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"57\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250427231107-680eb98ba0019.png\" width=\"650\" \/><\/p>\n<h4>\u4fee\u6539\u65f6\u95f4\u670d\u52a1\u5668&#xff1a;<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"777\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250427231107-680eb98bc9c73.png\" width=\"851\" \/><\/p>\n<h4>\u8bbe\u7f6e\u9519\u8bef\u7684\u65f6\u95f4&#xff1a;<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"64\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250427231108-680eb98c26ee7.png\" width=\"423\" \/><\/p>\n<h4>\u00a0\u91cd\u542f\u914d\u7f6e\u6587\u4ef6&#xff0c;\u518d\u9a8c\u8bc1\u662f\u5426\u540c\u6b65\u6210\u529f&#xff1a;<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"56\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250427231108-680eb98c4eef4.png\" width=\"445\" \/><\/p>\n<h4><\/h4>\n<h2 style=\"background-color:transparent\">\u5b9e\u9a8c\u4e8c&#xff1a;\u5ba2\u6237\u7aef\u5411\u914d\u7f6e\u597d\u963f\u91cc\u4e91\u670d\u52a1\u5668\u7684\u670d\u52a1\u7aef\u8fdb\u884c\u540c\u6b65\u65f6\u95f4<\/h2>\n<ul>\n<li><span style=\"color:#1f0909\">\u642d\u5efa\u672c\u5730\u65f6\u95f4\u540c\u6b65\u670d\u52a1\u5668 <\/span><\/li>\n<li><span style=\"color:#1f0909\">\u67b6\u6784<\/span><\/li>\n<\/ul>\n<table>\n<tr>\u6027\u8d28IP\u5730\u5740\u540c\u6b65\u5bf9\u8c61<\/tr>\n<tbody>\n<tr>\n<td>\u670d\u52a1\u7aefserver<\/td>\n<td>192.168.126.132<\/td>\n<td>ntp.aliyun.com<\/td>\n<\/tr>\n<tr>\n<td>\u5ba2\u6237\u7aefnode1<\/td>\n<td>192.168.126.130<\/td>\n<td>192.168.126.132<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li><span style=\"color:#1f0909\">\u8981\u6c42 <\/span>\n<ul>\n<li><span style=\"color:#1f0909\">\u670d\u52a1\u7aef<\/span><span style=\"color:#1f0909\">server<\/span><span style=\"color:#1f0909\">\u5411\u963f\u91cc\u65f6\u95f4\u670d\u52a1\u5668\u8fdb\u884c\u65f6\u95f4\u540c\u6b65 <\/span><\/li>\n<li><span style=\"color:#1f0909\">\u5ba2\u6237\u7aef<\/span><span style=\"color:#1f0909\">node1<\/span><span style=\"color:#1f0909\">\u5411\u670d\u52a1\u7aef<\/span><span style=\"color:#1f0909\">server<\/span><span style=\"color:#1f0909\">\u8fdb\u884c\u65f6\u95f4\u540c\u6b65 <\/span><\/li>\n<\/ul>\n<\/li>\n<li><span style=\"color:#1f0909\">\u7b2c\u4e00\u6b65&#xff1a;\u5b9a\u4f4d\u670d\u52a1\u7aef<\/span><span style=\"color:#1f0909\">server<\/span><\/li>\n<\/ul>\n<p>   # \u5b89\u88c5\u8f6f\u4ef6<br \/>\n[root&#064;server ~]# yum install chrony -y # \u9ed8\u8ba4\u5df2\u5b89\u88c5<br \/>\n# \u7f16\u8f91\u914d\u7f6e\u6587\u4ef6&#xff0c;\u5b9a\u4f4d\u7b2c3\u884c&#xff0c;\u4fee\u6539\u4e3a\u963f\u91cc\u7684\u65f6\u95f4\u670d\u52a1\u5730\u5740<br \/>\n[root&#064;server ~]# vim \/etc\/chrony.conf<br \/>\nserver ntp.aliyun.com iburst<br \/>\n# \u91cd\u542f\u670d\u52a1<br \/>\n[root&#064;server ~]# systemctl restart chronyd<br \/>\n# \u6d4b\u8bd5<br \/>\n[root&#064;server ~]# chronyc sources -v<br \/>\n[root&#064;server ~]# timedatectl status<br \/>\n# \u8bbe\u7f6e\u5141\u8bb8\u5ba2\u6237\u7aef\u65f6\u95f4\u540c\u6b65<br \/>\n[root&#064;server ~]# vim \/etc\/chrony.conf<br \/>\n26 allow 192.168.48.131\/24 # \u5b9a\u4f4d\u7b2c26\u884c&#xff0c;\u8bbe\u7f6e\u8c01\u53ef\u4ee5\u8bbf\u95ee\u672c\u673a\u8fdb\u884c\u540c\u6b65<br \/>\n[root&#064;server ~]# systemctl restart chronyd <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"643\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250427231108-680eb98c76c63.png\" width=\"989\" \/><\/p>\n<p>\u91cd\u542f\u670d\u52a1\u7aef\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"120\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250427231108-680eb98cc1723.png\" width=\"979\" \/><\/p>\n<ul>\n<li><span style=\"color:#1f0909\">\u7b2c\u4e8c\u6b65&#xff1a;\u5b9a\u4f4d\u5ba2\u6237\u7aef<\/span><span style=\"color:#1f0909\">node1<\/span><\/li>\n<\/ul>\n<p>   # \u5b89\u88c5\u8f6f\u4ef6<br \/>\n[root&#064;node1 ~]# yum install chrony -y<br \/>\n# \u7f16\u8f91\u914d\u7f6e\u6587\u4ef6<br \/>\n[root&#064;node1 ~]# vim \/etc\/chrony.conf # \u4fee\u6539\u7b2c3\u884c\u4e3aserver\u7684\u5730\u5740<br \/>\nserver 192.168.48.130 iburst<br \/>\n# \u91cd\u542f\u670d\u52a1<br \/>\n[root&#064;node1 ~]# systemctl restart chronyd<br \/>\n# \u6d4b\u8bd5<br \/>\n[root&#064;node1 ~]# chronyc sources -v <\/p>\n<p>\u8be5\u4f8b\u5c06\u6b64\u6539\u4e3a&#xff1a;192.168.126.132<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"671\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250427231108-680eb98cf0af8.png\" width=\"988\" \/><\/p>\n<p>\u91cd\u542f\u5ba2\u6237\u7aef\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"123\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250427231109-680eb98d4adba.png\" width=\"989\" \/><\/p>\n<ul>\n<li><span style=\"color:#fe2c24\">\u6ce8\u610f&#xff1a;\u5ba2\u6237\u7aef\u540c\u6b65\u5931\u8d25\u7684\u539f\u56e0 <\/span>\n<ul>\n<li><span style=\"color:#1f0909\">\u68c0\u67e5\u7f51\u7edc\u8fde\u901a\u6027&#xff0c;\u9700\u8981\u80fd<\/span><span style=\"color:#1f0909\">ping<\/span><span style=\"color:#1f0909\">\u901a <\/span><\/li>\n<li><span style=\"color:#1f0909\">\u68c0\u67e5\u670d\u52a1\u7aef\u7684<\/span><span style=\"color:#1f0909\">allow<\/span><span style=\"color:#1f0909\">\u53c2\u6570 <\/span><\/li>\n<li><span style=\"color:#1f0909\">\u9700\u8981\u91cd\u542f\u670d\u52a1<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3 style=\"background-color:transparent\"><span style=\"color:#1f0909\">2.4 chronyc<\/span><span style=\"color:#1f0909\">\u547d\u4ee4<\/span><\/h3>\n<p><span style=\"color:#1f0909\">\u67e5\u770b\u65f6\u95f4\u670d\u52a1\u5668&#xff1a;<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"277\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250427231109-680eb98d7926c.png\" width=\"806\" \/><\/p>\n<p><span style=\"color:#1f0909\">chronyc sources<\/span><span style=\"color:#1f0909\">\u8f93\u51fa\u5206\u6790&#xff1a;<\/span><\/p>\n<table>\n<tr>*CHRONYD\u5f53\u524d\u540c\u6b65\u5230\u7684\u6e90<\/tr>\n<tbody>\n<tr>\n<td>&#043;<\/td>\n<td>\u8868\u793a\u53ef\u63a5\u53d7\u7684\u4fe1\u53f7\u6e90&#xff0c;\u4e0e\u9009\u5b9a\u7684\u4fe1\u53f7\u6e90\u7ec4\u5408\u5728\u4e00\u8d77<\/td>\n<\/tr>\n<tr>\n<td>&#8211;<\/td>\n<td>\u8868\u793a\u88ab\u5408\u5e76\u7b97\u6cd5\u6392\u9664\u7684\u53ef\u63a5\u53d7\u6e90<\/td>\n<\/tr>\n<tr>\n<td>&#xff1f;<\/td>\n<td>\u8868\u793a\u5df2\u5931\u53bb\u8fde\u63a5\u7684\u6e90<\/td>\n<\/tr>\n<tr>\n<td>x<\/td>\n<td>\u8868\u793achronyd\u8ba4\u4e3a\u662f\u865a\u5047\u884c\u60c5\u7684\u65f6\u949f&#xff08;\u5373&#xff0c;\u5176\u65f6\u95f4\u4e0e\u5927\u591a\u6570\u5176\u4ed6\u6765\u6e90\u4e0d\u4e00\u81f4&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>~<\/td>\n<td>\u8868\u793a\u65f6\u95f4\u4f3c\u4e4e\u5177\u6709\u592a\u591a\u53ef\u53d8\u6027\u7684\u6765\u6e90<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span style=\"color:#1f0909\">\u5176\u5b83\u547d\u4ee4<\/span><\/h3>\n<p>   #\u67e5\u770b\u65f6\u95f4\u670d\u52a1\u5668\u7684\u72b6\u6001<br \/>\n[root&#064;server ~]# chronyc sourcestats -v<\/p>\n<p>#\u67e5\u770b\u65f6\u95f4\u670d\u52a1\u5668\u662f\u5426\u5728\u7ebf<br \/>\n[root&#064;server ~]# chronyc activity -v<\/p>\n<p>#\u540c\u6b65\u7cfb\u7edf\u65f6\u949f<br \/>\n[root&#064;server ~]# chronyc -a makestep <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1k\u6b21\uff0c\u70b9\u8d5e8\u6b21\uff0c\u6536\u85cf16\u6b21\u3002\u7b80\u4ecb\u7b80\u4ecb1.1\u65f6\u95f4\u7684\u91cd\u8981\u6027\u7531\u4e8eIT\u7cfb\u7edf\u4e2d\uff0c\u51c6\u786e\u7684\u8ba1\u65f6\u975e\u5e38\u91cd\u8981\uff0c\u6709\u5f88\u591a\u79cd\u539f\u56e0\u9700\u8981\u51c6\u786e\u8ba1\u65f6\uff1a\u5728\u7f51\u7edc\u4f20\u8f93\u4e2d\uff0c\u6570\u636e\u5305\u62ec\u548c\u65e5\u5fd7\u9700\u8981\u51c6\u786e\u7684\u65f6\u95f4\u6233\u5404\u79cd\u5e94\u7528\u7a0b\u5e8f\u4e2d\uff0c\u5982\u8ba2\u5355\u4fe1\u606f\uff0c\u4ea4\u6613\u4fe1\u606f\u7b49 \u90fd\u9700\u8981\u51c6\u786e\u7684\u65f6\u95f4\u62331.2\u65f6\u533a\u65f6\u533aTime Zone\uff09\u662f\u5730\u7403\u4e0a\u4f7f\u7528\u540c\u4e00\u4e2a\u65f6\u95f4\u7684\u533a\u57df\uff0c\u7531\u4e8e\u4e16\u754c\u5404\u56fd\u5bb6\u4e0e\u5730\u533a\u7ecf\u5ea6\u4e0d\u540c\uff0c\u5730\u65b9\u65f6\u4e5f\u6709\u6240\u4e0d\u540c\uff0c\u56e0\u6b64\u4f1a\u5212\u5206\u4e3a\u4e0d\u540c\u7684\u65f6\u533a\u3002\u5e38\u89c1\u7684\u65f6\u533aUTC\u6574\u4e2a\u5730\u7403\u5206\u4e3a\u4e8c\u5341\u56db\u65f6\u533a\uff0c\u6bcf\u4e2a\u65f6\u533a\u90fd\u6709\u81ea\u5df1\u7684\u672c\u5730\u65f6\u95f4\u3002<\/p>\n","protected":false},"author":2,"featured_media":33539,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,43,44],"topic":[],"class_list":["post-33551","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux","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>\u3010linux\u3011Chrony\u670d\u52a1\u5668 - \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\/33551.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010linux\u3011Chrony\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1k\u6b21\uff0c\u70b9\u8d5e8\u6b21\uff0c\u6536\u85cf16\u6b21\u3002\u7b80\u4ecb\u7b80\u4ecb1.1\u65f6\u95f4\u7684\u91cd\u8981\u6027\u7531\u4e8eIT\u7cfb\u7edf\u4e2d\uff0c\u51c6\u786e\u7684\u8ba1\u65f6\u975e\u5e38\u91cd\u8981\uff0c\u6709\u5f88\u591a\u79cd\u539f\u56e0\u9700\u8981\u51c6\u786e\u8ba1\u65f6\uff1a\u5728\u7f51\u7edc\u4f20\u8f93\u4e2d\uff0c\u6570\u636e\u5305\u62ec\u548c\u65e5\u5fd7\u9700\u8981\u51c6\u786e\u7684\u65f6\u95f4\u6233\u5404\u79cd\u5e94\u7528\u7a0b\u5e8f\u4e2d\uff0c\u5982\u8ba2\u5355\u4fe1\u606f\uff0c\u4ea4\u6613\u4fe1\u606f\u7b49 \u90fd\u9700\u8981\u51c6\u786e\u7684\u65f6\u95f4\u62331.2\u65f6\u533a\u65f6\u533aTime Zone\uff09\u662f\u5730\u7403\u4e0a\u4f7f\u7528\u540c\u4e00\u4e2a\u65f6\u95f4\u7684\u533a\u57df\uff0c\u7531\u4e8e\u4e16\u754c\u5404\u56fd\u5bb6\u4e0e\u5730\u533a\u7ecf\u5ea6\u4e0d\u540c\uff0c\u5730\u65b9\u65f6\u4e5f\u6709\u6240\u4e0d\u540c\uff0c\u56e0\u6b64\u4f1a\u5212\u5206\u4e3a\u4e0d\u540c\u7684\u65f6\u533a\u3002\u5e38\u89c1\u7684\u65f6\u533aUTC\u6574\u4e2a\u5730\u7403\u5206\u4e3a\u4e8c\u5341\u56db\u65f6\u533a\uff0c\u6bcf\u4e2a\u65f6\u533a\u90fd\u6709\u81ea\u5df1\u7684\u672c\u5730\u65f6\u95f4\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/33551.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-27T23:11:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250427231107-680eb98b0aa29.png\" \/>\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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/33551.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/33551.html\",\"name\":\"\u3010linux\u3011Chrony\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-27T23:11:10+00:00\",\"dateModified\":\"2025-04-27T23:11:10+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/33551.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/33551.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/33551.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010linux\u3011Chrony\u670d\u52a1\u5668\"}]},{\"@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":"\u3010linux\u3011Chrony\u670d\u52a1\u5668 - \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\/33551.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010linux\u3011Chrony\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1k\u6b21\uff0c\u70b9\u8d5e8\u6b21\uff0c\u6536\u85cf16\u6b21\u3002\u7b80\u4ecb\u7b80\u4ecb1.1\u65f6\u95f4\u7684\u91cd\u8981\u6027\u7531\u4e8eIT\u7cfb\u7edf\u4e2d\uff0c\u51c6\u786e\u7684\u8ba1\u65f6\u975e\u5e38\u91cd\u8981\uff0c\u6709\u5f88\u591a\u79cd\u539f\u56e0\u9700\u8981\u51c6\u786e\u8ba1\u65f6\uff1a\u5728\u7f51\u7edc\u4f20\u8f93\u4e2d\uff0c\u6570\u636e\u5305\u62ec\u548c\u65e5\u5fd7\u9700\u8981\u51c6\u786e\u7684\u65f6\u95f4\u6233\u5404\u79cd\u5e94\u7528\u7a0b\u5e8f\u4e2d\uff0c\u5982\u8ba2\u5355\u4fe1\u606f\uff0c\u4ea4\u6613\u4fe1\u606f\u7b49 \u90fd\u9700\u8981\u51c6\u786e\u7684\u65f6\u95f4\u62331.2\u65f6\u533a\u65f6\u533aTime Zone\uff09\u662f\u5730\u7403\u4e0a\u4f7f\u7528\u540c\u4e00\u4e2a\u65f6\u95f4\u7684\u533a\u57df\uff0c\u7531\u4e8e\u4e16\u754c\u5404\u56fd\u5bb6\u4e0e\u5730\u533a\u7ecf\u5ea6\u4e0d\u540c\uff0c\u5730\u65b9\u65f6\u4e5f\u6709\u6240\u4e0d\u540c\uff0c\u56e0\u6b64\u4f1a\u5212\u5206\u4e3a\u4e0d\u540c\u7684\u65f6\u533a\u3002\u5e38\u89c1\u7684\u65f6\u533aUTC\u6574\u4e2a\u5730\u7403\u5206\u4e3a\u4e8c\u5341\u56db\u65f6\u533a\uff0c\u6bcf\u4e2a\u65f6\u533a\u90fd\u6709\u81ea\u5df1\u7684\u672c\u5730\u65f6\u95f4\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/33551.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-27T23:11:10+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250427231107-680eb98b0aa29.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/33551.html","url":"https:\/\/www.wsisp.com\/helps\/33551.html","name":"\u3010linux\u3011Chrony\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-27T23:11:10+00:00","dateModified":"2025-04-27T23:11:10+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/33551.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/33551.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/33551.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010linux\u3011Chrony\u670d\u52a1\u5668"}]},{"@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\/33551","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=33551"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/33551\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/33539"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=33551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=33551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=33551"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=33551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}