Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2ray官方一键安装脚本出错 #838

Open
J-You opened this issue Oct 21, 2023 · 8 comments
Open

v2ray官方一键安装脚本出错 #838

J-You opened this issue Oct 21, 2023 · 8 comments

Comments

@J-You
Copy link

J-You commented Oct 21, 2023

自建shadowsocks,执行命令:
apt-get install -y curl
bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)
提示两个都已成功安装:

root@vultr:/# apt-get install -y curl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
curl is already the newest version (7.64.0-4+deb10u7).
0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
root@vultr:/# bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 22454  100 22454    0     0  1370k      0 --:--:-- --:--:-- --:--:-- 1370k
info: No new version. The current version of V2Ray is v5.7.0 .

但是在etc目录下没有v2ray文件夹,/usr/local/bin/下也没有可执行程序。请问改怎么解决?

@J-You
Copy link
Author

J-You commented Oct 21, 2023

/usr/local/etc/v2ray 麻烦更新

@J-You
Copy link
Author

J-You commented Oct 21, 2023

/usr/local/bin/v2ray

@J-You
Copy link
Author

J-You commented Oct 21, 2023

是的 新版本v2ray的bin程序和配置文件位置都更新了,麻烦更新下哈

@bannedbook
Copy link
Owner

我试了一下,没错啊
/usr/local/bin/v2ray
/usr/local/etc/v2ray/config.json

@J-You
Copy link
Author

J-You commented Oct 21, 2023

抱歉 我一开始没有注意到‘/usr/local’

麻烦再看一下这个报错,提示没有test flag

root@vultr:/usr/local/etc/v2ray# ls
config.json
root@vultr:/usr/local/etc/v2ray# v2ray -test -config config.json
flag provided but not defined: -test
Usage of v2ray:

@bannedbook
Copy link
Owner

你看的是哪个教程
不是当前的版本的教程啊

@J-You
Copy link
Author

J-You commented Oct 21, 2023

hello 请问config.json具体如何配置呢,我需要修改哪些参数呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants