一、查看当前系统版本及内核信息

feng@feng2-virtual-machine:~/文档$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04 LTS
Release:	16.04
Codename:	xenial
feng@feng2-virtual-machine:~/文档$ uname -a
Linux feng2-virtual-machine 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
feng@feng2-virtual-machine:~/文档$ uname -r
4.4.0-21-generic
feng@feng2-virtual-machine:~/文档$ 

二、升级内核方法

1. 先到http://kernel.ubuntu.com/~kernel-ppa/mainline/选择需要的内核安装包
2. X86硬件架构64位操作系统应选择AMD64
3. 下载3个内核deb安装文件
   #Ubuntu内核网站里每个版本的内核有很多安装包,在此我们选择必须的3个安装包即可。(两个headers,一个image)    
    wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.13.1/linux-headers-4.13.1-041301_4.13.1-041301.201709100232_all.deb
    wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.13.1/linux-headers-4.13.1-041301-generic_4.13.1-041301.201709100232_amd64.deb
    wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.13.1/linux-image-4.13.1-041301-generic_4.13.1-041301.201709100232_amd64.deb
4. 安装deb包
   sudo dpkg -i *.deb    

三、更新grub,重启验证

root@ubuntu:~# update-grub
root@ubuntu:~# reboot
root@ubuntu:~# uname -sr
#Ubuntu内核已经升级为Linux 4.13.1-041301-generic版本
Linux 4.13.1-041301-generic