“V2Fly 客户端安装”的版本间的差异
跳到导航
跳到搜索
Jihongchang(讨论 | 贡献) |
Jihongchang(讨论 | 贡献) |
||
第3行: | 第3行: | ||
+ | |||
+ | === 查看版本 === | ||
+ | <syntaxhighlight lang="shell-session"> | ||
+ | [root@your-vps ~]# v2ray version | ||
+ | V2Ray 5.2.1 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.19.4 linux/amd64) | ||
+ | A unified platform for anti-censorship. | ||
+ | </syntaxhighlight> | ||
=== 查看命令行帮助 === | === 查看命令行帮助 === |
2023年2月7日 (二) 10:26的版本
参考
https://guide.v2fly.org/prep/install.html#%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%AE%89%E8%A3%85
查看版本
[root@your-vps ~]# v2ray version
V2Ray 5.2.1 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.19.4 linux/amd64)
A unified platform for anti-censorship.
查看命令行帮助
[root@your-vps v2ray]# v2ray help
A unified platform for anti-censorship.
Usage:
v2ray <command> [arguments]
The commands are:
run run V2Ray with config
api call V2Ray API
convert convert config files
test test config files
tls TLS tools
uuid generate new UUID
verify verify if a binary is officially signed
version print V2Ray version
Use "v2ray help <command>" for more information about a command.
Additional help topics:
config-merge config merge logic
format-loader config formats and loading
Use "v2ray help <topic>" for more information about that topic.
[root@your-vps v2ray]#
验证配置文件是否正确
[root@your-vps v2ray]# v2ray test -c /usr/local/etc/v2ray/config.json
V2Ray 5.2.1 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.19.4 linux/amd64)
A unified platform for anti-censorship.
Test failed: main/commands: failed to load config: [/usr/local/etc/v2ray/config.json] > infra/conf/serial: failed to read config file at line 25 char 21 > invalid character '}' looking for beginning of object key string
下载
无 UI 客户端
https://github.com/v2fly/v2ray-core/releases
需手工配置浏览器代理
带 UI 客户端
https://github.com/2dust/v2rayN/releases
UUID 生成器
https://www.v2fly.org/awesome/tools.html
生成用户 ID 用得到