Warning: session_start(): Unable to clear session lock record in /www/wwwroot/reaff.com/wp-content/themes/Autumn-Pro/functions.php on line 5

Warning: session_start(): Failed to read session data: memcached (path: 127.0.0.1:11211) in /www/wwwroot/reaff.com/wp-content/themes/Autumn-Pro/functions.php on line 5
Linux下一键网络重装Linux|Windows系统 – 王板汪之家

Linux下一键网络重装Linux|Windows系统

cera cera

现在有大佬依Vicer的脚本,重新制作了新的脚本,支持Linux / Windows系统,支持Centos 7 。
所有系统安装完毕的默认密码是[cxthhhhh.com],为了防止暴力破解,你必须在安装完毕立刻修改默认密码!

一、安装必须的应用

Debian/Ubuntu:

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

RedHat/CentOS:

yum update yum install -y xz openssl gawk file

二、下载脚本(root用户)

wget --no-check-certificate -qO ~/Network-Reinstall-System-Modify.sh 'https://tech.cxthhhhh.com/tech-tools/Network-Reinstall-System-Modify/Network-Reinstall-System-Modify.sh' && chmod a+x ~/Network-Reinstall-System-Modify.sh

三、安装Linux系统

①. 一键网络重装纯净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系统

①. 一键网络重装纯净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

五、DD自己的系统

%ULR% 替换为您自己的映像地址

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

转自:https://tech.cxthhhhh.com/

cera cloudiplc tengxunyun

相关推荐