参考链接:
https://linuxhint.com/how-to-upgrade-kernel-of-debian-9-stretch-from-source/
https://blog.youkuaiyun.com/weixin_39465823/article/details/84138135
本文主要介绍:从下载内核源码到在Debian 9 stretch完成编译升级内核全过程
1.检查本机安装内核版本
$:uname -r
2.去linux内核官网下载内核源代码
选择保存文件
3.安装编译内核的必要工具
更改软件源
$:su
#:gedit /etc/apt/sources.list
注释掉cdrom,添加如下内容
deb http://mirrors.163.com/debian/ stretch main
deb http://mirrors.163.com/debian/ stre