Skip to content

Instantly share code, notes, and snippets.

@raytroop
Created October 13, 2024 00:47
Show Gist options
  • Save raytroop/c78ab55a43f3417ff9107865a8e8af00 to your computer and use it in GitHub Desktop.
Save raytroop/c78ab55a43f3417ff9107865a8e8af00 to your computer and use it in GitHub Desktop.
v2rayA Ubuntu24

[https://v2raya.org/docs/prologue/installation/debian/]

  1. 安装 V2RayA
sudo apt install /path/download/installer_debian_xxx_vxxx.deb ### 自行替换 deb 包所在的实际路径
  1. 下载 v2ray/xray core
pushd /tmp
wget https://github.com/v2fly/v2ray-core/releases/latest/download/v2ray-linux-64.zip
unzip v2ray-linux-64.zip -d ./v2ray
mkdir -p /usr/local/share/v2ray && cp ./v2ray/*dat /usr/local/share/v2ray
install -Dm755 ./v2ray/v2ray /usr/local/bin/v2ray
rm -rf ./v2ray v2ray-linux-64.zip
popd
  1. 启动 v2rayA / 设置 v2rayA 自动启动

启动 v2rayA

sudo systemctl start v2raya.service

设置开机自动启动

sudo systemctl enable v2raya.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment