DD Windows 一键脚本,包含GCP谷歌云Oracle甲骨文

DD Windows 一键脚本,包含GCP谷歌云Oracle甲骨文

说明

  • 无限制全自动dd安装Windows
  • 突破没有VNC,没有救援模式,内存比dd包小的限制
  • 使用Debian Live CD中的busybox做中间媒介,经过复杂的处理使本机的网络参数传进Windows操作系统中
  • 即使没有DHCP能够让Windows获取网络参数,也能让Windows操作系统在开机的第一时间能够连通网络

特别注意:OpenVZ构架不适用

安装运行库

#/Ubuntu:  apt-get install -y xz-utils openssl gawk file    #RedHat/CentOS:  yum install -y xz openssl gawk file

如果出现错误,运行以下代码

#/Ubuntu:  apt-get update    #RedHat/CentOS:  yum update

一键脚本

示例脚本,补全DD包直连地址后运行即可;

wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh - '[Windows dd包直连地址]'

精简版DD包

选择好版本,输入以下一键脚本即可

#  Windows  2003 32位  [账户Administrator密码cxthhhhh.com]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh - 'https://oss.sunpma.com/Windows/Win_2003_86_Administrator_cxthhhhh.com.gz'    #  Windows  2008 R2 64位  [账户Administrator密码nat.ee]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh - 'https://oss.sunpma.com/Windows/Win_2008R2_sp1_64_Administrator_nat.ee.gz'    # DD Windows  2012 R2 64位  [账户Administrator密码WinSrv2012r2x64-Chinese]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win_Server2012R2_64_Administrator_WinSrv2012r2x64-Chinese.gz'    # DD Windows Server 2019 Datacenter 64位  [账户Administrator密码WinSrv2019dc-Chinese]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win_Server2019_64_Administrator_WinSrv2019dc-Chinese.gz'    # DD Windows7 32位  [账户Administrator密码Windows7x86-Chinese]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win7_86_Administrator_Windows7x86-Chinese.gz'    # DD Windows7 sp1 64位 企业精简版 [账户Administrator密码nat.ee]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win7_sp1_64_Administrator_nat.ee.gz'    #DD Windows8.1 64位 专业精简版 [账户Administrator密码nat.ee]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win8.1_64_Administrator_nat.ee.gz'    #DD Windows8.1 64位 适量精简版 [账户Administrator密码Vicer]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win8.1_64_Administrator_Vicer.gz'    # DD Windows10 2016LTSB 64位 企业深度精简版 [账户Administrator密码nat.ee]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win10_2016LTSB_64_Administrator_nat.ee.gz'    # DD Windows10 2019LTSC 64位 企业适量精简版 [账户Administrator密码Vicer]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win10_2019LTSC_64_Administrator_Vicer.gz'

完整版DD包

# DD Windows Server 2012 R2 Datacenter 64位 完整版 [账户administrator密码Password147]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/_windows2012r2_administrator_Password147.gz'    # DD Windows Server 2016 Datacenter 64位 完整版 [账户administrator密码Password147]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/_windows2016_administrator_Password147.gz'    # DD Windows Server 2019 Datacenter 64位 完整版 [账户administrator密码Password147]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/_windows2019_administrator_Password147.gz'    # DD Windows7 sp1 64位 [账户Administrator密码nat.ee]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/Win7_sp1_64_Administrator_nat.ee.gz'    # DD Windows8.1 64位 [账户Administrator密码nat.ee]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/Win8.1_64_Administrator_nat.ee.gz'    # DD Windows10 LTSC 64位 [账户Administrator密码nat.ee]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/Win10_LTSC_64_Administrator_nat.ee.gz'

Oracle甲骨文

此DD包仅适用于Oracle甲骨文DD Win使用 (注意:不适用于新出的ARM框架机型)

# DD Windows7 sp1 64位 企业精简版 [账户Administrator密码nat.ee]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/_Win7_sp1_64_Administrator_nat.ee.gz'    # DD Windows8.1 64位 企业精简版 [账户Administrator密码nat.ee]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/_Win8.1_64_Administrator_nat.ee.gz'    # DD Windows10 2016LTSB 64位 企业深度精简版 [账户Administrator密码nat.ee]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/_Win10_2016LTSB_64_Administrator_nat.ee.gz'    # DD Windows Server 2008 R2 64位 精简版 [账户Administrator密码nat.ee]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/_Win_Server2008R2_sp1_64_Administrator_nat.ee.gz'    # DD Windows Server 2012 R2 64位 精简版 [账户Administrator密码nat.ee]  wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/_Win_Server2012R2_64_Administrator_nat.ee.gz'

此DD包仅适用于OVH云服务器DD Win使用
说明:OVH需要使用网络参数进行安装,需要的可以参考下面的安装方法,博主并未进行测试,这里仅提供直链包;

# DD Windows7 64位 精简版 [账户administrator密码www.80host.com]  https://oss.sunpma.com/Windows/win/_Win7_64_administrator_.80host.com.gz

网络参数安装

比如GCP谷歌云Azure微软云OVH云服务器等需要指定网络参数安装的方式,示例为GCP谷歌云

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

例:
替换---addr后面的X.X.X.X为你自己的内网IP即可;
在GCP谷歌云  / Ubuntu 测试成功, CentOS 未测试;
账户:Administrator nat.ee
GCP谷歌云

wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh --ip-addr X.X.X.X --ip-mask 255.255.255.0 --ip-gate 10.170.0.1 -dd 'https://oss.sunpma.com/Windows/Win7_sp1_64_Administrator_nat.ee.gz'

GCP谷歌云-台湾

wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh --ip-addr X.X.X.X --ip-mask 255.255.255.0 --ip-gate 10.140.0.1 -dd 'https://oss.sunpma.com/Windows/Win7_sp1_64_Administrator_nat.ee.gz'

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

8.8.8.8  8.8.4.4

备用链接

百度网盘
链接:https://pan.baidu.com/s/1afwD0Is8MrvSiL8wkjoXhA
提取码:qynd

原文来至:https://sunpma.com/137.html

 

未经允许不得转载:吾爱主机之家 » DD Windows 一键脚本,包含GCP谷歌云Oracle甲骨文