|
onespace用户交流群里文件里的说明文档,搬运过来
+ x; m9 ` o: Z) x7 J5 y" o7 V6 f9 d" S9 Z, r! P
1. zerotier-one上传到硬盘,比如公共目录
0 z# B" _4 v2 s- w+ x) I# Q8 Z4 f8 T- r2.然后ssh登陆root用户4 A3 a, @, m7 d( W. V3 X8 P
chmod +x /sata/public/zerotier-one
( G% u, T) b8 p9 z; qcd /sata/public
" o, J# }) H" b# l4 V& @ln -s zerotier-one zerotier-cli
6 t8 M, |: L' L8 C4 Fmount -o remount,rw /
2 l, i; y- U8 \ Imkdir -p /sata/public/config/zerotier-one/
5 R ^/ l( Y1 w& j- Gln -s /sata/public/config/zerotier-one /var/lib/zerotier-one
8 Q3 i0 u0 R! x8 f0 I( G) pmount -o remount,ro /7 j# i. R# b9 q1 g3 s
; Z" H% Y7 h" Y8 R2 G- n+ z6 [3 o2 ?3.运行后台程序
' S. s5 T0 c; q" P5 J./zerotier-one -d
+ f2 j! e# e* }2 P9 ^2 M8 Z. `7 I! ?- b' P2 I! Z
4.然后加入网络id
# P6 Q; T- {; U5 q$ y./zerotier-cli join 1c33c1ced026daxx (这个id从官网注册页面获取)0 C' O) O* H* V6 b4 b2 x" D
, n. S# f! F- a, l) H: r: K
/ }0 i4 C6 V4 E% Y( S1 a
官网注册以及电脑操作可以参考下面的教程$ V7 w" P0 a0 E6 g/ t$ K& C2 j% H0 N/ v. m
https://blog.whsir.com/post-3685.html# T" m& d% H' i; ^
https://post.smzdm.com/p/741270/* W% Z! w+ D3 _. q5 @. |" M( Y$ w
* F" g' z& V( O* I+ P( ^$ o
|
|