v2fly / fhs-install-v2ray

Bash script for installing V2Ray in operating systems such as Debian / CentOS / Fedora / openSUSE that support systemd
GNU General Public License v3.0
6.13k stars 1.43k forks source link

安装fhs-install-v2ray后,找不到配置文件 #299

Open ZhiboWong opened 2 months ago

ZhiboWong commented 2 months ago

CentOS 7, [root@iZ2ze0adjult3m3h0zfmg4Z ~]# find -name "v2ray" [root@iZ2ze0adjult3m3h0zfmg4Z ~]# find -name "config.json" 找不到配置文件,也没有相关路径。但是我确定已经装上了v2ray。 [root@iZ2ze0adjult3m3h0zfmg4Z etc]# v2ray -h 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 " for more information about a command.

Additional help topics:

    config-merge  config merge logic
    format-loader config formats and loading

Use "v2ray help " for more information about that topic.

PyesGO commented 1 month ago

配置文件的默认路径在/usr/local/etc/v2ray/config.json

PyesGO commented 1 month ago

你直接在root的家目录find肯定find不到滴,find / -name "config.json" 就没问题了。