发新话题
打印

[Linux] 一键网络重装Linux与Windows系统

本主题由 3sv 于 2019-7-4 02:38 PM 分类 本主题被作者加入到个人文集中

一键网络重装Linux与Windows系统

安装编译依赖库
RedHat/CentOS
代码:
yum install -y xz openssl gawk file
Debian/Ubuntu:
代码:
apt-get install -y xz-utils openssl gawk file
下载脚本
代码:
wget --no-check-certificate -qO ~/Network-Reinstall-System-Modify.sh 'https://raw.githubusercontent.com/MeowLove/Network-Reinstall-System-Modify/master/Network-Reinstall-System-Modify.sh' && chmod a+x ~/Network-Reinstall-System-Modify.sh
一键安装系统,以下任选其一
代码:
bash ~/Network-Reinstall-System-Modify.sh -CentOS_7
bash ~/Network-Reinstall-System-Modify.sh -CentOS_6
bash ~/Network-Reinstall-System-Modify.sh -Debian_9
bash ~/Network-Reinstall-System-Modify.sh -Debian_8
bash ~/Network-Reinstall-System-Modify.sh -Debian_7
bash ~/Network-Reinstall-System-Modify.sh -Ubuntu_18.04
bash ~/Network-Reinstall-System-Modify.sh -Ubuntu_16.04
bash ~/Network-Reinstall-System-Modify.sh -Ubuntu_14.04
bash ~/Network-Reinstall-System-Modify.sh -Windows_Server_2019
bash ~/Network-Reinstall-System-Modify.sh -Windows_Server_2016
bash ~/Network-Reinstall-System-Modify.sh -Windows_Server_2012R2
bash ~/Network-Reinstall-System-Modify.sh -Windows_Server_2008R2
bash ~/Network-Reinstall-System-Modify.sh -Windows_7_Vienna
bash ~/Network-Reinstall-System-Modify.sh -Windows_Server_2003
默认root密码:cxthhhhh.com,安装完成后请修改密码
代码:
passwd root
参考:
https://github.com/MeowLove/Network-Reinstall-System-Modify

TOP

发新话题