Ubuntu
https://wiki.ubuntu.com/Kernel/MainlineBuilds
mkdir ~/new_kernel && cd ~/new_kernel
# https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.6.4/linux-headers-5.6.4-050604_5.6.4-050604.202004131234_all.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.6.4/linux-headers-5.6.4-050604-generic_5.6.4-050604.202004131234_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.6.4/linux-image-unsigned-5.6.4-050604-generic_5.6.4-050604.202004131234_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.6.4/linux-modules-5.6.4-050604-generic_5.6.4-050604.202004131234_amd64.deb
ls
dpkg -i *
reboot
CentOS 8
#http://elrepo.org/tiki/tiki-index.php
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org -y
yum install https://www.elrepo.org/elrepo-release-8.0-2.el8.elrepo.noarch.rpm
dnf --enablerepo=elrepo-kernel install kernel-ml
# or kernel-lt for LTS version
reboot
Debian 9
非最新内核,但该方法来源官方库。
#https://wiki.debian.org/zh_CN/Backports
echo 'deb http://deb.debian.org/debian stretch-backports main contrib non-free' >> /etc/apt/sources.list
# debian 10 用 buster
apt-get update
apt search linux-image-
另一种方法,内核版本更新一点:
mkdir ~/new_kernel && cd ~/new_kernel
#http://mirrors.edge.kernel.org/debian/pool/main/l/linux/
#linux-image-5.6
wget http://mirrors.edge.kernel.org/debian/pool/main/l/linux/linux-image-5.5.0-rc5-cloud-amd64-unsigned_5.5~rc5-1~exp1_amd64.deb
ls
dpkg -i *
reboot
CentOS 7:https://blog.51cto.com/bella41981/2501890