Skip to content

Instantly share code, notes, and snippets.

@AGou-ops
Created December 15, 2021 10:09
Show Gist options
  • Save AGou-ops/5038e0b947fb077f67293cdaabd435ed to your computer and use it in GitHub Desktop.
Save AGou-ops/5038e0b947fb077f67293cdaabd435ed to your computer and use it in GitHub Desktop.
# 重装系统至Debian11
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 11 -v 64 -p "密码" -port "端口"
wget -N --no-check-certificate "https://github.000060000.xyz/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh
apt install wget -y
# 模式选择11即可,然后重启reboot
# bbr优化脚本
bash <(curl -Ls https://github.com/lanziii/bbr-/releases/download/123/tools.sh)
# 运行两次,第一次选2,第二次选3
# 安装x-ui
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)
# 安装socat
apt update -y
apt install -y curl
apt install -y socat
# 安装acme
curl https://get.acme.sh | sh
# 申请证书
~/.acme.sh/acme.sh --register-account -m 你的邮箱 # 邮箱随便起
~/.acme.sh/acme.sh --issue -d 你的域名 --standalone
# 修改证书安装位置
~/.acme.sh/acme.sh --installcert -d 你的域名 --key-file /root/private.key --fullchain-file /root/cert.crt
# 在x-ui中填写文件路径即可
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment