站点图标 Linux-技术共享

多用户XRAY面板设置以及SSL自动更新(Debian11完美教程)

第一步: Debian11系统的磁盘整合代码:
resize2fs -f /dev/vda1


第二步:安装必要组件:

apt -y update && apt -y install socat dnsutils libaio1 libaio-dev build-essential manpages-dev libncurses5 zip gnupg libaio1 wget curl screen unzip vim curl xz-utils openssl gawk file rpm && screen -S setupscreen

第三步:启用BBR+FQ协议(后reboot重启)

wget -N --no-check-certificate -q -O install.sh "https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/master/install.sh" && chmod +x install.sh && bash install.sh

第四步:安装子域名申请SSL文件并自动更新:
A-acme证书申请:(证书安装必须在nginx之前,不然nginx会占用80端口,懂得关闭nginx的可以无视),可以创建一个窗口安装:  screen -S update  命令后执行:
apt -y install -y openssl cron socat curl unzip vim
下面这个申请代码已经更新,email=后面这里要输入你的一个邮箱要输入一个邮箱,否则会报错
curl https://get.acme.sh | sh -s email=admin@linuxword.com
source ~/.bashrc
.acme.sh/acme.sh --issue -d cmi.linuxword.com --standalone -k ec-256

设置对应的SSL目录权限:  chmod 777 /root/.acme.sh/cmi.linuxword.com_ecc/
#(记得cret和key要有777的权限,没有就手动添加,不然启动xray会报错23)


执行更新的命令自动:   acme.sh --upgrade --auto-upgrade

第五步:安装X-ui面板,通过一键安装脚本;
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)

登录后:启动并修改为443端口[选择保存配置,重启面板]

现在生成第一个链接设置(很重要 ):

第六步:选择安装TeleGram的MTP协议;


MTP电报代理协议;
mkdir /home/mtproxy && cd /home/mtproxy && curl -s -o mtproxy.sh https://raw.githubusercontent.com/ellermister/mtproxy/master/mtproxy.sh && chmod +x mtproxy.sh && bash mtproxy.sh && bash /home/mtproxy/mtproxy.sh restart

每一次重启服务器执行: bash /home/mtproxy/mtproxy.sh restart

第七步:选择安装Smartping的监控页面:


网络质量检测代码:
mkdir /home/smartping && cd /home/smartping && wget https://github.com/smartping/smartping/releases/download/v0.8.0/smartping-v0.8.0.tar.gz && tar zxvf smartping-v0.8.0.tar.gz && ./control start && bash /home/smartping/control restart

每一次重启服务器执行: bash /home/smartping/control restart

常用软件下载地址:
Windows电脑版本下载: v2rayN 下载地址: https://linuxword.com/wp-content/uploads/2022/04/v2rayN.zip
Android(安卓手机)V2RAYN.APK下载地址: v2rayNG 地址: https://linuxword.com/wp-content/uploads/2022/04/V2rayNG.apk
Windows7激活工具: https://linuxword.com/wp-content/uploads/2022/01/KMSpico.exe
运行库下载:https://linuxword.com/wp-content/uploads/2022/01/windell.exe
GooGleChrome下载:https://linuxword.com/wp-content/uploads/2022/01/GooGleChrome.exe
Microsoft .net framework4.0下载:https://linuxword.com/wp-content/uploads/2022/01/dotNetFx40_Full_x86_x64.exe
Windows10激活工具:https://linuxword.com/wp-content/uploads/2021/11/DigitalLicense.zip
WinSCP绿色软件下载点击此处:https://linuxword.com/wp-content/uploads/2021/11/WinSCP.zip
Xshell绿色破解版下载点击此处:https://linuxword.com/wp-content/uploads/2021/11/Xshell.zip
Disney+的安卓APP下载地址: https://linuxword.com/wp-content/uploads/2022/AppStore/Disney+.apk
GooGle的安卓APP下载地址: https://linuxword.com/wp-content/uploads/2022/AppStore/Google.apk
GooGleVoice的安卓APP下载地址: https://linuxword.com/wp-content/uploads/2022/AppStore/GoogleVoice.apk
Netflix的安卓APP下载地址: https://linuxword.com/wp-content/uploads/2022/AppStore/Netflix.apk
TeleGram的安卓APP下载地址: https://linuxword.com/wp-content/uploads/2022/AppStore/Telegram.apk
Twitter的安卓APP下载地址: https://linuxword.com/wp-content/uploads/2022/AppStore/Twitter.apk
Youtube的安卓APP下载地址: https://linuxword.com/wp-content/uploads/2022/AppStore/Youtube.apk

退出移动版