EasyTier 异地组网

文档

树莓派

问题

  • 树莓派 RaspberryPi Debian bookworm 无法直接运行 官网下载页面 构建的二进制文件

    1. 可以运行 easytier-cli
    2. 无法运行 easytier-core
    xuxiaowei@raspberrypi:/srv$ ./easytier-linux-aarch64/easytier-cli -V
    easytier-cli 2.4.5-4c4d172e
    xuxiaowei@raspberrypi:/srv$ ./easytier-linux-aarch64/easytier-core -V
    <jemalloc>: Unsupported system page size
    <jemalloc>: Unsupported system page size
    memory allocation of 16 bytes failed
    Aborted
    xuxiaowei@raspberrypi:/srv$
    

源码编译安装

# 使用 GitHub 安装
sudo apt update
sudo curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
. "$HOME/.cargo/env"
cargo -V
sudo apt install -y llvm protobuf-compiler clang
cargo install --git https://github.com/EasyTier/EasyTier.git easytier

$HOME/.cargo/bin/easytier-cli -V
$HOME/.cargo/bin/easytier-core -V
# 使用 ghfast 安装
sudo apt update
sudo curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
. "$HOME/.cargo/env"
cargo -V
sudo apt install -y llvm protobuf-compiler clang
cargo install --git https://ghfast.top/https://github.com/EasyTier/EasyTier.git easytier

$HOME/.cargo/bin/easytier-cli -V
$HOME/.cargo/bin/easytier-core -V