今天无意看到一个脚本感觉不错,特此写篇文章与大家共享,Linux reinstall 将为您提供一个干净,安全,官方的Linux系统,并帮助您摆脱服务器提供商的监视,像国内某某云与某云,都有内置系统监控,你干啥都被他看着,像这种情况此脚本的优点就体现出来了,可以一键dd一个官方纯净版好用舒心。好了废话不多说上链接了!
官方地址:https://github.com/leitbogioro/Tools
使用方法:
第一步根据自己系统执行下面脚本也就是更新系统安装必要组件
Debian 系列(Debian / Ubuntu)
apt update -y
apt install wget -y
Redhat系列(CentOS / AlmaLinux / RockyLinux / OracleLinux / Fedora / VzLinux)
yum update --allowerasing -y
yum install wget -y
第二步脚本拉取重装
1.通用一键脚本拉取
wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh
2.国内镜像脚本拉取
wget --no-check-certificate -qO InstallNET.sh 'https://gitee.com/mb9e8j2/Tools/raw/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh
第三步快速安装系统需要哪个执行哪个即可!
Debian 12系统
bash InstallNET.sh -debian
Ubuntu 22.04
bash InstallNET.sh -ubuntu
Windows 11 Pro for Workstations
bash InstallNET.sh -windows
CentOS 9 stream
bash InstallNET.sh -centos
执行完根据提示重启即可开始自动dd新系统,稍等五分钟十分钟一般即可完毕!如果需要更多,请查看作者官方地址介绍,上面显示了一些热门dd系统!