01
2022
12

免流搭建

免流服务XUI搭建教程

https://www.youtube.com/watch?v=zRLUh0QFH3Q

https://www.youtube.com/watch?v=RphjBxplQPo

https://github.com/vaxilu/x-ui

v2搭建教程(2)(1).docx

安装更新运行环境

Debian/Ubuntu系统执行以下命令:
apt update -y && apt install -y curl && apt install -y socat

CentOS系统执行以下命令:
yum update -y && yum update -y && yum install -y socat

##BBR2加速##
wget --no-check-certificate -q -O bbr2.sh "https://github.com/yeyingorg/bbr2.sh/raw/master/bbr2.sh" && chmod +x bbr2.sh && bash bbr2.sh auto

安装&升级x-ui面板一键脚本
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)

运行Acme脚本
curl https://get.acme.sh | sh

申请证书及密钥
PS:修改代码中注释的域名,改为你自己的域名
~/.acme.sh/acme.sh --register-account -m xxxx@gmail.com
~/.acme.sh/acme.sh  --issue -d 你的域名   --standalone

下载证书及密钥
~/.acme.sh/acme.sh --installcert -d 你的域名 --key-file /root/private.key --fullchain-file /root/cert.crt

代码GitHub:https://github.com/KEJIXIAOLU/dajian


« 上一篇 下一篇 »