“V2Fly 客户端安装”的版本间的差异

来自姬鸿昌的知识库
跳到导航 跳到搜索
 
(未显示同一用户的5个中间版本)
第2行: 第2行:
 
https://guide.v2fly.org/prep/install.html#%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%AE%89%E8%A3%85
 
https://guide.v2fly.org/prep/install.html#%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%AE%89%E8%A3%85
  
=== 查看命令行帮助 ===
+
=== 验证配置文件是否正确 ===
 
<syntaxhighlight lang="shell-session">
 
<syntaxhighlight lang="shell-session">
[root@your-vps v2ray]# v2ray help
+
[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.
 
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
 +
</syntaxhighlight>
  
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]#
 
 
</syntaxhighlight>
 
  
  

2023年2月7日 (二) 10:28的最新版本

参考

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]# 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 用得到