linuxVPS(Debian 12)新机常用脚本系列

一键DD系统脚本

curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh && bash reinstall.sh debian 12 --password PASSWORD --ssh - port PORT

修改PASSWORD、PORT为自己的root密码和端口号。
项目地址https://github.com/bin456789/reinstall

一键Google Authenticator 二步验证器登录

curl -sSL https://raw.githubusercontent.com/vuens/sh/main/dg2fa.sh -o dg2fa.sh; chmod +x dg2fa.sh; ./dg2fa.sh

功能:

  • 更改主机名,方便记忆
  • 更新系统时间为上海
  • 安装配置Google Authenticator
  • 修改ssh相关配置
  • 卸载功能

项目地址:https://github.com/vuens/sh

BBR管理脚本

将Linux现常用的网络加速集成在一起,一键安装常见/最新内核脚本 锐速/BBRPLUS/BBR2,可选卸载内核或不卸载内核版本。

wget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh

项目地址:https://github.com/ylx2016/Linux-NetSpeed/

BBR3脚本

curl -l -s https://raw.githubusercontent.com/byJoey/Actions-bbr-v3/refs/heads/main/install.sh -o bbr3.sh && chmod +x bbr3.sh &&./bbr3.sh

项目地址:https://github.com/byJoey/Actions-bbr-v3

一键修复脚本

  • 一键尝试修复apt源
  • 一键尝试修复系统时间
  • 一键尝试修复sudo警告
  • 一键修改系统自带的journal日志记录大小释放系统盘空间
  • 一键尝试修复网络
  • 一键给纯IPV6服务器添加最优的nat64网络
  • 一键解除进程数限制

项目地址:https://github.com/spiritLHLS/one-click-installation-script/

如果觉得我的文章对你有用,请随意赞赏