2021年6月
2021-06-24 15:40:25_photo
鼓楼区勺园里1号
一键重装脚本
脚本地址:
https://github.com/leitbogioro/Tools/
先SSH登陆你的机器,用以下命令下载脚本:
wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/WedTools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh
以Debian 9为例,你的机器对应以下哪个地域,就可以用对应的命令来重装,根据服务器地址指定不同的源,可以提升下载速度,以下这些源都是官方的,不用怕被魔改了加了什么奇奇怪怪的东西:
美国:
bash InstallNET.sh -d 9 -v 64 -a --mirror 'http://ftp.us.debian.org/debian/' -firmware
日本1:
bash InstallNET.sh -d 9 -v 64 -a --mirror 'http://ftp.yz.yamagata-u.ac.jp/debian/' -firmware
日本2:
bash InstallNET.sh -d 9 -v 64 -a --mirror 'http://ftp.riken.jp/Linux/debian/debian/' -firmware
香港:
bash InstallNET.sh -d 9 -v 64 -a --mirror 'http://ftp.hk.debian.org/debian/' -firmware
新加坡:
bash InstallNET.sh -d 9 -v 64 -a --mirror 'http://ftp.sg.debian.org/debian/' -firmware
韩国:
bash InstallNET.sh -d 9 -v 64 -a --mirror 'http://ftp.riken.jp/Linux/debian/debian/' -firmware
英国:
bash InstallNET.sh -d 9 -v 64 -a --mirror 'http://ftp.uk.debian.org/debian/' -firmware
德国:
bash InstallNET.sh -d 9 -v 64 -a --mirror 'http://ftp.de.debian.org/debian/' -firmware
法国:
bash InstallNET.sh -d 9 -v 64 -a --mirror 'http://ftp.fr.debian.org/debian/' -firmware
印度:
bash InstallNET.sh -d 9 -v 64 -a --mirror 'http://mirror.cse.iitk.ac.in/debian/' -firmware
加拿大:
bash InstallNET.sh -d 9 -v 64 -a --mirror 'http://ftp.ca.debian.org/debian/' -firmware
俄罗斯:
bash InstallNET.sh -d 9 -v 64 -a --mirror 'http://ftp.ru.debian.org/debian/' -firmware
中国1 清华大学镜像:
bash InstallNET.sh -d 9 -v 64 -a --mirror 'https://mirrors.tuna.tsinghua.edu.cn/debian/' -firmware --cdimage 'ustc'
中国2 163镜像:
bash InstallNET.sh -d 9 -v 64 -a --mirror 'http://mirrors.163.com/debian/' -firmware --cdimage 'ustc'
中国3 腾讯云镜像:
bash InstallNET.sh -d 9 -v 64 -a --mirror 'http://mirrors.cloud.tencent.com/debian/' -firmware --cdimage 'ustc'
重装完成后,默认登陆端口22,SSH密码是:MoeClub.org,重装后请尽快修改密码
2021-06-08 21:37:42_memo
Get.online 免费注册一年.online后缀域名
注册地址
https://get.online/
折扣码
BLOGOSPHERE