{"id":1433,"date":"2021-04-14T15:28:33","date_gmt":"2021-04-14T06:28:33","guid":{"rendered":"https:\/\/ahnbk.com\/?p=1433"},"modified":"2021-04-14T15:28:33","modified_gmt":"2021-04-14T06:28:33","slug":"chrony%eb%a5%bc-%ec%9d%b4%ec%9a%a9%ed%95%9c-%eb%a1%9c%ec%bb%ac-%eb%84%a4%ed%8a%b8%ec%9b%8d-%ea%b8%b0%ea%b8%b0-%ea%b0%84-%ec%8b%9c%ea%b0%84-%eb%8f%99%ea%b8%b0%ed%99%94","status":"publish","type":"post","link":"https:\/\/ahnbk.com\/?p=1433","title":{"rendered":"chrony\ub97c \uc774\uc6a9\ud55c \ub85c\uceec \ub124\ud2b8\uc6cd \uae30\uae30 \uac04 \uc2dc\uac04 \ub3d9\uae30\ud654"},"content":{"rendered":"\n<p>\ub9ac\ub205\uc2a4 \uc2dc\uc2a4\ud15c\uc5d0\uc11c \uc2dc\uac04 \ub3d9\uae30\ud654\ub97c \uc704\ud574 ntp\ub97c \ub9ce\uc774 \uc0ac\uc6a9\ud55c\ub2e4. ntp\ub97c \uc774\uc6a9\ud558\uc5ec \uae30\uae30\uac04 \uc2dc\uac04 \ub3d9\uae30\ud654\ub97c \ud560 \uc218\ub3c4 \uc788\uace0, \uc778\ud130\ub137\uc5d0 \ub9ce\uc740 \ubc29\ubc95\uc774 \ub098\uc640 \uc788\ub2e4. <\/p>\n\n\n\n<p>chrony\ub294 ntp\uc758 \uac1c\uc120 \ubc84\uc804\uc774\ub2e4. \uc0ac\uc6a9 \ubc29\ubc95\ub3c4 ntp\uc640 \uc720\uc0ac\ud558\uace0, \uc2ec\uc9c0\uc5b4 ntp\uc640 \ud638\ud658\ub3c4 \ub41c\ub2e4.<\/p>\n\n\n\n<p>\ub85c\ubd07 \uc2dc\uc2a4\ud15c\uc758 \ud2b9\uc131\uc0c1 \uc778\ud130\ub137\uc5d0 \uc5f0\uacb0\ub418\uc5b4 \uc788\uc9c0 \uc54a\uace0, \ub85c\uceec \ub124\ud2b8\uc6cd \ub9dd\ub9cc \uad6c\ucd95\ub418\uc5b4 \uc788\ub294 \uacbd\uc6b0, \ud558\ub098\uc758 PC\ub97c \uae30\uc900\uc73c\ub85c \uc0bc\uc544 \ub2e4\ub978 \uae30\uae30\uc758 \uc2dc\uac04\uc744 \ub3d9\uae30\ud654 \ud560 \uc218 \uc788\ub2e4. <\/p>\n\n\n\n<p>\uc791\uc5c5 \uc21c\uc11c<\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p>\uae30\uc900 PC<\/p>\n\n\n\n<p>chrony \uc124\uce58<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ sudo apt install chrony<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>\uc11c\ubc84 \uc124\uc815<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ sudo vi \/etc\/chrony\/chrony.conf <\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">pool &lt;\uae30\uc900PC IP\uc8fc\uc18c&gt; iburst maxsources 1\n\nkeyfile \/etc\/chrony\/chrony.keys\ndriftfile \/var\/lib\/chrony\/chrony.drift\n\nlocal stratum 10\nallow 192.168.0.0\/16\n\nlogdir \/var\/log\/chrony\nmaxupdateskew 100.0\nrtcsync\nmakestep 1 3<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>chrony \ub370\ubaac \uc11c\ube44\uc2a4 \uc2dc\uc791<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ sudo systemctl restart chronyd.service<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>chrony \uc11c\ube44\uc2a4 \uc2dc\uc791<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ sudo systemctl restart chrony.service<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>chrony \uc11c\ube44\uc2a4 \ub3d9\uc791 \ud655\uc778<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ watch chronyc tracking\n\nEvery 2.0s: chronyc tracking\n\nReference ID    : C0A80B36 (byeongkyu-XPS-17-9700)\nStratum         : 11\nRef time (UTC)  : Wed Apr 14 06:19:50 2021\nSystem time     : 0.000000000 seconds slow of NTP time\nLast offset     : +0.000002941 seconds\nRMS offset      : 0.000002941 seconds\nFrequency       : 7.161 ppm slow\nResidual freq   : -0.063 ppm\nSkew            : 9.612 ppm\nRoot delay      : 0.000010132 seconds\nRoot dispersion : 0.000493094 seconds\nUpdate interval : 0.0 seconds\nLeap status     : Normal<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p>\uc2ac\ub808\uc774\ube0c PC<\/p>\n\n\n\n<p>chrony \uc124\uce58\ub294 \ub3d9\uc77c.<\/p>\n\n\n\n<p>\uc124\uc815\ud30c\uc77c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ sudo vi \/etc\/chrony\/chrony.conf\n\npool &lt;\uae30\uc900PC IP\uc8fc\uc18c&gt; iburst maxsources 1\n\nkeyfile \/etc\/chrony\/chrony.keys\ndriftfile \/var\/lib\/chrony\/chrony.drift\n\nlogdir \/var\/log\/chrony\nmaxupdateskew 100.0\nrtcsync\nmakestep 1 3<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>chrony \ub370\ubaac \uc11c\ube44\uc2a4 \uc2dc\uc791<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ sudo systemctl restart chrony.service<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>chrony \ub3d9\uc791 \ud655\uc778<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ watch chronyc tracking\n\nEvery 2.0s: chronyc tracking\n \nReference ID    : C0A80B36 (192.168.11.54)\nStratum         : 12\nRef time (UTC)  : Wed Apr 14 06:26:28 2021\nSystem time     : 0.000805050 seconds fast of NTP time\nLast offset     : +0.001296174 seconds\nRMS offset      : 0.005739228 seconds\nFrequency       : 2.246 ppm slow\nResidual freq   : +0.130 ppm\nSkew            : 2.884 ppm\nRoot delay      : 0.009987777 seconds\nRoot dispersion : 0.003204302 seconds\nUpdate interval : 260.5 seconds\nLeap status     : Normal<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>\ub05d.!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ub9ac\ub205\uc2a4 \uc2dc\uc2a4\ud15c\uc5d0\uc11c \uc2dc\uac04 \ub3d9\uae30\ud654\ub97c \uc704\ud574 ntp\ub97c \ub9ce\uc774 \uc0ac\uc6a9\ud55c\ub2e4. ntp\ub97c \uc774\uc6a9\ud558\uc5ec \uae30\uae30\uac04 \uc2dc\uac04 \ub3d9\uae30\ud654\ub97c \ud560 \uc218\ub3c4 \uc788\uace0, \uc778\ud130\ub137\uc5d0 \ub9ce\uc740 \ubc29\ubc95\uc774 \ub098\uc640 \uc788\ub2e4. chrony\ub294 ntp\uc758 \uac1c\uc120 \ubc84\uc804\uc774\ub2e4. \uc0ac\uc6a9 \ubc29\ubc95\ub3c4 ntp\uc640 \uc720\uc0ac\ud558\uace0, \uc2ec\uc9c0\uc5b4 ntp\uc640 \ud638\ud658\ub3c4 \ub41c\ub2e4. \ub85c\ubd07 \uc2dc\uc2a4\ud15c\uc758 \ud2b9\uc131\uc0c1 \uc778\ud130\ub137\uc5d0 \uc5f0\uacb0\ub418\uc5b4 \uc788\uc9c0 \uc54a\uace0, \ub85c\uceec \ub124\ud2b8\uc6cd \ub9dd\ub9cc \uad6c\ucd95\ub418\uc5b4 \uc788\ub294 \uacbd\uc6b0, \ud558\ub098\uc758 PC\ub97c \uae30\uc900\uc73c\ub85c \uc0bc\uc544 \ub2e4\ub978 \uae30\uae30\uc758 \uc2dc\uac04\uc744 \ub3d9\uae30\ud654 \ud560 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/ahnbk.com\/?p=1433\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;chrony\ub97c \uc774\uc6a9\ud55c \ub85c\uceec \ub124\ud2b8\uc6cd \uae30\uae30 \uac04 \uc2dc\uac04 \ub3d9\uae30\ud654&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"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,"footnotes":"","_jetpack_memberships_contains_paid_content":false},"categories":[59],"tags":[319,320,321],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2wXSW-n7","jetpack-related-posts":[],"jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts\/1433"}],"collection":[{"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1433"}],"version-history":[{"count":3,"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts\/1433\/revisions"}],"predecessor-version":[{"id":1436,"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts\/1433\/revisions\/1436"}],"wp:attachment":[{"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}