Skip to content

Commit

Permalink
Merge pull request #21 from pescn/master
Browse files Browse the repository at this point in the history
MacOS客户端教程补充及mkworld编译失败Bug的修复
  • Loading branch information
xubiaolin authored Jun 24, 2022
2 parents 3c43076 + 9a16916 commit e66d109
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,15 @@ PS C:\Windows\system32>
## 4.3 安卓客户端配置
[Zerotier 非官方安卓客户端发布:支持自建 Moon 节点 - V2EX](https://www.v2ex.com/t/768628)

## 4.4 MacOS 客户端配置
步骤如下:

1. 进入 `/Library/Application\ Support/ZeroTier/One/` 目录,并替换目录下的 `planet` 文件
2. 重启 ZeroTier-One:`cat /Library/Application\ Support/ZeroTier/One/zerotier-one.pid | sudo xargs kill`
3. 加入网络 `zerotier-cli join` 网络 `id`
4. 管理后台同意加入请求
5. `zerotier-cli peers` 可以看到` planet` 角色

# 参考链接
[zerotier-虚拟局域网详解](https://www.glimmer.ltd/2021/3299983056/)

Expand Down
6 changes: 5 additions & 1 deletion init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ dpkg-reconfigure --frontend noninteractive tzdata
rm -rf /var/lib/apt/lists/*

apt update
apt install git python3 npm make curl -y
apt install git python3 npm make curl wget -y

mkdir /usr/include/nlohmann/
cd /usr/include/nlohmann/ && wget https://github.com/nlohmann/json/releases/download/v3.10.5/json.hpp

npm config set registry http://registry.npm.taobao.org && npm install -g node-gyp
curl -s https://install.zerotier.com | bash
cd /opt && git clone -v http://gh-proxy.markxu.vip/https://github.com/key-networks/ztncui.git
Expand Down

0 comments on commit e66d109

Please sign in to comment.