{"id":895,"date":"2020-09-12T13:09:24","date_gmt":"2020-09-12T05:09:24","guid":{"rendered":"http:\/\/192.168.1.112\/?p=895"},"modified":"2020-09-12T13:09:24","modified_gmt":"2020-09-12T05:09:24","slug":"osmc%e5%8e%9f%e5%a7%8b%e6%a0%91%e8%8e%93%e7%9a%84zerotier%e5%ae%89%e8%a3%85%e8%ae%b0%e5%bd%95","status":"publish","type":"post","link":"https:\/\/blog.zengqq.com.cn\/?p=895","title":{"rendered":"OSMC\u539f\u59cb\u6811\u8393\u7684zerotier\u5b89\u88c5\u8bb0\u5f55"},"content":{"rendered":"\n<pre class=\"wp-block-preformatted\">osmc@osmc:~$ history |grep -i zerotier\n227 curl -s\n'https:\/\/raw.githubusercontent.com\/zerotier\/download.zerotier.com\/master\n\/htdocs\/contact%40zerotier.com.gpg' | gpg --import &amp;&amp; if z=$(curl -s\n'https:\/\/install.zerotier.com\/' | gpg); then echo \"$z\" | sudo bash; fi\n228 curl\n-s https:\/\/install.zerotier.com\/ | sudo bash\n229 zerotier\n232 zerotier\n261 zerotier\n262 curl -s https:\/\/install.zerotier.com\/ | sudo bash\n263 zerotier\n332 zerotier 333 start zerotier\n659 history|grep -i zerotier\n|\n\u5b98\u65b9\u7684\u5b89\u88c5\u6307\u5357\uff08step by step\uff09 Linux (DEB\/RPM) Debian and RPM based distributions\nincluding Debian, Ubuntu, CentOS, RHEL, Fedora, and others are supported via a\nscript that adds the right repository and installs the package.\nIf you\u2019re willing to rely on SSL to authenticate the site, a one line install\ncan be done with:\n#\n$ curl -s https:\/\/install.zerotier.com | sudo bash\nIf you have GPG installed, a more secure option is available:\n$ curl -s 'https:\/\/raw.githubusercontent.com\/zerotier\/ZeroTierOne\/master\/doc\/\ncontact%40zerotier.com.gpg' | gpg --import &amp;&amp; \\ if z=$(curl -s\n'https:\/\/install.zerotier.com\/' | gpg); then echo \"$z\" | sudo bash; fi\nAfter using the script, use apt or yum to manage future updates to zerotier-one\n#\u8bb0\u5f55\nosmc@osmc:~$ curl -s https:\/\/install.zerotier.com | sudo bash\n*** ZeroTier One Quick Install for Unix-like Systems\n*** Tested distributions and architectures:\n*** MacOS (10.7+) on x86_64 (just installs ZeroTier One.pkg)\n*** Debian (7+) on x86_64, x86, arm, and arm64\n*** RedHat\/CentOS (6+) on x86_64 and x86\n*** Fedora (16+) on x86_64 and x86\n*** SuSE (12+) on x86_64 and x86\n*** Mint (18+) on x86_64, x86, arm, and arm64\n*** Please report problems to contact@zerotier.com and we will try to fix.\n*** ZeroTier One appears to already be installed.\nosmc@osmc:~$\ncctv\u4e0a\u7684\u5b89\u88c5\u8bb0\u5f55\n*** Tested distributions and architectures:\n*** MacOS (10.7+) on x86_64 (just installs ZeroTier One.pkg)\n*** Debian (7+) on x86_64, x86, arm, and arm64\n*** RedHat\/CentOS (6+) on x86_64 and x86\n*** Fedora (16+) on x86_64 and x86\n*** SuSE (12+) on x86_64 and x86\n*** Mint (18+) on x86_64, x86, arm, and arm64\n*** Please report problems to contact@zerotier.com and we will try to fix.\n*** Detecting Linux Distribution\n*** Found Debian \"buster\", or \"sid\" (or similar), creating \/etc\/apt\/sources.list.d\/zerotier.list\nOK\n*** Installing zerotier-one package\u2026\n\u83b7\u53d6:1 http:\/\/raspbian.raspberrypi.org\/raspbian buster InRelease [15.0 kB]\n\u547d\u4e2d:2 http:\/\/archive.raspberrypi.org\/debian buster InRelease\n\u83b7\u53d6:3 http:\/\/download.zerotier.com\/debian\/buster buster InRelease [25.9 kB]\n\u83b7\u53d6:4 http:\/\/download.zerotier.com\/debian\/buster buster\/main armhf Packages [1,888 B]\n\u5df2\u4e0b\u8f7d 42.8 kB\uff0c\u8017\u65f6 24\u79d2 (1,762 B\/s)\n\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868\u2026 \u5b8c\u6210\n\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868\u2026 \u5b8c\u6210\n\u6b63\u5728\u5206\u6790\u8f6f\u4ef6\u5305\u7684\u4f9d\u8d56\u5173\u7cfb\u6811\n\u6b63\u5728\u8bfb\u53d6\u72b6\u6001\u4fe1\u606f\u2026 \u5b8c\u6210\n\u4e0b\u5217\u3010\u65b0\u3011\u8f6f\u4ef6\u5305\u5c06\u88ab\u5b89\u88c5\uff1a\nzerotier-one\n\u5347\u7ea7\u4e86 0 \u4e2a\u8f6f\u4ef6\u5305\uff0c\u65b0\u5b89\u88c5\u4e86 1 \u4e2a\u8f6f\u4ef6\u5305\uff0c\u8981\u5378\u8f7d 0 \u4e2a\u8f6f\u4ef6\u5305\uff0c\u6709 305 \u4e2a\u8f6f\u4ef6\u5305\u672a\u88ab\u5347\u7ea7\u3002\n\u9700\u8981\u4e0b\u8f7d 763 kB \u7684\u5f52\u6863\u3002\n\u89e3\u538b\u7f29\u540e\u4f1a\u6d88\u8017 2,397 kB \u7684\u989d\u5916\u7a7a\u95f4\u3002\n\u83b7\u53d6:1 http:\/\/download.zerotier.com\/debian\/buster buster\/main armhf zerotier-one armhf 1.4.6 [763 kB]\n\u6b63\u5728\u9009\u4e2d\u672a\u9009\u62e9\u7684\u8f6f\u4ef6\u5305 zerotier-one\u3002\n(\u6b63\u5728\u8bfb\u53d6\u6570\u636e\u5e93 \u2026 \u7cfb\u7edf\u5f53\u524d\u5171\u5b89\u88c5\u6709 155356 \u4e2a\u6587\u4ef6\u548c\u76ee\u5f55\u3002)\n\u51c6\u5907\u89e3\u538b \u2026\/zerotier-one_1.4.6_armhf.deb \u2026\n\u6b63\u5728\u89e3\u538b zerotier-one (1.4.6) \u2026\n\u6b63\u5728\u8bbe\u7f6e zerotier-one (1.4.6) \u2026\nCreated symlink \/etc\/systemd\/system\/multi-user.target.wants\/zerotier-one.service \u2192 \/lib\/systemd\/system\/zerotier-one.service.\n\u6b63\u5728\u5904\u7406\u7528\u4e8e man-db (2.8.5-2) \u7684\u89e6\u53d1\u5668 \u2026\n\u6b63\u5728\u5904\u7406\u7528\u4e8e systemd (241-5+rpi1) \u7684\u89e6\u53d1\u5668 \u2026\n*** Enabling and starting zerotier-one service\u2026\nSynchronizing state of zerotier-one.service with SysV service script with \/lib\/systemd\/systemd-sysv-install.\nExecuting: \/lib\/systemd\/systemd-sysv-install enable zerotier-one\n*** Waiting for identity generation\u2026\n*** Success! You are ZeroTier address [ f3b1f00e39 ].<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>osmc@osmc:~$ history |gre [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[89],"tags":[],"class_list":["post-895","post","type-post","status-publish","format-standard","hentry","category-live"],"_links":{"self":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=895"}],"version-history":[{"count":0,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/895\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}