在Ubuntu上安装v2rayA

安装v2rayA
参照v2rayA在Debian / Ubuntu上的安装教程。教程中的Method 1是无效的(本博客发布时),它提供的apt source过期。
使用Method 2安装v2rayA,使用v2rayA的预编译文件。.deb预编译文件在v2raya-apt库(源文件库v2ray-core只有zip分发,需要解压)。
安装v2ray-core
参考v2rayA · Discussion #1453安装v2ray-core。使用的是v2ray-core的releases。
本节的代码需要在root权限下执行:使用su root或sudo bash。
下载地理信息文件。
1 | cd /etc/v2raya/ |
安装v2ray-core。注意需要根据架构修改文件名,这里使用的是
arm64架构。1 | mkdir v2ray |
为v2rayA配置文件添加v2ray-core的路径。
1 | mkdir -p /etc/v2raya |
然后重启v2rayA服务。
1 | systemctl restart v2raya |
脚本式安装
我把上面的安装过程整理成了bash shell脚本。直接获取并执行:
1 | curl -fSsL https://gist.githubusercontent.com/recynie/6839f0055327316f67a3c89fbe9e5381/raw/c989e8367f75f9dc9eb804db65d9fcb3a39461d6/install_v2raya_arm64.sh | bash |
- Title: 在Ubuntu上安装v2rayA
- Author: Aroma
- Created at : 2026-02-18 00:00:00
- Updated at : 2026-02-18 00:00:00
- Link: https://recynie.github.io/2026-02-18/install-v2raya-on-ubuntu/
- License: This work is licensed under CC BY-NC-SA 4.0.