洋芋笔记

v2ray/xray安装及其他命令

v2ray官方一键脚本

https://github.com/v2fly/fhs-install-v2ray

xray官方一键脚本

https://github.com/XTLS/Xray-install

配置文件地址

v2ray or xray

/usr/local/etc/xray

其他命令

暂时关闭 Xray 的服务,那就用stop命令

sudo systemctl stop xray

重启Xray的服务,那就用restart命令

sudo systemctl restart xray

禁用Xray的服务(电脑重启后禁止 Xray 自动运行),那就用disable命令

sudo systemctl disable xray

启用Xray的服务(电脑重启后确保 Xray 自动运行),那就用enable命令

sudo systemctl enable xray

#xray #v2ray