首先下载内核源码包
1. 官网源码包
https://www.kernel.org/
2. 国内镜像源
https://mirrors.ustc.edu.cn/kernel.org/linux/kernel/
https://mirrors.tuna.tsinghua.edu.cn/kernel/
https://mirrors.nju.edu.cn/kernel.org/linux/kernel/
3. elrepo
提供R系编译好的rpm包和源码包
https://mirrors.tuna.tsinghua.edu.cn/elrepo/kernel/
https://mirrors.ustc.edu.cn/elrepo/kernel/
https://mirrors.nju.edu.cn/elrepo/kernel/
1. 官网源码包
https://www.kernel.org/
2. 国内镜像源
https://mirrors.ustc.edu.cn/kernel.org/linux/kernel/
https://mirrors.tuna.tsinghua.edu.cn/kernel/
https://mirrors.nju.edu.cn/kernel.org/linux/kernel/
3. elrepo
提供R系编译好的rpm包和源码包
https://mirrors.tuna.tsinghua.edu.cn/elrepo/kernel/
https://mirrors.ustc.edu.cn/elrepo/kernel/
https://mirrors.nju.edu.cn/elrepo/kernel/