推荐安装Debian9
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/installNET/master/Install.sh" && chmod +x Install.sh && ./Install.sh
本站备用脚本:
wget -N --no-check-certificate "https://pan.bobqu.cyou/Bash/Install.sh" && chmod +x Install.sh && ./Install.sh
萌咖大佬的一键重装脚本:
①. RedHat/CentOS:
yum install -y xz openssl gawk file
②. Debian/Ubuntu:
apt-get install -y xz-utils openssl gawk file
以重装为Debian9 32bit系统为例
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 9 -v 32 -p "自定义root密码" -port "自定义ssh端口"
重装为Debian8
wget -N --no-check-certificate https://raw.githubusercontent.com/veip007/dd/master/InstallNET.sh && chmod +x InstallNET.sh && ./InstallNET.sh -d 8 -v 64 -p "XXX123456" -a --mirror 'http://www.debian.uz/debian/'
开机改密:
#!/bin/bash
echo root:Vicer |sudo chpasswd root
sudo sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config;
sudo sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config;
sudo reboot
一键网络重装系统 - 魔改版(适用于Linux / Windows)
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 && bash ~/Network-Reinstall-System-Modify.sh -UI_Options
默认密码:cxthhhhh.com
转载自:loc@MeowLove