不支持openvz

moeclub 萌咖:https://moeclub.org/

安装重装系统的前提组件

①. RedHat/CentOS:
yum install -y xz openssl gawk file

②. Debian/Ubuntu:
apt-get install -y xz-utils openssl gawk file

如果出现异常,请刷新Mirrors缓存或更换镜像源。

yum makecache && yum update -y
apt update -y && apt dist-upgrade -y

DD方法:

(推荐,需要重装系统为Debian7/8后使用)
一:
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd '[Windows dd包直连地址]'


二:
wget -qO- [Windows dd包直连地址] |gunzip -dc |dd of=/dev/vda

三:
1. 下载SHELL脚本(通过root用户运行)
wget --no-check-certificate -qO ~/Network-Reinstall-System-Modify.sh 'https://tech.cxthhhhh.com/tech-tools/Network-Reinstall-System-Modify/Network-Reinstall-System-Modify.sh' && chmod a+x ~/Network-Reinstall-System-Modify.sh

2.
*如果您不了解这意味着什么,请不要进行操作。%ULR%应该替换为您自己的映像地址。

bash ~/Network-Reinstall-System-Modify.sh -DD "%URL%"

四:在独服上DD方法
wget -O- 'Windows dd包直连地址' | gunzip | dd of=/dev/sda
#moeclub 萌咖:https://moeclub.org/</strong>

