github地址

Centos7:

wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh'  \
&& chmod a+x InstallNET.sh && bash InstallNET.sh -centos 7 -pwd '密码'

Debian12:

wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' \
&& chmod a+x InstallNET.sh && bash InstallNET.sh -debian 12 -pwd '密码'

Ubuntu 22.04:

ps:ubuntu不支持自定义密码

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

Windows11:

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

重点:

默认用户名:
对于 Linux:root
对于 Windows:Administrator

默认密码:
对于 Linux:LeitboGi0ro
对于 Windows:Teddysun.com

修改密码:

echo root:password|sudo chpasswd root

image.png