腾讯云的学生机到期了,重新购了一台服务器,然后选用了 Debian,原因是 Debian 图标好看
#更新索引和软件免得出幺蛾子
更新软件索引
sudo apt update 更新本地所有软件
sudo apt full-upgrade 备份
sudo cp /etc/apt/cources.list /etc/apt/scources.list.bak 切换 stretch 源到 buster 源
sudo sed -i 's/stretch/buster/g' /etc/apt/bashsources.list 更新索引
sudo apt update 升级 debian stretch 到 debian buster
sudo apt upgrade #跨版本升级选择项
选择引导模式 Yes
If you choose this option, a system reboot will trigger a restart into a kernel loaded by kexec instead of going through the full system boot loader process 启用 kdump-tool Yes
If you choose this option, the kdump-tools mechanism will be enabled. A reboot is still required in order to enable the crashkernel kernel parameter. 更新libc Yes
更新system.confYes
更新bash.bashrc Yes
更新sysctl.confYes
更新logrotate.d/rsyslogYes
更新kdump-tools配置文件 Yes
更新grub Yes
重启更新完成