Changing a kernel is a potentially significant change and should only be done if you really need to. As always, make backups before you make any serious change to your server.
Then, the typical procedure for updating your kernel is as follows:
For Ubuntu or Debian, i use:
apt-get update apt-get dist-upgrade
For Fedora and Centos: (see /etc/yum.conf to make sure there is no ‘exclude=kernel*’ line in the [main] section)
yum update
For ArchLinux : (see /etc/pacman.conf and comment out any line that says “IgnorePkg=linux”)
pacman -Syu
Look in /lib/modules for the highest version of installed kernel library available.
In the control panel, in a droplet’s settings, look for a kernel that matches your OS version, kernel library version, and architecture (x32 or x64). Select that kernel and submit. If the kernel doesn’t exist there, stop and let us know your OS and version, your architecture, and what you saw in /lib/modules in a support ticket.
Once the kernel is set, reboot and test.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Are you asking a question or telling us? <br> <br>If you’re asking, you have to use the kernels provided by DO in the control panel. Shutdown your droplet, sudo shutdown -hP now, then login to the control panel at https://cloud.digitalocean.com click the name of the droplet you want to change the kernel for, click settings tab, then kernel tab and you’ll see the list of available kernels to use. Choose it and click change, then click the power tab and boot the droplet.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.