I don’t know how can I update the Kernel on my Linux VPS. Please help me.
Execute the following commands in order:
sudo apt-get update sudo apt-get upgrade
Now, Create a directory for new kernel version 4.11.2:
sudo mkdir -p ~/4.11.2 cd ~/4.11.2
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11.2/linux-headers-4.11.2-041102_4.11.2-041102.201705201036_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11.2/linux-headers-4.11.2-041102-generic_4.11.2-041102.201705201036_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11.2/linux-image-4.11.2-041102-generic_4.11.2-041102.201705201036_amd64.deb
dpkg -i *.deb
sudo update-grub
sudo reboot
Remove the old kernel using the following command:
sudo apt-get install byobu
dpkg -l | grep linux-image
sudo purge-old-kernels
purge-old-kernels --keep 1 -q
sudo update-grub
+8595670151
7 days a week, 24 hours a day