搭个基于linux的v2.ray服务器

 

下载执行脚本

bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2.ray/master/install-release.sh)

 

执行服务端

systemctl enable v2.ray; systemctl start v2.ray

 

调整配置文件

cat /usr/local/etc/v2.ray/config.json

 

最后用命令行启动,由于这个 v2.ray 是个前台程序,远程链接了之后,如果链接断开,程序就退出,所以需要用特殊的方法让程序在后台启动

nohup v2.ray restart > run.log 2>&1 &

 

posted @ 2021-01-29 10:43  穷到底  阅读(783)  评论(0)    收藏  举报