1:nano /etc/apt/sources.list #清空里面的内容
2:#如果是AMD64位架构的CPU,复制粘贴如下源
deb http://deb.debian.org/debian/ testing main contrib non-free
deb-src http://deb.debian.org/debian/ testing main contrib non-free
#国内网络环境用下面这个,复制粘贴。
deb https://mirrors.ustc.edu.cn/debian testing main contrib non-free
deb https://mirrors.ustc.edu.cn/debian testing-updates main contrib non-free
4:将GRUB_DEFAULT=0
#修改成
GRUB_DEFAULT="Advanced options for Debian GNU/Linux>Debian GNU/Linux, with Linux 6.10.3-cloud-amd64"
注意:加上Advanced options for Debian GNU/Linux是因为这个是必须的“一级菜单”后面的“内核”才是二级菜单,不这样做你输入update-grub更新后会报错。
5:update-grub
6:reboot
7: 重启后,继续修改nano /etc/default/grub,把:GRUB_DEFAULT="Advanced options for Debian GNU/Linux>Debian GNU/Linux, with Linux 6.10.3-cloud-amd64" 改回:GRUB_DEFAULT=0,这样以后你apt-get upgrade or apt-get dist-upgrade更新过的内核依然是第一启动顺序延续下去。
8:update-grub
9:因为已经是testing源了,所以你的内核是非常新的,不需要再使用第三方编译的mod内核去开启BBR3,直接修改一下sysctl.conf即可。