1.查看ubuntu的内核版本
cat /proc/version

uname -sr

###任选其一查看
2.根据自己的操作系统下载.deb文件
http://kernel.ubuntu.com/~kernel-ppa/mainline/
3.连网的状态采用wget 下载到本机
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.14/amd64/linux-headers-5.14.0-051400-generic_5.14.0-051400.202108292331_amd64.deb

wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.14/amd64/linux-headers-5.14.0-051400_5.14.0-051400.202108292331_all.deb

wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.14/amd64/linux-image-unsigned-5.14.0-051400-generic_5.14.0-051400.202108292331_amd64.deb

wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.14/amd64/linux-modules-5.14.0-051400-generic_5.14.0-051400.202108292331_amd64.deb
4.使用apt安装
dpkg -i *.deb    ###下载完成使用该命令安装
5.重启生效,然后查看内核
reboot               ###重启生效

uname -sr           ###查看内核