
Upgrade Ubuntu 14.04 LTS to the newest kernel just in case you want to play with later versions of Dockers or systemd on an LTS release.
DISCLAIMER – MESSING WITH THE KERNEL CAN BE BAD. RUN YOUR BACKUPS AND SNAPSHOTS AND DON’T PLAY WITH LIVE AMMO!
Step 1 – First check “kernel.ubuntu.com/~kernel-ppa/mainline” to find out the current mainline kernel. As I type this it is 4.3.4 but you may not want to copy and paste these as it has probably changed by the time you read this. It is software, right?
sudo su mkdir -p /home/ubuntu/kernels cd /home/ubuntu/kernels/ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304_4.3.4-040304.201601230132_all.deb wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304-generic_4.3.4-040304.201601230132_amd64.deb wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-image-4.3.4-040304-generic_4.3.4-040304.201601230132_amd64.deb sudo dpkg -i linux-headers-4.3.4*.deb linux-image-4.3.4*.deb sudo reboot
NOTE: I have hit an error on this upgrade several times similar to this:
Errors were encountered while processing:
linux-headers-4.3.4-040304-generic
The fix was to run these
apt-get -f install
apt-get autoremove
Next you MUST REBOOT. Then log back in and check what kernel you are running
uname -a
# from that you get a long string and in the string you should see something like this:
4.3.4-040304-generic
Keep googling for more, or duckduckgo-ing. My biggest advice would be to create a throw-away VM in the cloud to test this stuff. VMWare isn’t great for networking by “sox” imho.
