为Debian 10更换Cloud内核

一、更新package

sudo apt-get update && sudo apt-get dist-upgrade

二、查看系统现有内核

dpkg -l|grep linux-image

三、查看最新内核

sudo apt-cache search linux-image

四、安装Cloud内核

sudo apt-get install linux-image-4.19.0-6-cloud-amd64 -y

五、卸载老内核

sudo apt-get remove linux-image-4.19.0-6-amd64

六、更新grub

sudo update-grub

七、重启

reboot

八、验证是否成功

uname -r