一、Linux VPS和独立服务器一键安装Windows和Linux系统
项目:
- https://github.com/MeowLove/Network-Reinstall-System-Modify
- 镜像:https://opendisk.cxthhhhh.com/?dir=OperatingSystem
1.1 注意事项
要求VPS主机或者服务器已安装任意由GRUB or GRUB2引导Linux系统(RedHat/CentOS/Debian/Ubuntu/Etc.)。所有系统安装完毕的默认密码是[cxthhhhh.com],为了防止暴力破解,你必须在安装完毕立刻修改默认密码!
重装和安装系统前准备:
- # RedHat/CentOS:
- yum install -y xz openssl gawk file
- # Debian/Ubuntu:
- apt-get install -y xz-utils openssl gawk file
1.2 一键重装/安装Windows和Linux
在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
执行命令后,会重启VPS或者服务器。
转载请注明:迅网免费资源博客 » Linux VPS主机和独立服务器一键安装Windows和Linux系统-网络安装/重装/纯净安装