-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
v2ctl 没被安装 #288
Comments
补充说明: 在同一台机器中使用find命令,能够成功找到v2ray, 但是依旧无法找到v2ctl |
Linux16.04,手动下载[v2ray-linux-64.zip]上传至服务器,执行install-release.sh后,也是少了v2ctl文件,导入配置文件还是连不上网络,不知道是不是这个文件引起的问题 |
遇到了同样的问题,看了一下安装的脚本,脚本341行会检测v2ctl文件是否存在然后再决定是否安装v2ctl。下载的zip文件解压后根本没有v2ctl,所以没有安装v2ctl。 |
仔细看了一下,v2ctl的命令好像都已经整合到v2ray里面去了 |
有后续吗 |
安装环境是ubuntu 18.04, 使用脚本安装没有做任何自定义修改。
安装过程如下: (.sh脚本事先通过本地下载然后SFTP上传到linux机器内的)
minalinsky@tizijp-tls-web:~$ sudo bash install-release.sh
info: Installing V2Ray v5.7.0 for x86_64
Downloading V2Ray archive: https://github.com/v2fly/v2ray-core/releases/download/v5.7.0/v2ray-linux-64.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 11.4M 100 11.4M 0 0 11.4M 0 --:--:-- --:--:-- --:--:-- 28.6M
Downloading verification file for V2Ray archive: https://github.com/v2fly/v2ray-core/releases/download/v5.7.0/v2ray-linux-64.zip.dgst
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
zip
The following NEW packages will be installed:
unzip
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 168 kB of archives.
After this operation, 593 kB of additional disk space will be used.
Get:1 http://azure.archive.ubuntu.com/ubuntu focal-updates/main amd64 unzip amd64 6.0-25ubuntu1.1 [168 kB]
Fetched 168 kB in 0s (6033 kB/s)
Selecting previously unselected package unzip.
(Reading database ... 58839 files and directories currently installed.)
Preparing to unpack .../unzip_6.0-25ubuntu1.1_amd64.deb ...
Unpacking unzip (6.0-25ubuntu1.1) ...
Setting up unzip (6.0-25ubuntu1.1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
info: unzip is installed.
info: Extract the V2Ray package to /tmp/tmp.g8TrfuysLD and prepare it for installation.
info: Systemd service files have been installed successfully!
warning: The following are the actual parameters for the v2ray service startup.
warning: Please make sure the configuration file path is correctly set.
/etc/systemd/system/v2ray.service
[Unit]
Description=V2Ray Service
Documentation=https://www.v2fly.org/
After=network.target nss-lookup.target
[Service]
User=nobody
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
NoNewPrivileges=true
ExecStart=/usr/local/bin/v2ray run -config /usr/local/etc/v2ray/config.json
Restart=on-failure
RestartPreventExitStatus=23
[Install]
WantedBy=multi-user.target
/etc/systemd/system/v2ray.service.d/10-donot_touch_single_conf.conf
In case you have a good reason to do so, duplicate this file in the same directory and make your customizes there.
Or all changes you made will be lost! # Refer: https://www.freedesktop.org/software/systemd/man/systemd.unit.html
[Service]
ExecStart=
ExecStart=/usr/local/bin/v2ray run -config /usr/local/etc/v2ray/config.json
installed: /usr/local/bin/v2ray
installed: /usr/local/share/v2ray/geoip.dat
installed: /usr/local/share/v2ray/geosite.dat
installed: /usr/local/etc/v2ray/config.json
installed: /var/log/v2ray/
installed: /var/log/v2ray/access.log
installed: /var/log/v2ray/error.log
installed: /etc/systemd/system/v2ray.service
installed: /etc/systemd/system/v2ray@.service
removed: /tmp/tmp.g8TrfuysLD
info: V2Ray v5.7.0 is installed.
You may need to execute a command to remove dependent software: apt purge curl unzip
Please execute the command: systemctl enable v2ray; systemctl start v2ray
安装成功,但是installed部分并没有文档中的 /usr/local/bin/v2ctl?
The text was updated successfully, but these errors were encountered: