全球主机交流论坛

标题: 一键脚本安装V2Ray+WebSocket+TLS+Nginx救活被墙VPS [打印本页]

作者: dnser    时间: 2020-2-19 17:54
标题: 一键脚本安装V2Ray+WebSocket+TLS+Nginx救活被墙VPS
一、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
作者: robot    时间: 2020-2-19 17:56
这种没营养的一搜一大把,内容都一模一样
作者: kzklot    时间: 2020-2-19 17:58
提示: 作者被禁止或删除 内容自动屏蔽
作者: ficefox    时间: 2020-2-19 18:00
提示: 作者被禁止或删除 内容自动屏蔽
作者: ruans    时间: 2020-2-19 18:05
这种一搜一大把
作者: Qiyan    时间: 2020-2-19 18:06
太水了
作者: [email protected]    时间: 2020-2-19 18:10
提示: 作者被禁止或删除 内容自动屏蔽
作者: dnser    时间: 2020-2-19 18:21
kzklot 发表于 2020-2-19 17:58
GG VPS.....也能救活....你也太神化了吧.....

GG 就是 GG...

我的三个全部活了,Vmess + HTTP2
作者: dnser    时间: 2020-2-19 18:22
[email protected] 发表于 2020-2-19 18:10
这能救活? 送上救护车就不管了?

死马当活马医,我的是救活了Vmess + HTTP2

作者: kzklot    时间: 2020-2-19 18:24
提示: 作者被禁止或删除 内容自动屏蔽
作者: 夢見りあむ    时间: 2020-2-19 18:37
這怎麼能救。。。cf都不套
作者: yunlikanwu    时间: 2020-2-19 19:36
自己搭也不是很难

作者: 张小龙    时间: 2020-2-19 19:44
我的小鸡ssh都连不上了,怎么救?
作者: yusufuw    时间: 2020-2-19 20:01
赞同11L 感觉LZ其实也不懂原理
作者: jasonskycom    时间: 2020-2-19 20:50
root@debian:~# bash <(curl -L -s https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/master/install_h2.sh) | tee v2ray_ins_h2.log
/dev/fd/63: line 1: 404:: command not found

作者: 泰阳    时间: 2020-2-19 20:59
救活? 死人能救活? 除非假死
作者: jasonskycom    时间: 2020-2-19 21:07
修改这个才可以使用
bash <(curl -L -s https://raw.githubusercontent.com/mikewubox/V2Ray_ws-tls_bash_onekey/master/install_h2.sh) | tee v2ray_ins_h2.log

作者: OKCup    时间: 2020-2-20 01:18
不套cdn怎么救
作者: 凸逼男勃丸    时间: 2020-2-21 09:27
提示: 作者被禁止或删除 内容自动屏蔽
作者: ccuu    时间: 2020-2-21 10:06
哈哈,楼主飞起~~~~~自己折腾更有意思一点。
作者: try_go    时间: 2020-2-21 10:21
好东西,收藏一下
作者: 生蚝QAQ    时间: 2020-3-17 17:42
mkyxia紫薯布丁
作者: 脆弱的蜗牛    时间: 2020-3-17 17:45
ip被墙,没有套cf(cdn),你咋救活的?




欢迎光临 全球主机交流论坛 (https://lilynana.eu.org/) Powered by Discuz! X3.4