全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 4937|回复: 22

[疑问] 一键脚本安装V2Ray+WebSocket+TLS+Nginx救活被墙VPS

  [复制链接]
发表于 2020-2-19 17:54:49 | 显示全部楼层 |阅读模式
一、BBR一键安装:

1、BBR一键安装代码:
wget --no-check-certificate https://raw.githubusercontent.com/cx9208/Linux-NetSpeed/master/tcp.sh && chmod +x tcp.sh && ./tcp.sh

>>>若报错运行以下代码,不报错跳过:
debian 或 ubuntu : sudo apt-get install wget
centos :
yum -y install wget
rm -f /var/run/yum.pid

3、重新打开脚本,查看是否运行成功:
./tcp.sh

二、一键脚本安装V2Ray+WebSocket+TLS+Nginx

两个安装方式(不兼容,二选一)推荐2

1.Vmess+websocket+TLS+Nginx+Website:
bash <(curl -L -s https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/master/install.sh) | tee v2ray_ins.log

2.Vmess + HTTP2 over TLS:
bash <(curl -L -s https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/master/install_h2.sh) | tee v2ray_ins_h2.log

如果提示 curl: command not found ,那是因为你的小鸡没装 Curl
ubuntu/debian 系统安装 Curl 方法: apt-get update -y && apt-get install curl -y
centos 系统安装 Curl 方法: yum update -y && yum install curl -y
安装好 curl 之后就能安装脚本了

三、脚本启动方式

启动 V2ray:systemctl start v2ray

停止 V2ray:systemctl stop v2ray

启动 Nginx:systemctl start nginx

停止 Nginx:systemctl stop nginx

四、脚本相关目录

Web 目录:/home/wwwroot/levis

V2ray 服务端配置:/etc/v2ray/config.json

V2ray 客户端配置: 执行安装时所在目录下的 v2ray_info.txt

Nginx 目录: /etc/nginx

证书目录: /data/v2ray.key 和 /data/v2ray.crt
发表于 2020-2-19 17:56:25 | 显示全部楼层
这种没营养的一搜一大把,内容都一模一样
发表于 2020-2-19 18:24:28 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2020-2-19 17:58:37 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2020-2-19 18:05:33 来自手机 | 显示全部楼层
这种一搜一大把
发表于 2020-2-19 18:10:28 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
 楼主| 发表于 2020-2-19 18:21:40 | 显示全部楼层
kzklot 发表于 2020-2-19 17:58
GG VPS.....也能救活....你也太神化了吧.....

GG 就是 GG...

我的三个全部活了,Vmess + HTTP2
 楼主| 发表于 2020-2-19 18:22:44 | 显示全部楼层
admin@mdzz.plus 发表于 2020-2-19 18:10
这能救活? 送上救护车就不管了?

死马当活马医,我的是救活了Vmess + HTTP2
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-5-5 19:02 , Processed in 0.065667 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表