打开https://kernel.ubuntu.com/~kernel-ppa/mainline/自己需要的内核版本
#老版本
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15/linux-headers-4.15.0-041500_4.15.0-041500.201802011154_all.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15/linux-headers-4.15.0-041500-generic_4.15.0-041500.201802011154_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15/linux-image-4.15.0-041500-generic_4.15.0-041500.201802011154_amd64.deb
#新版本新增了一个文件
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2/linux-headers-5.2.0-050200_5.2.0-050200.201907231526_all.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2/linux-headers-5.2.0-050200-generic_5.2.0-050200.201907231526_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2/linux-image-unsigned-5.2.0-050200-generic_5.2.0-050200.201907231526_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2/linux-modules-5.2.0-050200-generic_5.2.0-050200.201907231526_amd64.deb
sudo dpkg -i *.deb
sudo reboot
uname -sr