{"id":2338,"date":"2016-11-21T12:25:03","date_gmt":"2016-11-21T03:25:03","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/?page_id=2338"},"modified":"2016-11-21T12:25:03","modified_gmt":"2016-11-21T03:25:03","slug":"sierra","status":"publish","type":"page","link":"https:\/\/je1sgh.mydns.jp\/?page_id=2338","title":{"rendered":"High Sierra"},"content":{"rendered":"<p><a href=\"https:\/\/je1sgh.mydns.jp\/?page_id=1620\">Macintosh<\/a> &gt; High Sierra<\/p>\n<h1>rsync\u306e\u30c7\u30fc\u30e2\u30f3\u5316<\/h1>\n<h2>\u624b\u3067build\u306e\u5834\u5408<\/h2>\n<p>\u307e\u305a\uff0cMac OS X\u306b\u4ed8\u5c5e\u306ersync\u306f\u9673\u8150\u5316\u3057\u3066\u3044\u308b\u4e0a\u306b\u30d0\u30b0\u304c\u3042\u308a\u307e\u3059\u306e\u3067\uff0c\u81ea\u5206\u3067\u6700\u65b0\u306e\u516c\u5f0f\u30bd\u30fc\u30b9\u3092<a href=\"https:\/\/je1sgh.mydns.jp\/?page_id=1185#Mac_OS_X\">build\u3057\u3066<\/a>\u5dee\u3057\u66ff\u3048\u308b\u3053\u3068\u3092<sup class=\"modern-footnotes-footnote \" data-mfn=\"1\" data-mfn-post-scope=\"00000000000002ee0000000000000000_2338\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000002ee0000000000000000_2338-1\">1<\/a><\/sup><span id=\"mfn-content-00000000000002ee0000000000000000_2338-1\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"1\">\u3082\u3057\u304f\u306f\uff0cMacPorts\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff0e<\/span>\uff0c\u5f37\u304f\u304a\u52e7\u3081\u3057\u307e\u3059\uff0e<\/p>\n<p>\u4ee5\u4e0b\u306e\u8a71\u306f\uff0c\u81ea\u5206\u3067build\u3057\u305f\uff0crsync 3.x\u304c\uff0c\/opt\/bin\/rsync\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u524d\u63d0\u3067\u3059<sup class=\"modern-footnotes-footnote \" data-mfn=\"2\" data-mfn-post-scope=\"00000000000002ee0000000000000000_2338\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000002ee0000000000000000_2338-2\">2<\/a><\/sup><span id=\"mfn-content-00000000000002ee0000000000000000_2338-2\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"2\">\u4ee5\u4e0b\u306e\u8aac\u660e\u306b\u306f\u76f4\u63a5\u95a2\u4fc2\u3057\u307e\u305b\u3093\u304c\uff0c\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\uff0c\/opt\/etc\u5185\u306ersyncd.secrets\u3068rsyncd.conf\u306b\u306a\u308b\u3088\u3046\u306b\uff0c<a href=\"https:\/\/je1sgh.mydns.jp\/?page_id=1185\">configure\u3067\u30aa\u30d7\u30b7\u30e7\u30f3\u8a2d\u5b9a<\/a>\u3057\u3066\u3044\u307e\u3059\uff0e<\/span>\uff0e<\/p>\n<p>\u4ee5\u4e0b\u306e\u30c6\u30ad\u30b9\u30c8\u3092Xcode\u306a\u3069\u3067plist\u5316\u3057\u3066\u9069\u5f53\u306a\u3068\u3053\u308d\u306b\u4fdd\u5b58\u3057\u307e\u3059\uff0e<\/p>\n<pre>{\n\tLabel = \"local.rsyncd\";\n\tProgramArguments = (\n\t\t\"\/opt\/bin\/rsync\",\n\t\t\"--daemon\",\n\t);\n\tinetdCompatibility = {\n\t\tWait = NO;\n\t};\n\tSockets = {\n\t\tListeners = {\n\t\t\tSockServiceName = rsync;\n\t\t\tSockType = stream;\n\t\t};\n\t};\n}\n<\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u540d\u306f\uff0cLabel\u3068\u4e00\u81f4\u3055\u305b\u308b\u305f\u3081\u306b\uff0c\u3053\u306e\u4f8b\u3067\u306f\uff0clocal.rsyncd.plist\u3068\u3057\u307e\u3059\uff0e<\/p>\n<p>\u305d\u3057\u3066\uff0clocal.rsyncd.plist\u304c\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u306b\u3042\u308b\u3068\u3057\u3066\uff0c<\/p>\n<pre>cd \/Library\/LaunchDaemons\nsudo cp ~\/local.rsyncd.plist .\nsudo chmod a+x local.rsyncd.plist\nsudo launchctl load local.rsyncd.plist<\/pre>\n<p>\u3067\u3088\u3055\u305d\u3046\u3067\u3059\uff0e<\/p>\n<h2>MacPorts\u306e\u5834\u5408<\/h2>\n<p>MacPorts\u3067\uff0crsync\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\uff0c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u6700\u5f8c\u306b\u3067\u308b\u30a4\u30f3\u30b9\u30c8\u30e9\u30af\u30b7\u30e7\u30f3\u306b\u5f93\u3063\u3066\uff0c<\/p>\n<pre>sudo port load rsync<\/pre>\n<p>\u3067\uff0crsyncd\u304c\u30c7\u30fc\u30e2\u30f3\u5316\u3067\u304d\u307e\u3059\uff0e\u305d\u306e\u524d\u306b\uff0c<strong>\/opt\/local\/etc<\/strong>\u5185\u306b\uff0c<strong>rsyncd.conf<\/strong>\u3068<strong>rsyncd.secrets<\/strong>\u3092\u7528\u610f\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff0e<\/p>\n<h2>\u30a2\u30af\u30bb\u30b9\u6a29\u306e\u4ed8\u4e0e<\/h2>\n<p>\u3082\u3046\u4e00\u70b9\uff0c\u5fc5\u8981\u306a\u306e\u304c\uff0c\u30b5\u30fc\u30d0\u30fc\u5074(\u30c7\u30fc\u30e2\u30f3\u5074)\u306ersync\u3078\u306e\u30d5\u30eb\u30a2\u30af\u30bb\u30b9\u6a29\u306e\u4ed8\u4e0e\u3067\u3059\uff0e\u3053\u308c\u3092\u3057\u306a\u3044\u3068\uff0c\u4f8b\u3048\u3070\u5199\u771f\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u306e\u30b7\u30f3\u30af\u30ed\u304c\u3067\u304d\u307e\u305b\u3093\uff0e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3067\u5fc5\u8981\u304b\u3069\u3046\u304b\u306f\u89e3\u308a\u307e\u305b\u3093\u304c\uff0c\u7b46\u8005\u306e\u5834\u5408\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u3057\u304b\u52d5\u304b\u3055\u306a\u3044Mac\u306f\u306a\u3044\u306e\u3067\uff0c\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u4e0e\u3048\u3066\u3044\u307e\u3059\uff0e<\/p>\n<p>\u8a2d\u5b9a\u5834\u6240\u306f\uff0c\u300c\u30b7\u30b9\u30c6\u30e0\u74b0\u5883\u8a2d\u5b9a\u300d\u306e\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3068\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u300d\u306e\u300c\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u300d\u306e\u300c\u30d5\u30eb\u30c7\u30a3\u30b9\u30af\u30a2\u30af\u30bb\u30b9\u300d\u3067\u3059\uff0e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u30ab\u30ae\u3092\u5916\u3057\u3066\u304b\u3089\uff0c\u300c\uff0b\u300d\u3092\u62bc\u3057\u3066\uff0c<strong>\/opt\/local\/bin\/rsync<\/strong>\u3092\u898b\u3064\u3051\u51fa\u3057\u3066\uff0c\u8ffd\u52a0\u3057\u307e\u3059\uff0e\u901a\u5e38\u3067\u306f\u96a0\u3057\u30d5\u30a1\u30a4\u30eb\u304c\u30c0\u30a4\u30a2\u30ed\u30b0\u306b\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u304b\u3089\uff0c\u30b3\u30de\u30f3\u30c9+\u30b7\u30d5\u30c8+&#8221;.&#8221;\u3092\u62bc\u3057\u3066\uff0c\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304b\u3089\u9078\u3073\u307e\u3059\uff0e\u3053\u3053\u306b\u8ffd\u52a0\u3059\u308c\u3070\uff0c\u30b7\u30b9\u30c6\u30e0\u3084\u30c7\u30fc\u30e2\u30f3\u306e\u518d\u8d77\u52d5\u306a\u3057\u3067\uff0c\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff0e<\/p>\n<p><a href=\"https:\/\/je1sgh.mydns.jp\/wp-content\/uploads\/2019\/02\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2019-02-24-10.04.11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2523 aligncenter\" src=\"https:\/\/je1sgh.mydns.jp\/wp-content\/uploads\/2019\/02\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2019-02-24-10.04.11.png\" alt=\"\" width=\"780\" height=\"685\" \/><\/a><\/p>\n<h1>Static\u306a\u30eb\u30fc\u30c8\u306e\u8ffd\u52a0<\/h1>\n<p>\u672c\u4ef6\u306f\uff0c\u73fe\u5728\u4f7f\u7528\u3057\u3066\u3044\u307e\u305b\u3093\u304c\uff0c\u5c06\u6765\u7684\u306b\u4f55\u3089\u304b\u306e\u30d2\u30f3\u30c8\u306b\u306a\u308b\u304b\u3082\u77e5\u308c\u306a\u3044\u306e\u3067\u6b8b\u3057\u3066\u304a\u304d\u307e\u3059\uff0e<\/p>\n<p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3067\u3084\u308b\u3079\u304d\u3068\u306f\u601d\u308f\u306a\u3044\u306e\u3067\u3059\u304c\uff0cLinux\u306e\u30eb\u30fc\u30bf\u30fc\u304cARP\u3092\u767a\u3057\u3066\u3082\u5168\u7136\u52b9\u304b\u306a\u3044\u3088\u3046\u306a\u306e\u3067\uff0c\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u3042\u308bMac\u306e\u307b\u3046\u3067Statc\u306a\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u8a66\u3057\u3066\u307f\u307e\u3059\uff0e<\/p>\n<pre>{\n\tLabel = \"local.routeadd\";\n\tRunAtLoad = YES;\n\tKeepAlive = NO;\n\tProgramArguments = (\n\t\t\"\/sbin\/route\",\n\t\tadd,\n\t\t\"-net\",\n\t\t\"192.168.99.0\",\n\t\t\"-netmask\",\n\t\t\"255.255.255.0\",\n\t\t\"-gateway\",\n\t\t\"192.168.1.99\",\n\t);\n\tStartInterval = 1200;\n}\n<\/pre>\n<p>\u3053\u3093\u306a\u3093\u3067\u3069\u3046\u3067\u3057\u3087\u3046\uff0e\u4e0b\u8a18\u30ea\u30f3\u30af\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3057\u3066\u3044\u3066\uff0c20\u5206\u3054\u3068\u306b<strong>route add&#8230;<\/strong>\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\uff0e<\/p>\n<p>\u3053\u306e\u6a5f\u80fd\u306fMac OS Sierra\u3067\u306f\u4f7f\u7528\u3057\u3066\u3044\u307e\u305b\u3093\u306e\u3067\uff0c\u6b63\u3057\u304f\u6a5f\u80fd\u3059\u308b\u304b\u3069\u3046\u304b\u89e3\u308a\u307e\u305b\u3093\uff0e<\/p>\n<h2>\u53c2\u8003\u306b\u3057\u305f\u30da\u30fc\u30b8<\/h2>\n<p>&#8220;\u53c2\u8003&#8221;\u3067\u306a\u304f\uff0c\u305d\u306e\u307e\u3093\u307e\u304b\u3082^^;<\/p>\n<ul>\n<li><a href=\"http:\/\/www.andre-aulich.de\/en\/perm\/setting-static-routes-in-mac-os-x-104105-client-and-server\">Setting static routes in Mac OS X 10.4\/10.5 client and server<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Macintosh &gt; High Sierra rsync\u306e\u30c7\u30fc\u30e2\u30f3\u5316 \u624b\u3067build\u306e\u5834\u5408 \u307e\u305a\uff0cMac OS X\u306b\u4ed8\u5c5e\u306ersync\u306f\u9673\u8150\u5316\u3057\u3066\u3044\u308b\u4e0a\u306b\u30d0\u30b0\u304c\u3042\u308a\u307e\u3059\u306e\u3067\uff0c\u81ea\u5206\u3067\u6700\u65b0\u306e\u516c\u5f0f\u30bd\u30fc\u30b9\u3092build\u3057\u3066\u5dee\u3057\u66ff\u3048\u308b\u3053\u3068\u3092\uff0c\u5f37\u304f\u304a\u52e7\u3081\u3057\u307e\u3059\uff0e \u4ee5\u4e0b\u306e\u8a71\u306f\uff0c\u81ea\u5206\u3067build\u3057\u305f\uff0crsync 3.x\u304c\uff0c\/opt\/bin\/rsync\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u524d\u63d0\u3067\u3059\uff0e \u4ee5\u4e0b\u306e\u30c6\u30ad\u30b9\u30c8\u3092Xcode\u306a\u3069\u3067plist\u5316\u3057\u3066\u9069\u5f53\u306a\u3068\u3053\u308d\u306b\u4fdd\u5b58\u3057\u307e\u3059\uff0e { Label = &#8220;local.rsyncd&#8221;; ProgramArguments = ( &#8220;\/opt\/bin\/rsync&#8221;, &#8220;&#8211;daemon&#8221;, ); inetdCompatibility = { Wait = NO; }; Sockets = { Listeners = { SockServiceName = rsync; SockType = stream; }; }; } \u30d5\u30a1\u30a4\u30eb\u540d\u306f\uff0cLabel\u3068\u4e00\u81f4\u3055\u305b\u308b\u305f\u3081\u306b\uff0c\u3053\u306e\u4f8b\u3067\u306f\uff0clocal.rsyncd.plist\u3068\u3057\u307e\u3059\uff0e \u305d\u3057\u3066\uff0clocal.rsyncd.plist\u304c\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u306b\u3042\u308b\u3068\u3057\u3066\uff0c cd \/Library\/LaunchDaemons sudo cp ~\/local.rsyncd.plist . sudo chmod a+x &hellip; <a href=\"https:\/\/je1sgh.mydns.jp\/?page_id=2338\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;High Sierra&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1620,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2338","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages\/2338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2338"}],"version-history":[{"count":0,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages\/2338\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages\/1620"}],"wp:attachment":[{"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}