目 录CONTENT

文章目录

魔法Xui

Josue
2022-03-12 / 0 评论 / 0 点赞 / 298 阅读 / 392 字 / 正在检测是否收录...
温馨提示:
本文最后更新于 2023-05-12,若内容或图片失效,请留言反馈。部分素材来自网络,若不小心影响到您的利益,请联系我们删除。

1、更新及安装组件

apt update -y          # Debian/Ubuntu 命令
apt install -y curl    #Debian/Ubuntu 命令
apt install -y socat    #Debian/Ubuntu 命令

yum update -y          #CentOS 命令
yum install -y curl    #CentOS 命令
yum install -y socat    #CentOS 命令

2、安装 Acme 脚本

方式一、

curl https://get.acme.sh | sh 

提示openssl则安装openssl:yum -y install openssl

方式二、

curl https://get.acme.sh | sh -s [email protected]
#wget -O - https://get.acme.sh | sh -s [email protected]

方式三、

git clone https://github.com/acmesh-official/acme.sh.git
cd ./acme.sh 
./acme.sh --install -m [email protected]

需要注意文件目录位置是否一致

3、申请证书及密钥

~/.acme.sh/acme.sh --register-account -m [email protected]【注册邮箱】

~/.acme.sh/acme.sh  --issue -d xswl.gay【域名】   --standalone

#注意域名转发ddns+服务器端口80是否开启

4、下载证书及密钥

~/.acme.sh/acme.sh --installcert -d xswl.gay【域名】 --key-file /root/private.key --fullchain-file /root/cert.crt

5、安装&升级x-ui面板一键脚本

#最新集成分流
wget -N https://gitlab.com/rwkgyg/x-ui-yg/raw/main/install.sh && bash install.sh

bash <(curl -Ls https://gitlab.com/rwkgyg/x-ui-yg/raw/main/install.sh)
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)

6、四合一 BBR Plus / 原版BBR / 魔改BBR (推荐)

#Debian
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
#Centos 7, Debian 8/9, Ubuntu 16/18 测试通过, 不支持 OVZ
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
0

评论区