VPS一键全自动重装系统(dd Win or dd Linux)

VPS一键全自动重装系统(dd Win or dd Linux)

KVM VPS可用,OPENVZ VPS千万不要用。
需要:
1.Debian/Ubuntu/CentOS 系统(由GRUB引导);
2.wget 用来下载文件,获取公网IP;
3.ip 获取网关,掩码等;
4.sed awk grep 处理文本流;

准备工作

1
2
3
4
5
#Debian/Ubuntu:
apt-get install -y gawk sed grep wget
#RedHat/CentOS:
yum install -y gawk sed grep wget

一、Linux重装系统到Linux

CentOS,Ubuntu,Debian系统重装Debian 7 x32

1
2
3
wget –no-check-certificate -qO DebianNET.sh ‘https://moeclub.org/attachment/LinuxShell/DebianNET.sh’ && bash DebianNET.sh -d wheezy -v i386 -a
# root用户密码为Vicer

CentOS,Ubuntu,Debian系统重装Debian 8 x64

1
2
3
wget –no-check-certificate -qO DebianNET.sh ‘https://moeclub.org/attachment/LinuxShell/DebianNET.sh’ && bash DebianNET.sh -d jessie -v amd64 -a
# root用户密码为Vicer

CentOS,Ubuntu,Debian系统重装Debian 9 x64

1
2
3
wget –no-check-certificate -qO DebianNET.sh ‘https://moeclub.org/attachment/LinuxShell/DebianNET.sh’ && bash DebianNET.sh -d stretch -v amd64 -a
# root用户密码为Vicer

CentOS,Ubuntu,Debian系统重装Ubuntu 14.04 x32

1
2
3
wget –no-check-certificate -qO DebianNET.sh ‘https://moeclub.org/attachment/LinuxShell/DebianNET.sh’ && bash DebianNET.sh -u trusty -v 32 -a
# root用户密码为Vicer

CentOS,Ubuntu,Debian系统重装Ubuntu 14.04 x64

1
2
3
wget –no-check-certificate -qO DebianNET.sh ‘https://moeclub.org/attachment/LinuxShell/DebianNET.sh’ && bash DebianNET.sh -u trusty -v 64 -a
# root用户密码为Vicer

CentOS,Ubuntu,Debian系统重装Ubuntu 16.04 x64

1
2
3
wget –no-check-certificate -qO DebianNET.sh ‘https://moeclub.org/attachment/LinuxShell/DebianNET.sh’ && bash DebianNET.sh -u xenial -v 64 -a
# root用户密码为Vicer

CentOS,Ubuntu,Debian系统重装Ubuntu 17.04 x64

1
2
3
wget –no-check-certificate -qO DebianNET.sh ‘https://moeclub.org/attachment/LinuxShell/DebianNET.sh’ && bash DebianNET.sh -u zesty -v 64 -a
# root用户密码为Vicer

CentOS,Ubuntu,Debian系统重装CentOS 6.9 x64

1
2
3
wget xiaofd.github.io/centos.sh && bash centos.sh
# root用户密码为xiaofd.win

二、Linux重装系统到Windows

首先用fdisk -l命令确定VPS的硬盘标识,我的是/dev/sda,我将重装win到这个硬盘。
VPS一键全自动重装系统(dd Win or dd Linux)

CentOS,Ubuntu,Debian系统重装到WindowsServer 2003

1
2
3
wget –no-check-certificate https://xiaofd.github.io/ddwin.sh && bash ddwin.sh -w http://d.mutou.run/ddwin/win2003_with_update.gz -d /dev/sda
# 用户名:Administrator 密码: 80hostkvmlamjj

CentOS,Ubuntu,Debian系统重装到Windows 7

1
2
3
wget –no-check-certificate -qO DebianNET.sh ‘https://moeclub.org/attachment/LinuxShell/DebianNET.sh’ && bash DebianNET.sh -dd ‘https://moeclub.org/get-win7embx86-auto’
# 用户名:Administrator 密码:Vicer

CentOS,Ubuntu,Debian系统重装到Windows 10

1
2
3
wget –no-check-certificate https://xiaofd.github.io/ddwin.sh && bash ddwin.sh -w http://d.mutou.run/ddwin/win10-xiaofd.gz -d /dev/sda
# 用户名:xiaofd 密码:xiaofd.win

CentOS,Ubuntu,Debian系统重装到WindowsServer2008 R2

1
2
3
wget –no-check-certificate https://xiaofd.github.io/ddwin.sh && bash ddwin.sh -w http://d.mutou.run/ddwin/Windows2008R2.gz -d /dev/sda
# 用户名:Administrator 密码:Changeme!!!

CentOS,Ubuntu,Debian系统重装到WindowsServer2012 R2

1
2
3
wget –no-check-certificate https://xiaofd.github.io/ddwin.sh && bash ddwin.sh -w http://d.mutou.run/ddwin/win2012r2-xiaofd.gz -d /dev/sda
# 用户名:Administrator 密码:xiaofd.WIN
微信公众号【木头分享】,超多福利超多资源木头分享 » VPS一键全自动重装系统(dd Win or dd Linux)
微信公众号:ex-tool
微信公众号【木头分享】,超多福利超多资源
142518人已关注
分享到:
赞(0) 打赏

评论抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

女装大佬众筹计划qwq

支付宝扫一扫打赏

微信扫一扫打赏