安装 curl
apt update && apt install curl -y
安装 curl 和 wget
apt update -y && apt install curl wget -yDD Linux 脚本(一)
wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh && bash InstallNET.sh -debian 12 -pwd 'bbsxp@789'- 用户: root
- 密码:bbsxp@789
DD Linux 脚本(二)
【开源地址】:https://github.com/bin456789/reinstall
1️⃣ 下载脚本
curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh || wget -O reinstall.sh $_2️⃣ 选择要安装的系统
bash reinstall.sh anolis 7|8|23
rocky 8|9|10
oracle 8|9|10
almalinux 8|9|10
opencloudos 8|9|23
centos 9|10
fnos 1
nixos 25.11
fedora 42|43
debian 9|10|11|12|13
alpine 3.20|3.21|3.22|3.23
opensuse 15.6|16.0|tumbleweed
openeuler 20.03|22.03|24.03|25.09
ubuntu 16.04|18.04|20.04|22.04|24.04|25.10 [--minimal]
kali
arch
gentoo
aosc
redhat --img="http://access.cdn.redhat.com/xxx.qcow2"✅ 示例: 安装 Debian 12(注释:bash reinstall.sh 系统 版本号)
bash reinstall.sh debian 123️⃣ 设置密码,根据脚本提示设置root密码:
- 用户名:root
- 默认密码:123@@@
重启后等待10分钟,系统安装完成。
DD Windows
wget -qO- inst.sh | bash -s - -p sda -n 107.174.108.26,255.255.255.252,107.174.108.25 -t https://dl.lamp.sh/vhd/zh-cn_win2022.xz- 用户: administrator
- 密码: Teddysun.com
重要提示:
- 在命令中,需要将
sda、IP、子网掩码、网关替换为您自己服务器的实际信息。 - 根据您的主板
BIOS/UEFI选择对应的windows版本
常见问题
1、查看配置网络参数信息
执行:
ip route show
ifconfig⚠️ 新版系统可能没装 ifconfig,需要:
apt install net-tools2、查看VPS启动方式是 UEFI 还 BIOS
[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS3、查看安装硬盘路径
lsblkUEFI 和 BIOS 系统
1、BIOS 系统
| 系统版本 | 下载链接 |
|---|---|
| Windows 11 Pro for Workstations 22H2 | https://dl.lamp.sh/vhd/zh-cn\_windows11\_22h2.xz |
| Windows Server 2022 Datacenter | https://dl.lamp.sh/vhd/zh-cn\_win2022.xz |
| Windows 10 Enterprise LTSC | https://dl.lamp.sh/vhd/zh-cn\_windows10\_ltsc.xz |
| Windows Server 2012 R2 Datacenter | https://dl.lamp.sh/vhd/cn\_win2012r2.xz |
2、UEFI 系统
| 系统版本 | 下载链接 |
|---|---|
| Windows 11 Pro for Workstations 22H2 | https://dl.lamp.sh/vhd/zh-cn\_windows11\_22h2\_uefi.xz |
| Windows Server 2022 Datacenter | https://dl.lamp.sh/vhd/zh-cn\_win2022\_uefi.xz |
| Windows 10 Enterprise LTSC | https://dl.lamp.sh/vhd/zh-cn\_win10\_ltsc\_uefi.xz |
| Windows Server 2012 R2 Datacenter | https://dl.lamp.sh/vhd/cn\_win2012r2\_uefi.xz |
3、其它 Windoes 10版本
| 版本 | 下载地址 | 密码 |
|---|---|---|
| 1keydd | https://file.1323123.xyz/dd/windows/1keydd/win10ltsc\_password\_1keydd.gz | 1keydd |
| 精简版 | https://p.wpxx.de/public/%E7%B3%BB%E7%BB%9F/win10-pro-22h2-superlite-bwcx.img.xz | tg@wanglong6 |
- 用户名:administrator
重要提示:精简版,只有5G,所以不带任何浏览器,需要手动下载。
下载浏览器
开始 Windows PowerShell 输入以下命令手动下载,默认文件保存桌面:
Invoke-WebRequest -Uri "文件的下载链接" -OutFile "$env:USERPROFILE\Desktop\文件名.扩展名"示例:
Invoke-WebRequest -Uri "https://p.wpxx.de/public/Soft/Vivaldi.7.6.3797.63.x64.exe" -OutFile "$env:USERPROFILE\Desktop\Vivaldi.7.6.3797.63.x64.exe"