/Xray-TLS-Web-setup-script

(Xray-TCP+XTLS)+(Xray-WebSocket+TLS)+Web 搭建/管理脚本

Primary LanguageShell

Xray-TLS+Web搭建/管理脚本

脚本特性

1.支持 (Xray-TCP+XTLS) + (Xray-WebSocket+TLS) + Web

2.集成 多版本bbr/锐速 安装选项

3.支持多种系统 (Ubuntu CentOS Debian deepin fedora ...)

4.支持多种指令集 (x86 x86_64 arm64 ...)

5.集成删除阿里云盾和腾讯云盾功能 (仅对阿里云和腾讯云服务器有效)

6.使用nginx作为网站服务

7.使用Xray作为前置分流器

8.使用acme.sh自动申请域名证书

9.自动更新域名证书

注意事项

1.此脚本需要一个解析到服务器的域名 (支持cdn)

2.有些服务器443端口被阻断,使用这个脚本搭建的无法连接

3.在不同的ssh连接工具上文字的颜色显示不一样,有的看起来非常奇怪,还请谅解 (本人使用的是xshell)

脚本使用说明

1. 安装wget

Debian基系统(包括Ubuntu、Debian、deepin):

[[ "$(type -P wget)" ]] || apt -y install wget || (apt update && apt -y install wget)

Red Hat基系统(包括CentOS、fedora):

[[ "$(type -P wget)" ]] || dnf -y install wget || yum -y install wget

2. 获取/更新脚本

wget -O Xray-TLS+Web-setup.sh --no-check-certificate https://github.com/kirin10000/Xray-TLS-Web-setup-script/raw/main/Xray-TLS+Web-setup.sh

3. 增加脚本可执行权限

chmod +x Xray-TLS+Web-setup.sh

4. 执行脚本

./Xray-TLS+Web-setup.sh

5. 根据脚本提示完成安装

运行截图

1.本文链接(官网):https://github.com/kirin10000/Xray-TLS-Web-setup-script

2.参考教程:https://www.v2fly.org/config/overview.html https://guide.v2fly.org/

3.域名证书申请:https://github.com/acmesh-official/acme.sh

4.bbr脚本来自:https://github.com/teddysun/across/blob/master/bbr.sh

5.bbr2脚本来自:https://github.com/yeyingorg/bbr2.sh (Ubuntu Debian) https://github.com/jackjieYYY/bbr2 (CentOS)

6.bbrplus脚本来自:https://github.com/chiakge/Linux-NetSpeed

7.此脚本仅供交流学习使用,请勿使用此脚本行违法之事。网络非法外之地,行非法之事,必将接受法律制裁!!