一键脚本部署V2Ray+WebSocket+TLS+Nginx救活被封端口的VPS
阿里云服务器 | 腾讯云服务器 | VPS2EZ:老牌低调VPS | ZJI:香港日本美国独服 |
LOCVPS服务周到 | HostKvm低调KVM VPS | 傲游主机:优质VPS | 80VPS:老牌VPS主机 |
搬瓦工:CN2 GIA线路 | CloudCone:性价比高 | JustMySocks科学上网 | RackNerd:超级便宜 |
JustMySocks科学上网 | 好用的宝塔面板 | 购买搬瓦工VPS | 恒创:香港CN2服务器 |
一、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
一键脚本安装V2Ray+WebSocket+TLS+Nginx,救活被封端口的VPS。原作者说是救活被墙VPS,但很多网友认为,只能救活被封端口的VPS。
评论专区