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

推荐订阅源

T
Tenable Blog
H
Heimdal Security Blog
K
Kaspersky official blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
S
Schneier on Security
G
GRAHAM CLULEY
U
Unit 42
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
C
CERT Recently Published Vulnerability Notes
Google DeepMind News
Google DeepMind News
罗磊的独立博客
Stack Overflow Blog
Stack Overflow Blog
阮一峰的网络日志
阮一峰的网络日志
Simon Willison's Weblog
Simon Willison's Weblog
C
Cisco Blogs
Cyberwarzone
Cyberwarzone
T
The Exploit Database - CXSecurity.com
Project Zero
Project Zero
Security Archives - TechRepublic
Security Archives - TechRepublic
www.infosecurity-magazine.com
www.infosecurity-magazine.com
博客园 - 司徒正美
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
V
Visual Studio Blog
博客园 - Franky
Engineering at Meta
Engineering at Meta
WordPress大学
WordPress大学
Jina AI
Jina AI
P
Proofpoint News Feed
P
Proofpoint News Feed
有赞技术团队
有赞技术团队
L
LINUX DO - 最新话题
宝玉的分享
宝玉的分享
N
News and Events Feed by Topic
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
博客园 - 聂微东
T
The Blog of Author Tim Ferriss
Spread Privacy
Spread Privacy
Application and Cybersecurity Blog
Application and Cybersecurity Blog
IT之家
IT之家
S
Security Affairs
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
小众软件
小众软件
N
News | PayPal Newsroom
Cloudbric
Cloudbric
AWS News Blog
AWS News Blog
W
WeLiveSecurity
The Last Watchdog
The Last Watchdog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
NISL@THU
NISL@THU

博客园 - 茶猫的学习笔记

WSL2 中使用 Arch Linux Beyond Compare 4 便携版 添加右键菜单 [Ubuntu 20.04] 修复‘systemd-shutdown[1]: waiting for process: crond’需等待1分半钟的问题 解决Ubuntu 20.04升级后gnome-control-center设置程序无法打开问题 Canon LBP2900安装Linux驱动的方法 CentOS8 安装 simple-scan 的方法 CentOS8 缺少 libglade2 安装包的回避方法 CentOS8 使用 aliyun 阿里云 镜像站点的方法 CentOS7或CentOS8 开机自动启用网卡的设置方法 KDE-解决.docx .xlsx .pptx文档默认由Ark打开的问题 树莓派-Ubuntu Mate开启ssh服务 树莓派-CentOS-Minimal arm版的设置 树莓派-Ubuntu Mate开启远程桌面xrdp服务 树莓派-为Ubuntu Mate更换国内源 [转] CentOS 5.x 键盘布局改为日语 Debian/Ubuntu安装WPS (转) Vmware中Linux或macOS客户端如何回收硬盘空间 OS X 10.11:在exFAT分区的外置硬盘上使用Time Machine。 OS X 10.11:如何完全停用Time Machine。
CentOS7或CentOS8 安装VirtualBox Guest Addon缺少kernel-headers的解决办法
茶猫的学习笔记 · 2019-09-26 · via 博客园 - 茶猫的学习笔记

CentOS7或CentOS8 在Oracle VM VirtualBox中安装Guest Addon时,如果缺少kernel-headers和相应的编译库,会提示出错。

"kernel headers not found for target kernel"

这时需要先将系统升级到最新的内核,并安装kernel-headers等相应的库。

先升级内核,这一步也可以用sudo yum update升级所有软件包:

sudo yum update kernel -y

更新完内核并用sudo init 6重启后,再安装需要的kernel-headers等软件包:

sudo yum install kernel-headers kernel-devel gcc make elfutils-libelf-devel -y

安装后再尝试安装Guest Addon,发现可以正常安装了。安装完后鼠标可自由移除视窗。