1. Verify the issue occurs on server, see detail
git clone https://github.com/speed47/spectre-meltdown-checker.git ~/tmp/spectre-meltdown-checker
cd ~/tmp/spectre-meltdown-checker/ && sudo ./spectre-meltdown-checker.sh
Make sure to save the result to file for verifying after patching
2a. Upgrade the OS, see here
- Update apt:
sudo apt-get update
- See detail which kernel package to patch per Ubuntu version at here
- Check the kernel package name on server with
COLUMNS=120 dpkg -l linux-image*
- Sample (for reference only) install command to patch the kernel on Ubuntu 14.0
sudo apt-get install linux-image-3.13.0-141-generic
- And then reboot server, run check script again to verify