前2天新折腾了一个vps,Centos7.7,CentOs8.1, Debian9.4,Debian10 各种不适应,然后暂时停留在Debian 10,发现内核Debian有点老,内核4.19,于是想着先升级5.4,这里记录一下。
#!/bin/bash
# add backport sources to the end of the file
echo "deb http://ftp.us.debian.org/debian/ buster-backports main" >> /etc/apt/sources.list
echo "deb-src http://ftp.us.debian.org/debian/ buster-backports main" >> /etc/apt/sources.list
# update apt and install kernel 5.4
apt update ; apt install -t buster-backports linux-image-amd64
几行命令,开始安装,重启后生效了,5.4内核已经启用了。
uname -r
5.4.0-0.bpo.4-amd64
文章评论