一键网络重装系统,一键DD– 魔改版(适用于Linux / Windows)

发布于 2022-09-03  176 次阅读


当我们需要重装VPS/云平台/独立服务器操作系统时,通常可以通过服务商模板和ISO挂载的方式重新安装。从今天开始,你将拥有了一个全新的方式,通过网络一键式重新安装纯净操作系统,无需CD-ROM,无需VNC/IPIM/KVM。无论是Linux,还是Windows,都可以通过网络一键式完成安装,通过简单的两行命令开启美妙的体验。

简介说明

作者

  • 所有系统安装完毕都设置了默认密码,为了防止暴力破解,你必须在安装完毕立刻修改默认密码!
  • 因硬件配置和网络环境不同,安装全程需要15-60分钟,请耐心等待。安装完成即可通过IP:22(Linux SSH)/IP:3389(Windows RDP)进行连接。
  • 为了稳定性和安全性,我建议所有网站管理员/开发者/公司使用最新的系统,同时我只为最新的系统提供技术支持。
  • Windows系统DD磁盘(VHD)映像(添加驱动程序Virtio,Xen,Hyper)(独立服务器+全虚拟化支持)
  • 一些没有DHCP的VPS/云平台/独立服务器,安装后无法访问网络,你需要登陆VNC/IPIM/KVM后手动进行网卡IP配置。

环境需求

  1. 当前已安装任意由GRUB or GRUB2引导Linux系统(RedHat/CentOS/Debian/Ubuntu/Etc.)
  2. 安装重装系统的前提组件
#RedHat/CentOS:
yum install -y xz openssl gawk file
#Debian/Ubuntu:
apt-get install -y xz-utils openssl gawk file

Bash 复制

一键脚本

Onedrive源

# Onedrive源
wget --no-check-certificate 'https://yangwenqing.com/files/Source/Onelist_DD.sh' && bash Onelist_DD.sh 

Bash 复制

重装系统

请输入编号,安装系统(任选其一)

###########################################################
#                                                         #
#  Auto network Reinstall System                          #
#                                                         #
#  Last Modified: 2021-01-27                              #
#  Linux默认密码:cxthhhhh.com           #
#  Supported by MoeClub                                   #
#                                                         #
###########################################################

请选择您需要的镜像包:
  1) CentOS 8 x64 用户名:root 密码:cxthhhhh.com
  2) CentOS 7 x64 用户名:root 密码:cxthhhhh.com
  3) CentOS 6 x64 用户名:root 密码:cxthhhhh.com
  4) Debian 10 x64 用户名:root 密码:cxthhhhh.com
  5) Debian 9 x64 用户名:root 密码:cxthhhhh.com
  6) Debian 8 x64 用户名:root 密码:cxthhhhh.com
  7) Ubuntu 18.04 x64 用户名:root 密码:cxthhhhh.com
  8) Ubuntu 16.04 x64 用户名:root 密码:cxthhhhh.com
  9) Ubuntu 14.04 x64 用户名:root 密码:cxthhhhh.com
  10) Windows10 x64 用户名:Administrator 密码:cxthhhhh.com
  11) Windows8 x64 用户名:Administrator 密码:Vicer
  12) Windows7 Vienna 用户名:Administrator 密码:cxthhhhh.com
  13) Windows7 x32 用户名:Administrator 密码:Vicer
  14) Windows Server 2019 用户名:Administrator  密码:cxthhhhh.com
  15) Windows Server 2016 用户名:Administrator  密码:cxthhhhh.com
  16) Windows Server 2012 R2 用户名:Administrator  密码:cxthhhhh.com
  17) Windows Server 2008 R2 用户名:Administrator  密码:cxthhhhh.com
  18) Windows Server 2003 用户名:Administrator  密码:cxthhhhh.com
  自定义安装请使用:bash Network-Reinstall-System.sh -DD '镜像地址'

请输入编号:

Bash 复制

其他系统

如果您不了解这意味着什么,请不要进行操作。%ULR%应该替换为您自己的映像地址。

bash Network-Reinstall-System.sh -DD "%URL%"

Bash 复制

当您执行完上面的2行命令,你的服务器将开始网络重装纯净系统。在完成安装前,您将无法进行连接管理。

因硬件配置和网络环境不同,安装全程需要15-60分钟,请耐心等待。安装完成即可通过IP:22(Linux SSH)/IP:3389(Windows RDP)进行连接。


版权属于: July's Bolg 所有,转载请注明出处

本文链接: https://yangwenqing.com/archives/757/

友情提示: 如果文章部分链接出现404,请留言或者联系博主修复。