解决本地编译网络问题,如果有软路由就不需要搭了

v2rayA官方文档

一、软件源安装

  • 添加公钥

wget -qO - https://apt.v2raya.org/key/public-key.asc | sudo tee /etc/apt/keyrings/v2raya.asc
  • 添加软件源并更新

echo "deb [signed-by=/etc/apt/keyrings/v2raya.asc] https://apt.v2raya.org/ v2raya main" | sudo tee /etc/apt/sources.list.d/v2raya.list
sudo apt update
  • 安装V2aryA和xray

sudo apt install v2raya v2ray

二、手动安装

  1. V2aryA的deb包:Github

  2. V2Ray / Xray 的 deb 包:Github

  • 安装软件包

sudo dpkg -i installer_debian_x64_2.2.5.8.deb v2ray_5.16.1_amd64.deb      #自行修改版本
  • 设置开机自启动

# 启动 v2rayA
sudo systemctl start v2raya.service
# 设置开机自动启动
sudo systemctl enable v2raya.service