0

How to update Kernel on Linux VPS

Asked 3 years ago (Jun 08, 2022) in the field of VPS Hosting by Bardan Maverick

I don’t know how can I update the Kernel on my Linux VPS. Please help me.


Answers


0
Answered 3 years ago (Jun 13, 2022) by Eldernode Staff

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

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day