安装依赖组件:

apt-get update

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

wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/Win10_LTSC_64_Administrator_nat.ee.gz'

GCP的云主机:

bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') --ip-addr 10.146.0.2 --ip-gate 10.146.0.1 --ip-mask 255.255.255.0 -d 11 -v 64 -p 123456 -port 22




wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh --ip-addr X.X.X.X --ip-mask 255.255.255.0 --ip-gate C.C.C.C -dd '[Windows DD包直链地址]'

注意:一键脚本中的 X.X.X.X 就是你新建实例中的内部IP, C.C.C.C 是网关地址。[Windows DD包直链地址] 是你需要安装的系统下载地址(下边附各系统地址)。以上者3个信息,都需要根据自己情况修改,完了之后直接在SSH中粘贴回车即可。

如香港的实例,内部IP一般是 10.170.0.X,网关就是 10.170.0.1

台湾的实例,内部IP一般是 10.140.0.X,网关是 10.140.0.1

完整的dd包参考:

# DD Windows Server 2012 R2 Datacenter 64位 [账户administrator密码Password147]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/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://sunpma.com/other/oss/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://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/cn_windows2019_administrator_Password147.gz'

# DD Windows Server 2022 Datacenter 64位 [账户administrator密码Teddysun.com]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/Win_Server2022_20344.1_x64_administrator_Teddysun.com.gz'

# DD Windows10 Pro 20h1 19043.928 64位 [账户administrator密码Teddysun.com]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/Win10_Pro_20h1_19043.928_x64_administrator_Teddysun.com.gz'

# DD Windows10 Pro 20h2 19042.630 64位 [账户administrator密码Teddysun.com]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/Win10_Pro_20h2_19042.630_x64_administrator_Teddysun.com.gz'

# DD Windows7 sp1 64位 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/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://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/Win8.1_64_Administrator_nat.ee.gz'

# DD Windows10 2019LTSC 64位 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/Win10_LTSC_64_Administrator_nat.ee.gz'

# DD Windows10 2021LTSC 64位 [账户administrator密码Teddysun.com]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/Win10_2021LTSC_64_administrator_Teddysun.com.gz'

# DD Windows11 工作站专业版 21H2 64位 [账户administrator密码Teddysun.com]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/Win11_Pro_for_Workstations_21H2_administrator_Teddysun.com.gz'


精简版:

# DD Windows Server 2008 R2 64位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/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://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win_Server2012R2_64_Administrator_nat.ee.gz'

# DD Windows Server 2016 64位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win_Server2016_64_Administrator_nat.ee.gz'

# DD Windows Server 2019 64位 精简版 [账户Administrator密码WinSrv2019dc-Chinese]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win_Server2019_64_Administrator_WinSrv2019dc-Chinese.gz'

# DD Windows Server 2022 64位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win_Server2022_64_Administrator_nat.ee.gz'

# DD Windows7 32位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win7_86_Administrator_nat.ee.gz'

# DD Windows7 sp1 64位 企业精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/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://sunpma.com/other/oss/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://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win10_2016LTSB_64_Administrator_nat.ee.gz'

# DD Windows10 2019LTSC 64位 企业深度精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win10_2019LTSC_64_Administrator_nat.ee.gz'

# DD Windows10 2021LTSC 64位 企业深度精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win10_2021LTSC_64_Administrator_nat.ee.gz'


可以使用KMS激活。

如果不能的话,可以试试下边的KEY(不能保证成功激活)。

Windows 7 企业版

KMS密钥:33PXH-7Y6KF-2VJC9-XBBR8-HVTHH / RHTBY-VWY6D-QJRJ9-JGQ3X-Q2289 / H8PDJ-H4NKW-3GKH7-YHKJ7-4C2JR

Windows 8.1 专业版

KMS密钥:GCRJD-8NW9H-F2CDX-CCM8D-9D6T9

Windows 10 LTSC 2019 企业版

KMS密钥:M7XTQ-FN8P6-TTKYV-9D4CC-J462D

Windows Server 2019 数据中心版

KMS密钥:WMDGN-G9PQG-XVVXX-R3X43-63DFG
右键以管理员身份运行CMD,依次执行下边的命令。

slmgr.vbs -upk
slmgr.vbs -ipk KMS密钥
slmgr.vbs -ato
slmgr.vbs -dlv
好了,到此为止,我们已经在Linux的实例中,安装好了Windows系统。

评论已关闭