how to install v2ray
For Linux
First, run the command blow as root
bash <(curl -L -s https://install.direct/go.sh)
Second, use get v2ray-config file online to create your own config.json
file
config.json
file path :/etc/v2ray/config.json
Third, run the command to start v2ray as below
v2ray --config=/etc/v2ray/config.json
note: if you get error message as below
bash: v2ray command not found
you can use
find
command to find the v2ray file path as belowfind / -name v2ray
maybe you can use
/usr/bin/v2ray/v2ray --config=/etc/v2ray/config.json
btw, you can use below command to start v2ray as service
sudo systemctl start v2ray