Tools

重装系统

如果不满意商家提供的模板系统,完全可以自己用脚本重装。
我写的 Debian 系统自动重装脚本,目前仅支持 X86 64Bit 平台,并且源系统需为 Debian 或者 Ubuntu,脚本首先 DHCP获取 IP,不行的情况下会设定静态 IPV4,而且会扔掉 IPV6。
Terminal
# 交互式脚本,目前支持主机名、SSH端口、Root密码和BBR设定。
apt update
apt install curl wget net-tools -y
bash <(curl -sL https://github.com/bihell/debian-dd/raw/main/debian-dd)
备用方式,如果我自己写的 DD 脚本安装失败,我会采用该脚本。直接暴力修改的 Tools 项目的脚本,默认安装 Debian、启用 BBR、随机密码和一些软件。
Terminal
wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/bihell/ReInstall-Linux/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh
bash InstallNET.sh -hostname "digital-review"
OpenVZ/LXC 系统重装脚本
Terminal
wget -qO OsMutation.sh https://raw.githubusercontent.com/LloydAsp/OsMutation/main/OsMutation.sh && chmod u+x OsMutation.sh && ./OsMutation.sh

Copyright © 2024