說明
- 無限制全自動dd安裝Windows;
- 突破沒有VNC,沒有救援模式,內存比dd包小的限制;
- 使用Debian Live CD中的busybox做中間媒介,經過復雜的處理使本機的網絡參數傳進Windows操作系統中;
- 即使沒有DHCP能夠讓Windows獲取網絡參數,也能讓Windows操作系統在開機的第一時間能夠連通網絡;
- 本站所提供的腳本及安裝包均來源于網絡并通過測試;
- 特別注意:腳本不適用于OpenVZ構架的服務器,請勿嘗試;
安裝依賴
更新系統
#Debian/Ubuntu: apt-get update
#RedHat/CentOS: yum update
必要依賴
#Debian/Ubuntu: apt-get install -y xz-utils openssl gawk file
#RedHat/CentOS: yum install -y xz openssl gawk file
一鍵腳本
示例腳本,補全DD包直連地址后運行即可;
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd '[Windows DD包直鏈地址]'
精簡版DD包
選擇好版本,輸入以下一鍵腳本即可
# DD Windows Server 2003 32位 精簡版 [賬戶Administrator密碼cxthhhhh.com] wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win_Server2003_86_Administrator_cxthhhhh.com.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密碼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/cn_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/cn_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/cn_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/Oracle_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/Oracle_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/Oracle_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/Oracle_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/Oracle_Win_Server2012R2_64_Administrator_nat.ee.gz'
OVH
此DD包僅適用于OVH云服務器DD Win使用
說明:OVH需要使用網絡參數進行安裝,需要的可以參考下面的安裝方法,博主并未進行測試,這里僅提供直鏈包;
# DD Windows7 64位 精簡版 [賬戶administrator密碼www.80host.com] https://oss.sunpma.com/Windows/win/OVH_Win7_64_administrator_www.80host.com.gz
Azure微軟云
以下DD包適用于Azure微軟云DD安裝Windows使用;
# 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/Oracle_Win_Server2012R2_64_Administrator_nat.ee.gz' # DD Windows7 sp1 64位 企業精簡版 Hyper-V Xen Nvme [賬戶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_Hv_Xen_Nvme_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 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'
其它腳本
先使用以下命令及腳本重新安裝系統為Debian 10
然后再使用此腳本選擇自定義鏈接Custom image
安裝Windows
Debian 10
默認登錄賬號和密碼:root
?/?Pwd@Linux
# 更新系統及必要依賴 apt-get install wget sudo net-tools xz-utils openssl gawk file wget -y apt-get update -y apt-get upgrade -y apt-get install -y xz-utils openssl gawk file apt-get install -y xz-utils openssl gawk file wget screen && screen -S os apt-get install virt-what -y virt-what apt-get install build-essential libpcsclite1 -y # 一鍵腳本命令 wget --no-check-certificate -O AutoReinstall.sh https://git.io/AutoReinstall.sh && bash AutoReinstall.sh # DD Windows7 sp1 64位 企業精簡版 Hyper-V Xen[賬戶Administrator密碼nat.ee] https://oss.sunpma.com/Windows/Win7_sp1_64_Hv_Xen_Administrator_nat.ee.gz
網絡參數安裝
比如GCP谷歌云Azure微軟云OVH云服務器等需要指定網絡參數安裝的方式,示例為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' && bash InstallNET.sh --ip-addr X.X.X.X --ip-mask X.X.X.X --ip-gate X.X.X.X -dd 'DD包 直鏈地址'
例:
替換--ip-addr
后面的X.X.X.X
為你自己的內網IP即可;
在GCP谷歌云?Debian
?/?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