#安装centos6.8 x64,不支持centos7 默认系统账号:root 默认远程端口:22
bash <(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -c 6.8 -v 64 -a -p 自定义密码

#安装debian9 x64 默认系统账号:root 默认远程端口:22
bash <(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -d 9 -v 64 -a -p 自定义密码

#安装ubuntu16.04 x64 默认系统账号:root 默认远程端口:22
bash <(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -u 16.04 -v 64 -a -p 自定义密码

#安装win7 x86 默认系统账号:Administrator 默认系统密码:Vicer 默认远程端口:3389
bash <(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/moeclub/win7emb_x86.tar.gz'

#安装win8.1 x64 默认系统账号:Administrator 默认系统密码:Vicer 默认远程端口:3389
bash <(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/moeclub/win8.1emb_x64.tar.gz'

#安装win10ltsc x64 默认系统账号:Administrator 默认系统密码:Vicer 默认远程端口:3389
bash <(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/moeclub/win10ltsc_x64.tar.gz'

#自定义网络参数示例:
bash <(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') --ip-addr x.x.x.x --ip-gate x.x.x.x --ip-mask x.x.x.x -dd 'https://tuz.me/os/dd/moeclub/win10ltsc_x64.tar.gz'
#cxthhhhh cxt:https://www.cxthhhhh.com/2018/10/29/



   重装系统前环境需求

   1. 当前已安装任意由GRUB or GRUB2引导Linux系统(RedHat/CentOS/Debian/Ubuntu/Etc.)



   2. 安装重装系统的前提组件
   
   ①. RedHat/CentOS:

   yum install -y xz openssl gawk file

   ②. Debian/Ubuntu:

   apt-get install -y xz-utils openssl gawk file


   让我们开始吧

   1. 下载SHELL脚本(通过root用户运行)

   wget --no-check-certificate -qO ~/Network-Reinstall-System-Modify.sh 'https://tuz.me/os/shell/Network-Reinstall-System-Modify.sh' && chmod a+x ~/Network-Reinstall-System-Modify.sh

   2. 安装系统(任选其一)

   【安装Linux系统】

   ①. 一键网络重装纯净 CentOS 8(推荐)

   bash ~/Network-Reinstall-System-Modify.sh -CentOS_8

   ②. 一键网络重装纯净 CentOS 7

   bash ~/Network-Reinstall-System-Modify.sh -CentOS_7

   ③. 一键网络重装纯净 CentOS 6

   bash ~/Network-Reinstall-System-Modify.sh -CentOS_6

   ④. 一键网络重装纯净 Debian 10(推荐)

   bash ~/Network-Reinstall-System-Modify.sh -Debian_10

   ⑤. 一键网络重装纯净 Debian 9

   bash ~/Network-Reinstall-System-Modify.sh -Debian_9

   ⑥. 一键网络重装纯净 Debian 8

   bash ~/Network-Reinstall-System-Modify.sh -Debian_8

   ⑦. 一键网络重装纯净 Ubuntu 18.04(推荐)

   bash ~/Network-Reinstall-System-Modify.sh -Ubuntu_18.04

   ⑧. 一键网络重装纯净 Ubuntu 16.04

   bash ~/Network-Reinstall-System-Modify.sh -Ubuntu_16.04

   ⑨. 一键网络重装纯净 Ubuntu 14.04

   bash ~/Network-Reinstall-System-Modify.sh -Ubuntu_14.04


   【安装Windows系统】

   *警告:你需要购买来自Microsoft或其合作伙伴正版系统授权并激活系统使用。继续安装即代表您知悉并已经购买正版授权。

   ①. 一键网络重装纯净 Windows Server 2019(推荐)

   bash ~/Network-Reinstall-System-Modify.sh -Windows_Server_2019

   ②. 一键网络重装纯净 Windows Server 2016

   bash ~/Network-Reinstall-System-Modify.sh -Windows_Server_2016

   ③. 一键网络重装纯净 Windows Server 2012 R2

   bash ~/Network-Reinstall-System-Modify.sh -Windows_Server_2012R2

   ④. 一键网络重装纯净 Windows Server 2008 R2

   bash ~/Network-Reinstall-System-Modify.sh -Windows_Server_2008R2

   ⑤. 一键网络重装纯净 Windows 7 Vienna

   bash ~/Network-Reinstall-System-Modify.sh -Windows_7_Vienna

   ⑥. 一键网络重装纯净 Windows Server 2003

   bash ~/Network-Reinstall-System-Modify.sh -Windows_Server_2003

   ⑦. 一键网络重装纯净 Windows 10 极限精简版

   bash ~/Network-Reinstall-System-Modify.sh -Windows_10_Lite


   【安装裸机系统部署平台】

   *仅适用于高端用户,手动安装任意系统。可通过网络ISO或iPXE安装任意系统。

   bash ~/Network-Reinstall-System-Modify.sh -CXT_Bare-metal_System_Deployment_Platform


   【安装DD系统】

   *如果您不了解这意味着什么,请不要进行操作。%ULR%应该替换为您自己的映像地址。

   bash ~/Network-Reinstall-System-Modify.sh -DD "%URL%"


  所有系统安装完毕的默认密码是[cxthhhhh.com]



   #安装centos7.x x64 默认系统账号:root 默认系统密码:cxthhhhh.com 默认远程端口:22

   bash <(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/cxthhhhh/CentOS_7.X_NetInstallation.vhd.gz'


   #注意:重复重装此系统前,在主机上面板重装一次系统。

   #在一些主机商上安装的成功率似乎并不是很高。

   #如果安装成功无法联网,vnc手动修改为静态ip:

   vi /etc/sysconfig/network-scripts/ifcfg-eth0

   #修改

   BOOTPROTO="static" #dhcp改为static

   IPADDR=192.168.1.100 #静态IP

   GATEWAY=192.168.1.255 #默认网关

   NETMASK=255.255.255.0 #子网掩码

   #保存后重启

   reboot


   #安装Windows Server 2003 x86 默认系统账号:Administrator 默认系统密码:cxthhhhh.com 默认远程端口:3389

   bash <(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/cxthhhhh/Disk_Windows_Server_2003_DataCenter_CN.vhd.gz'

   #安装Windows 7 Vienna x86 默认系统账号:Administrator 默认系统密码:cxthhhhh.com 默认远程端口:3389

   bash <(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/cxthhhhh/Disk_Windows_7_Vienna_Ultimate_CN.vhd.gz'

   #安装Windows Server 2008 R2 x64 默认系统账号:Administrator 默认系统密码:cxthhhhh.com 默认远程端口:3389

   bash <(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/cxthhhhh/Disk_Windows_Server_2008R2_DataCenter_CN.vhd.gz'

   #安装Windows Server 2012 R2 x64 默认系统账号:Administrator 默认系统密码:cxthhhhh.com 默认远程端口:3389

   bash <(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/cxthhhhh/Disk_Windows_Server_2012R2_DataCenter_CN.vhd.gz'

   #安装Windows Server 2016 x64 默认系统账号:Administrator 默认系统密码:cxthhhhh.com 默认远程端口:3389

   bash <(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/cxthhhhh/Disk_Windows_Server_2016_DataCenter_CN.vhd.gz'

   #安装Windows Server 2019 x64 默认系统账号:Administrator 默认系统密码:cxthhhhh.com 默认远程端口:3389

   bash <(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/cxthhhhh/Disk_Windows_Server_2019_DataCenter_CN.vhd.gz'
#teddysun 秋水逸冰:https://teddysun.com/

#安装Windows Server 2012 R2 Datacenter x64 默认系统账号:Administrator 默认系统密码:Password147 默认远程端口:3389
bash &lt;(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/teddysun/cn_windows2012r2.gz'

#安装Windows Server 2016 Datacenter x64 默认系统账号:Administrator 默认系统密码:Password147 默认远程端口:3389
bash &lt;(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/teddysun/cn_windows2016.gz'

#安装Windows Server 2019 Datacenter x64 默认系统账号:Administrator 默认系统密码:Password147 默认远程端口:3389
bash &lt;(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/teddysun/cn_windows2019.gz'
#laosiji 老司机:https://www.hostloc.com/space-uid-23758.html</strong>

#安装精简版Windows Server 2003 Enterprise SP2 x86 默认系统账号:Administrator 默认系统密码:WinSrv2003x86-Chinese 默认远程端口:3389

#C盘5G
bash &lt;(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/laosiji/WinSrv2003x86-Chinese-C5G.vhd.gz'

#C盘10G
bash &lt;(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/laosiji/WinSrv2003x86-Chinese-C10G.vhd.gz'

#安装精简版Windows 7 Ultimate SP1 x86 默认系统账号:Administrator 默认系统密码:Windows7x86-Chinese 默认远程端口:3389

bash &lt;(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/laosiji/Windows7x86-Chinese.vhd.gz'

#安装精简版Windows 7 Ultimate SP1 x64 默认系统账号:Administrator 默认系统密码:www.nat.ee 默认远程端口:3389

bash &lt;(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/laosiji/Win7_x64.vhd.gz'

#安装精简版Windows Server 2008 R2 Datacenter x64 默认系统账号:Administrator 默认系统密码:WinSrv2008x64-Chinese 默认远程端口:3389

bash &lt;(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/laosiji/WinSrv2008x64-Chinese.vhd.gz'

#安装精简版Windows Server 2012 R2 Datacenter x64(V1) 默认系统账号:Administrator 默认系统密码:WinSrv2012r2x64-Chinese 默认远程端口:3389

bash &lt;(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/laosiji/WinSrv2012r2x64-Chinese.vhd.gz'

#安装精简版Windows Server 2012 R2 Datacenter x64(V2) 默认系统账号:Administrator 默认系统密码:WinSrv2012r2 默认远程端口:3389

bash &lt;(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/laosiji/WinSrv2012r2_v2.vhd.gz'

#安装精简版Windows Server 2019 Datacenter x64 默认系统账号:Administrator 默认系统密码:WinSrv2019dc-Chinese 默认远程端口:3389

bash &lt;(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/laosiji/WinSrv2019dc-Chinese.vhd.gz'

#安装原版Windows 10企业版 x64 默认系统账号:Administrator 默认系统密码:www.nat.ee 默认远程端口:3389

bash &lt;(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/laosiji/DDyuanban/Windows10x64/Win10.vhd.gz'

#安装原版Windows Server 2008 R2 Datacenter x64 默认系统账号:Administrator 默认系统密码:www.nat.ee 默认远程端口:3389

bash &lt;(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/laosiji/DDyuanban/cn_windows_server_2008_r2_dc_x64/cn_windows_server_2008_r2_dc_x64.gz'

#安装原版Windows Server 2012 R2 Datacenter x64 默认系统账号:Administrator 默认系统密码:www.nat.ee 默认远程端口:3389

bash &lt;(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/laosiji/DDyuanban/cn_windows_server_2012_r2_dc_x64/cn_windows_server_2012_r2_dc_x64.gz'

#安装原版Windows 10 企业版 LTSC 2019 64位 默认系统账号:Administrator 默认系统密码:www.nat.ee 默认远程端口:3389

bash &lt;(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/os/dd/laosiji/DDyuanban/cn_win10_ee_ltsc_2019_x64/cn_windows_10_enterprise_ltsc_2019_x64.gz'

#(更新)安装精简版Windows 7 Ultimate SP1 x64 默认系统账号:Administrator 默认系统密码:www.nat.ee 默认远程端口:3389

bash &lt;(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/s/os/dd/laosiji/Win7-Ent/Win7-Ent.gz'

#(需要你的云服务商支持Uefi启动,例如:甲骨文)安装精简版Windows 7 Ultimate SP1 x64 默认系统账号:Administrator 默认系统密码:www.nat.ee 默认远程端口:3389

bash &lt;(wget --no-check-certificate -qO- 'https://tuz.me/os/shell/InstallNET.sh') -dd 'https://tuz.me/s/os/dd/laosiji/Win7-Ent/Uefi+gpt-Win7-Ent.gz'

指定网路参数安装(比如GCP谷歌云)

# 将X.X.X.X替换为自己的网络参数.
# --ip-addr :IP Address/内网IP地址
# --ip-mask :Netmask   /子网掩码
# --ip-gate :Gateway   /网关
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' &amp;&amp; bash InstallNET.sh --ip-addr X.X.X.X --ip-mask X.X.X.X --ip-gate X.X.X.X -dd 'DD包 直链地址'

### 例:GCP谷歌云 台湾(DD Windows 7 64位 精简旗舰版 只需替换 --ip-addr 后面为你自己的内网IP即可,其他不变)
默认账户Administrator密码www.nat.ee
wget --no-check-certificate -qO InstallNET.sh 'https://tuz.me/os/shell/InstallNET.sh' &amp;&amp; bash InstallNET.sh --ip-addr 10.140.0.33 --ip-mask 255.255.255.0 --ip-gate 10.140.0.1 -dd 'https://tuz.me/os/dd/laosiji/Win7_x64.vhd.gz'

连接上后如果遇到无法打开网页的情况,修改DNS即可
8.8.8.8
8.8.4.4

<!-- wp:tadv/classic-paragraph -->

<p>KMS激活 任选其一</p>
#管理员身份打开命令提示符
slmgr <span class="prism-token prism-operator">/</span>skms kms.asuhu.<span class="prism-token prism-keyword">com</span>
slmgr <span class="prism-token prism-operator">/</span>ato
slmgr <span class="prism-token prism-operator">/</span>xpr

<div class="prism-show-language">
<div class="prism-show-language-label" data-language="BASIC"> </div>
</div>

#管理员身份打开命令提示符
slmgr <span class="prism-token prism-operator">/</span>skms kms.<span class="prism-token prism-number">03</span>k.org
slmgr <span class="prism-token prism-operator">/</span>ato
slmgr <span class="prism-token prism-operator">/</span>xpr
#管理员身份打开命令提示符
slmgr <span class="prism-token prism-operator">/</span>skms kms.moeclub.org
slmgr <span class="prism-token prism-operator">/</span>ato
slmgr <span class="prism-token prism-operator">/</span>xpr

<!-- /wp:tadv/classic-paragraph -->

Last modification:October 21st, 2019 at 05:38 pm
如果觉得我的文章对你有用,请随意赞赏