惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Tailwind CSS Blog
The GitHub Blog
The GitHub Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog
Microsoft Security Blog
Microsoft Security Blog
Stack Overflow Blog
Stack Overflow Blog
量子位
Martin Fowler
Martin Fowler
月光博客
月光博客
P
Proofpoint News Feed
博客园_首页
Y
Y Combinator Blog
I
InfoQ
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
Visual Studio Blog
H
Help Net Security
U
Unit 42
GbyAI
GbyAI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 司徒正美
MongoDB | Blog
MongoDB | Blog
F
Fortinet All Blogs
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell

噜啦 - Linux笔记本

du和ls查看文件大小不同的原因 - 噜啦 du和ls查看文件大小不同的原因 - 噜啦 服务管理工具 systemctl - 噜啦 服务管理工具 systemctl - 噜啦 进程的控制与进程之间的关系 - 噜啦 进程的控制与进程之间的关系 - 噜啦 ps 和 top 命令查看进程 - 噜啦 ps 和 top 命令查看进程 - 噜啦 Grub 配置文件介绍以及忘记root密码的解决方法 - 噜啦 Grub 配置文件介绍以及忘记root密码的解决方法 - 噜啦 CentOS 手动升级/安装内核 - 噜啦 网络管理和配置文件 - 噜啦 网络管理和配置文件 - 噜啦 网络故障排除命令 - 噜啦 网络故障排除命令 - 噜啦 route 查看路由 - 噜啦 route 查看路由 - 噜啦 ifconfig 网络管理 - 噜啦 ifconfig 网络管理 - 噜啦
CentOS 手动升级/安装内核 - 噜啦
博主: 噜啦 · 2020-05-17 · via 噜啦 - Linux笔记本

安装依赖

yum install gcc gcc-c++ make ncurses-devel openssl-devel elfutils-libelf-devel -y

下载源码

wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.6.13.tar.xz
解压
tar xvf linux-5.6.13.tar.xz -C /usr/src/kenels

配置内核编译参数

cd /usr/src/kenels/linux-5.6.13
make menuconfig | allyesconfig | allnoconfig

在linux-5.6.13会生成.config文件

也可以使用当前系统的内核配置

cp /boot/config-3.10.0-1062.18.1.el7.x86_64 /usr/src/kenels/linux-5.6.13/.config

查看CPU配置信息
lscpu

编译
make j1 all

安装内核

make modules_install
make install

赞赏作者

如果觉得我的文章对你有用,请随意赞赏