尝试在Oracle上装LCMP (Linux + Caddy + MariaDB + PHP) ,折腾Ubuntu许久无果,外加物理内存过小,就想着DD成debian啦。 原Ubuntu系统中安装wget组件,适用Debian系列(Debian/Kali/Ubuntu):

apt update
apt install wget -y

下载脚本:

wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh

运行DD脚本,示意:DD为debian 12系统,ssh密码设置为xiaoge.org ,ssh端口改为 45622 ,使用bbr+fq,从韩国镜像拉取:

bash InstallNET.sh -debian 12 -mirror "http://ftp.kaist.ac.kr/debian/" -pwd 'xiaoge.org' -port "45622" --bbr

脚本格式,也可以添加其它参数 如raid、bbr、硬盘格式等等,详情看  介绍文档

bash InstallNET.sh -系统版本 -项目 "数值"

完成后按提示,运行 reboot 重启系统即可 (首次启动会比较慢)。

该脚本已经成功在DMIT、搬瓦工、斯巴达、甲骨文、NC、RN等vps上完成DD;

项目地址:  https://www.nodeseek.com/post-9383-1

 https://github.com/leitbogioro/Tools

摘自:  自用DD 纯净Linux系统脚本分享 - 小鸽志