升级Ubuntu的Linux Kernel

安装新内核

apt update
apt dist-upgrade
apt-cache search linux-image
apt-cache search linux-headers
apt install linux-image-4.15.0-15-generic linux-image-extra-4.15.0-15-generic linux-headers-4.15.0-15-generic
shutdown -r now

清理旧内核

dpkg --list|grep linux-image
dpkg --list|grep linux-headers
apt purge linux-image-4.14.13-041413-generic linux-headers-4.14.13-041413-generic