V2Ray 入门

Ubuntu

配置文件目录

1
/usr/local/etc/v2ray/config.json

systemctl enable v2ray; systemctl start v2ray

MacOS

通过 Homebrew (opens new window)包管理器安装:brew install v2ray,随命令一起下载的 geosite.dat 和 geoip.dat 放置在 /usr/local/share/v2ray/ 目录下

vim /usr/local/etc/v2ray/config.json

run v2ray-core without starting at login

1
brew services run v2ray-core

run v2ray-core and register it to launch at login via:

1
brew services start v2ray-core

重启

1
brew services restart v2ray
Licensed under CC BY-NC-SA 4.0
comments powered by Disqus