欢迎光临
我们一直在努力

V2ray 官方新版一键安装脚本

V2ray 官方安装脚本
安裝和更新 V2Ray

apt-get install -y curl bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)

安裝最新發行的 geoip.dat 和 geosite.dat

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

移除 V2Ray

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

配置文件模板

该脚本在运行时会提供 info 和 error 等信息,请仔细阅读。

V2Ray 控制命令:

service v2ray restart | force-reload |start|stop|status|reload

测试V2Ray配置文件:

/usr/local/bin/v2ray -test -config /usr/local/etc/v2ray/config.json

启动服务

systemctl start v2ray

设置开机启动

systemctl enable v2ray

项目地址:https://github.com/v2fly/fhs-install-v2ray

窗外天空
关注公众号『窗外天空』

获取更多建站运营运维新知!
互联网创业、前沿技术......

赞(0) 打赏
文章名称:《V2ray 官方新版一键安装脚本》
文章链接:https://www.nixonli.com/23454.html
本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续给力更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫打赏

微信扫一扫打赏