A while I posted about a script I wrote to quickly bootstrap a Digital Ocean droplet.

One one of the things I noticed while trying to install a few packages is that even though my script had run a yum update I was booting into the original Kernel and this was causing all sorts of hilarity when trying to build a Kernel module, because of this I added a few lines to my script to tell you if the kernel has been updated, and if so what the new version is;

script

Once the script has been run you should power down your droplet from within the control panel by selecting your droplet, then enter the Power menu, hit the “Power off” button to power down your droplet. While the droplet is powered off goto “Settings” and the switch to the “Kernel” tab, from there select the kernel you would like your droplet to use (in the example above its 3.10.0–229.11.1.el7.x86_64) and click the “Change” button;

digitaloceancontrolpanel

After you have changed the kernel return to the “Power” section and power on your droplet.

Once the droplet has booted you will be running the new kernel.

This process differs depending on the Operating System have chosen, but it is applicable to all of the CentOS droplets and Ubuntu versions below 15.04, not that I am running any Ubuntu servers.

Written by Russ McKendrick

I am he as you are he as you are me and we are all together

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s