https://www.laoxu.cc/post/91.html
安装依赖
-
更新系统
|
1 2 3 4 5 |
<span role="presentation">#Debian/Ubuntu:</span> <span role="presentation">apt-get update</span> <span role="presentation">#RedHat/CentOS:</span> <span role="presentation">yum update</span> |
-
必要依赖
|
1 2 3 4 5 |
<span role="presentation">#Debian/Ubuntu:</span> <span role="presentation">apt-get install -y xz-utils openssl gawk file</span> <span role="presentation">#RedHat/CentOS:</span> <span role="presentation">yum install -y xz openssl gawk file</span> |
一键脚本
-
示例脚本,补全DD包直连地址后运行即可;
|
1 |
<span role="presentation">wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd '[Windows DD包直链地址]'</span> |
精简版DD包
-
如果没有自己的DD包,可以使用博主提供的包,从以下版本中选择自己需要的系统,然后输入一键脚本即可;
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
<span role="presentation"># DD Windows Server 2008 R2 64位 精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows Server 2012 R2 64位 精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows Server 2016 64位 精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows Server 2019 64位 精简版 [账户Administrator密码WinSrv2019dc-Chinese]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows Server 2022 64位 精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows7 32位 精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows7 sp1 64位 企业精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows8.1 64位 专业精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows10 2016LTSB 64位 企业深度精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows10 2019LTSC 64位 企业深度精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows10 2021LTSC 64位 企业深度精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">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'</span> |
完整版DD包
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
<span role="presentation"># DD Windows Server 2012 R2 Datacenter 64位 [账户administrator密码Password147]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows Server 2016 Datacenter 64位 [账户administrator密码Password147]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows Server 2019 Datacenter 64位 [账户administrator密码Password147]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows Server 2022 Datacenter 64位 [账户administrator密码Teddysun.com]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows10 Pro 20h1 19043.928 64位 [账户administrator密码Teddysun.com]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows10 Pro 20h2 19042.630 64位 [账户administrator密码Teddysun.com]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows7 sp1 64位 [账户Administrator密码nat.ee]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows8.1 64位 [账户Administrator密码nat.ee]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows10 2019LTSC 64位 [账户Administrator密码nat.ee]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows10 2021LTSC 64位 [账户administrator密码Teddysun.com]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows11 工作站专业版 21H2 64位 [账户administrator密码Teddysun.com]</span> <span role="presentation">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'</span> |
Oracle甲骨文
-
此DD包仅适用于Oracle甲骨文DD安装Windows使用;(注意:不适用于新出的ARM框架机型)
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
<span role="presentation"># DD Windows7 sp1 64位 企业精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win7_sp1_64_Administrator_nat.ee.gz'</span> <span role="presentation"># DD Windows8.1 64位 企业精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win8.1_64_Administrator_nat.ee.gz'</span> <span role="presentation"># DD Windows10 2016LTSB 64位 企业深度精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win10_2016LTSB_64_Administrator_nat.ee.gz'</span> <span role="presentation"># DD Windows10 2019LTSC 64位 企业深度精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win10_2019LTSC_64_Administrator_nat.ee.gz'</span> <span role="presentation"># DD Windows10 2021LTSC 64位 企业深度精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win10_2021LTSC_64_Administrator_nat.ee.gz'</span> <span role="presentation"># DD Windows Server 2008 R2 64位 精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win_Server2008R2_sp1_64_Administrator_nat.ee.gz'</span> <span role="presentation"># DD Windows Server 2012 R2 64位 精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win_Server2012R2_64_Administrator_nat.ee.gz'</span> <span role="presentation"># DD Windows Server 2016 64位 精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win_Server2016_64_Administrator_nat.ee.gz'</span> <span role="presentation"># DD Windows Server 2022 64位 企业深度精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win_Server2022_64_Administrator_nat.ee.gz'</span> |
阿里云
-
以下DD包适用于阿里云DD安装Windows使用;
|
1 2 3 4 5 6 7 8 |
<span role="presentation"># DD Windows7 32位 精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Aliyun_Win7_86_Administrator_nat.ee.gz'</span> <span role="presentation"># DD Windows10 2019LTSC 64位 企业深度精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Aliyun_Win10_2019LTSC_64_Administrator_nat.ee.gz'</span> <span role="presentation"># DD Windows10 2021LTSC 64位 企业深度精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Aliyun_Win10_2021LTSC_64_Administrator_nat.ee.gz'</span> |
Azure微软云
-
以下DD包适用于Azure微软云DD安装Windows使用;
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<span role="presentation"># DD Windows Server 2008 R2 64位 精简版[账户Administrator密码nat.ee]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows Server 2012 R2 64位 精简版[账户Administrator密码nat.ee]</span> <span role="presentation">wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win_Server2012R2_64_Administrator_nat.ee.gz'</span> <span role="presentation"># DD Windows Server 2016 64位 精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows Server 2022 64位 精简版 [账户Administrator密码nat.ee]</span> <span role="presentation">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'</span> <span role="presentation"># DD Windows7 sp1 64位 企业精简版 Hyper-V Xen Nvme [账户Administrator密码nat.ee]</span> <span role="presentation">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_Hv_Xen_Nvme_Administrator_nat.ee.gz'</span> <span role="presentation"># DD Windows8.1 64位 适量精简版 [账户Administrator密码Vicer]</span> <span role="presentation">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_Vicer.gz'</span> <span role="presentation"># DD Windows10 2019LTSC 64位 企业适量精简版 [账户Administrator密码Vicer]</span> <span role="presentation">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_Vicer.gz'</span> |
其它脚本 先使用以下命令及脚本重新安装系统为Debian 10然后再使用此脚本选择自定义链接Custom image安装Windows Debian 10默认登录账号和密码:root / Pwd@Linux
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<span role="presentation"># 更新系统及必要依赖</span> <span role="presentation">apt-get install wget sudo net-tools xz-utils openssl gawk file wget -y</span> <span role="presentation">apt-get update -y</span> <span role="presentation">apt-get upgrade -y</span> <span role="presentation">apt-get install -y xz-utils openssl gawk file</span> <span role="presentation">apt-get install -y xz-utils openssl gawk file wget screen && screen -S os</span> <span role="presentation">apt-get install virt-what -y</span> <span role="presentation">virt-what</span> <span role="presentation">apt-get install build-essential libpcsclite1 -y</span> <span role="presentation"># 一键脚本命令</span> <span role="presentation">wget --no-check-certificate -O AutoReinstall.sh https://git.io/AutoReinstall.sh && bash AutoReinstall.sh</span> <span role="presentation"># DD Windows7 sp1 64位 企业精简版 Hyper-V Xen[账户Administrator密码nat.ee]</span> <span role="presentation">https://oss.sunpma.com/Windows/Win7_sp1_64_Hv_Xen_Administrator_nat.ee.gz</span> |
GCP谷歌云
-
GCP谷歌云OVH云服务器等需要指定网络参数安装的方式,示例为GCP谷歌云
|
1 2 3 4 5 |
<span role="presentation"># 将X.X.X.X替换为自己的网络参数.</span> <span role="presentation"># --ip-addr :IP Address/内网IP地址</span> <span role="presentation"># --ip-mask :Netmask /子网掩码</span> <span role="presentation"># --ip-gate :Gateway /网关</span> <span role="presentation">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 X.X.X.X --ip-gate X.X.X.X -dd 'DD包 直链地址'</span> |
例: 替换–ip-addr后面的X.X.X.X为你自己的内网IP,注意查看ip-gate网关信息是否于你机器的网关相同; 在GCP谷歌云 Debian / Ubuntu 测试成功, CentOS 未测试; 账户:Administrator 密码:nat.ee
GCP谷歌云 香港
|
1 |
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 10.170.0.1 -dd 'https://oss.sunpma.com/Windows/Win7_sp1_64_Administrator_nat.ee.gz' |
GCP谷歌云-台湾
|
1 |
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 10.140.0.1 -dd 'https://oss.sunpma.com/Windows/Win7_sp1_64_Administrator_nat.ee.gz' |
连接上后如果遇到无法打开网页的情况,修改DNS即可
|
1 2 |
<span role="presentation">8.8.8.8</span> <span role="presentation">8.8.4.4</span> |
OVH
此DD包仅适用于OVH云服务器DD Win使用 说明:OVH需要使用网络参数进行安装,博主并未进行测试,这里仅提供直链安装包;
|
1 2 |
<span role="presentation"># DD Windows7 64位 精简版 [账户administrator密码www.80host.com]</span> <span role="presentation">https://oss.sunpma.com/Windows/win/OVH_Win7_64_administrator_www.80host.com.gz</span> |
关于激活
可以试试下面的Key(不一定都能成功激活)
|
1 2 3 4 5 6 7 8 9 10 11 |
<span role="presentation"># Windows 7 企业版</span> <span role="presentation">KMS密钥:33PXH-7Y6KF-2VJC9-XBBR8-HVTHH / RHTBY-VWY6D-QJRJ9-JGQ3X-Q2289 / H8PDJ-H4NKW-3GKH7-YHKJ7-4C2JR</span> <span role="presentation"># Windows 8.1 专业版</span> <span role="presentation">KMS密钥:GCRJD-8NW9H-F2CDX-CCM8D-9D6T9</span> <span role="presentation"># Windows 10 LTSC 2019 企业版</span> <span role="presentation">KMS密钥:M7XTQ-FN8P6-TTKYV-9D4CC-J462D</span> <span role="presentation"># Windows Server 2019 数据中心版</span> <span role="presentation">KMS密钥:WMDGN-G9PQG-XVVXX-R3X43-63DFG</span> |
右键以管理员身份运行CMD(命令提示符),依次执行下面的命令;
|
1 2 3 4 |
<span role="presentation">slmgr.vbs -upk</span> <span role="presentation">slmgr.vbs -ipk KMS密钥</span> <span role="presentation">slmgr.vbs -ato</span> <span role="presentation">slmgr.vbs -dlv</span> |
Windows 7 旗舰版可能无法使用KMS进行激活,可以使用以下工具永久激活 激活工具:https://sunpma.lanzoux.com/i0ohrjljzwb
Windows服务器开启Ping功能,打开系统运行服务 Win+R 输入命令
|
1 2 3 4 |
<span role="presentation">## 开启Ping ##</span> <span role="presentation">netsh firewall set icmpsetting 8</span> <span role="presentation">## 关闭Ping ##</span> <span role="presentation">netsh firewall set icmpsetting 8 disable</span> |
