安装 EasyTier
如果你的网络提供商干扰了 GitHub,你可以使用以下命令来安装 EasyTier:
apt update -y sudo unzip openssl
wget -O /tmp/easytier.sh "https://ghfast.top/https://raw.githubusercontent.com/EasyTier/EasyTier/main/script/install.sh" && sudo bash /tmp/easytier.sh install --gh-proxy https://ghfast.top/
systemctl disable --now [email protected]
你可以在这里检查最新的代理。
否则,只需使用默认的 GitHub URL。
apt update -y sudo unzip openssl
wget -O /tmp/easytier.sh "https://raw.githubusercontent.com/EasyTier/EasyTier/main/script/install.sh" && sudo bash /tmp/easytier.sh install
systemctl disable --now [email protected]
启用 EasyTier 服务
使用 easytier 仪表板进行管理
如果你希望使用 easytier 仪表板进行管理,可以使用以下命令启用该服务:
export USER=<你的用户名>
echo "[Unit]
Description=EasyTier Service
After=network.target syslog.target
Wants=network.target
[Service]
Type=simple
ExecStart=/usr/sbin/easytier-core -w $USER
[Install]
WantedBy=multi-user.target
" | sudo tee /etc/systemd/system/easytier.service
systemctl enable --now easytier.service
然后你就可以在 https://easytier.cn/web 访问 EasyTier 仪表板了。
请注意:你需要先在 EasyTier 仪表板中注册账号再启用该功能。
手动配置
直接跟随官方文档进行配置即可。