Update
This tutorial is deprecated ever since Ubuntu 14.04 came out. Readers should upgrade to the Trusty Tahr kernel instead, or deploy a new 14.04 server.
To update to 14.04's kernel, run the following commands.
sudo apt-get install linux-image-generic-lts-trusty linux-headers-generic-lts-trusty sudo reboot
Many services, such as Amazon Web Services, will deploy Ubuntu 12.04 with the paravirtual 3.2 (Xen) based kernel rather than use the 3.8 generic kernel. This is because paravirtual images perform better than generic ones on a hypervisor. I only mention Xen because AFAIK, paravirtualization is Xen specific (i.e. you won't find it on a KVM based provider). However, you meay need to install the 3.8 kernel in order to run things like Docker or BTRFS. Luckily, this is very easy to do:
sudo apt-get install linux-image-generic-lts-raring linux-headers-generic-lts-raring
sudo reboot
Reverting
If you ever want to undo this and go back to the 3.2 kernel, just run the following commands:
sudo apt-get purge linux-image-3.8.* sudo update-grub sudo reboot
No comments:
Post a Comment