安装重装系统的前提组件:
Debian/Ubuntu:
apt-get install -y xz-utils openssl gawk file wget screen && screen -S os
Centos
yum install -y xz openssl gawk file glibc-common wget screen && screen -S os
出现异常,刷新Mirrors缓存或更换镜像源
Debian/Ubuntu
apt update -y && apt dist-upgrade -y
Centos:
yum makecache && yum update -y
中途出现任何提示,Tab选择yes后回车继续即可。
使用
wget --no-check-certificate -O NewReinstall.sh https://git.io/newbetags && chmod a+x NewReinstall.sh && bash NewReinstall.sh
如为CN主机(部分主机商已不能使用),可能出现报错或不能下载脚本的问题,可执行以下命令开始安装.
wget --no-check-certificate -O NewReinstall.sh http://103.234.96.27/NewReinstall.sh && chmod a+x NewReinstall.sh && bash NewReinstall.sh (只有21 windows2012可用)