Skip to content

Instantly share code, notes, and snippets.

@looztra
Created September 22, 2016 19:04
Show Gist options
  • Save looztra/2f20a8fcea40375ac39a9d12eb927ec6 to your computer and use it in GitHub Desktop.
Save looztra/2f20a8fcea40375ac39a9d12eb927ec6 to your computer and use it in GitHub Desktop.
Install Kernel 3.18 on AWS Ubuntu 14.04 instance
#!/bin/bash
cd /tmp
sudo curl -s -L -O http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.10-vivid/linux-headers-3.18.10-031810_3.18.10-031810.201503241436_all.deb
sudo curl -s -L -O http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.10-vivid/linux-headers-3.18.10-031810-generic_3.18.10-031810.201503241436_amd64.deb
sudo curl -s -L -O http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.10-vivid/linux-image-3.18.10-031810-generic_3.18.10-031810.201503241436_amd64.deb
sudo DEBIAN_FRONTEND=noninteractive dpkg --force-all -i linux-headers-3.18.10-031810_3.18.10-031810.201503241436_all.deb
sudo DEBIAN_FRONTEND=noninteractive dpkg --force-all -i linux-headers-3.18.10-031810-generic_3.18.10-031810.201503241436_amd64.deb
sudo DEBIAN_FRONTEND=noninteractive dpkg --force-all -i linux-image-3.18.10-031810-generic_3.18.10-031810.201503241436_amd64.deb
sudo update-grub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment