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

环境要求

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

使用方法

安装Linux系统

下载脚本(通过root用户运行)

wget –no-check-certificate -qO ~/Network-Reinstall-System-Modify.sh ‘https://www.cxthhhhh.com/CXT-Library/Network-Reinstall-System-Modify/Network-Reinstall-System-Modify.sh’ && chmod a+x ~/Network-Reinstall-System-Modify.sh

2. 安装系统(任选其一)

#一键网络重装纯净CentOS 7(推荐)
bash ~/Network-Reinstall-System-Modify.sh -CentOS_7
#一键网络重装纯净CentOS 6
bash ~/Network-Reinstall-System-Modify.sh -CentOS_6
#一键网络重装纯净Debian 9(推荐)
bash ~/Network-Reinstall-System-Modify.sh -Debian_9
#一键网络重装纯净Debian 8
bash ~/Network-Reinstall-System-Modify.sh -Debian_8
#一键网络重装纯净Debian 7
bash ~/Network-Reinstall-System-Modify.sh -Debian_7
#一键网络重装纯净Ubuntu 18.04(推荐)
bash ~/Network-Reinstall-System-Modify.sh -Ubuntu_18.04
#一键网络重装纯净Ubuntu 16.04
bash ~/Network-Reinstall-System-Modify.sh -Ubuntu_16.04
#一键网络重装纯净Ubuntu 14.04
bash ~/Network-Reinstall-System-Modify.sh -Ubuntu_14.04

安装Windows系统

警告:你需要购买来自Microsoft或其合作伙伴正版系统授权并激活系统使用。继续安装即代表您知悉并已经购买正版授权。

#一键网络重装纯净Windows Server 2019(推荐)
bash ~/Network-Reinstall-System-Modify.sh -Windows_Server_2019
#一键网络重装纯净Windows Server 2016
bash ~/Network-Reinstall-System-Modify.sh -Windows_Server_2016
#一键网络重装纯净Windows Server 2012 R2
bash ~/Network-Reinstall-System-Modify.sh -Windows_Server_2012R2
#一键网络重装纯净Windows Server 2008 R2
bash ~/Network-Reinstall-System-Modify.sh -Windows_Server_2008R2
#一键网络重装纯净Windows 7 Vienna
bash ~/Network-Reinstall-System-Modify.sh -Windows_7_Vienna
#一键网络重装纯净Windows Server 2003
bash ~/Network-Reinstall-System-Modify.sh -Windows_Server_2003

安装裸机系统部署平台

*仅适用于高端用户,手动安装任意系统。可通过网络ISO或iPXE安装任意系统。详见教程

bash ~/Network-Reinstall-System-Modify.sh -CXT_Bare-metal_System_Deployment_Platform

安装DD系统

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

bash ~/Network-Reinstall-System-Modify.sh -DD "%URL%"

恭喜,你已经完成了系统重装,享受当下的美好

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

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

恭喜,你已经完成了系统重装

常规说明

1、当您执行完上面的2行命令,你的服务器将开始网络重装纯净系统。在完成安装前,您将无法进行连接管理。因硬件配置和网络环境不同,安装全程需要15-60分钟,请耐心等待。安装完成即可通过IP:22(Linux SSH)/IP:3389(Windows RDP)进行连接。

2、为了保证更高的兼容性。推荐重装纯净系统前,您当前的系统版本为:CentOS 7 / Debian 9 / Ubuntu 18.04 。(在您的服务商未提供以上操作系统时,您可以考虑使用其他系统)

3、原系统推荐优先级:C7 > U18 > D9 > U16 > D8 > 商家提供的其它系统

默认账户

通常,使用自带镜像,或者您的镜像作者未明确说明系统的用户名和密码的情况下。

对于Microsoft Windows。
默认的用户名是:Administrator
默认的密码是:cxthhhhh.com

对于Linux(CentOS / Debian / Ubuntu),裸机系统部署平台等。
默认的用户名是:root
默认的密码是:cxthhhhh.com

安全提示

【提示】系统重装完成后,请您务必立刻修改系统的默认密码【cxthhhhh.com】,并做好系统更新和安全补丁工作,否则您的服务器可能面临安全隐患。

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容