`
JerryWang_SAP
  • 浏览: 1035951 次
  • 性别: Icon_minigender_1
  • 来自: 成都
文章分类
社区版块
存档分类
最新评论

如何处理错误消息Please install the Linux kernel header files

阅读更多

Please install the Linux kernel "header" files matching the current kernel

当我启动minilkube时遇到如下错误消息:

 

################################################################################

Minikube setup with driver virtualbox

################################################################################

Starting local Kubernetes v1.10.0 cluster...

Starting VM...

E1010 03:57:24.565157 9896 start.go:174] Error starting host: Error creating host: Error executing step: Running precreate checks.

: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (3.10.0-862.11.6.el7.x86_64) or it failed to load. Please recompile the kernel module and install it by sudo /sbin/vboxconfig You will not be able to start VMs until this problem is fixed. 5.2.18r124319". Please upgrade at https://www.virtualbox.org.

Retrying.

E1010 03:57:24.566250 9896 start.go:180] Error starting host: Error creating host: Error executing step: Running precreate checks.

: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (3.10.0-862.11.6.el7.x86_64) or it failed to load. Please recompile the kernel module and install it by sudo /sbin/vboxconfig You will not be able to start VMs until this problem is fixed. 5.2.18r124319". Please upgrade at https://www.virtualbox.org

执行命令行:

rcvboxdrv setup

vboxdrv.sh: Stopping VirtualBox services.

vboxdrv.sh: Starting VirtualBox services.

vboxdrv.sh: Building VirtualBox kernel modules.

This system is currently not set up to build kernel modules.

Please install the Linux kernel "header" files matching the current kernel

for adding new hardware support to the system.

The distribution packages containing the headers are probably:

kernel-devel kernel-devel-3.10.0-862.11.6.el7.x86_64

所以解决这个错误的关键就是:

Please install the Linux kernel "header" files matching the current kernel

执行命令行:yum install kernel-devel

Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Resolving Dependencies

--> Running transaction check

---> Package kernel-devel.x86_64 0:3.10.0-862.14.4.el7 will be installed

--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================

Package Arch Version Repository Size

========================================================================================================

Installing:

kernel-devel x86_64 3.10.0-862.14.4.el7 rhel_7_server_rpms 16 M

Transaction Summary

========================================================================================================

Install 1 Package

Total download size: 16 M

Installed size: 37 M

Is this ok [y/d/N]:

选择Y之后,成功安装。

 

Install 1 Package

Total download size: 16 M

Installed size: 37 M

Is this ok [y/d/N]: y

Downloading packages:

Delta RPMs disabled because /usr/bin/applydeltarpm not installed.

kernel-devel-3.10.0-862.14.4.el7.x86_64.rpm | 16 MB 00:00:18

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

Installing : kernel-devel-3.10.0-862.14.4.el7.x86_64 1/1

Verifying : kernel-devel-3.10.0-862.14.4.el7.x86_64 1/1

Installed:

kernel-devel.x86_64 0:3.10.0-862.14.4.el7

Complete!

 

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

 
0
0
分享到:
评论

相关推荐

    MTK 6737 Modem tools tools/GCC/4.6.2/linux/bin/arm-none-eabi-gcc

    解决mtk6737平台modem编译错误! Please install the GCC Cross-Compiler on correct path: tools/GCC/4.6.2/linux/bin/arm-none-eabi-gcc

    linux 0.11 kernel开发包 适于进行Linux OS研究

    # Install the bochs emulate system first! # Included is bochs version 2.1.1 packet.(Bochs-2.1.1.exe) #---------------------------------------------------------- # This is a root file system for linux...

    mtk 6572 modem tools tools/GCC/4.6.2/linux/bin/arm-none-eabi-gcc

    解决mtk6572平台modem编译错误! Please install the GCC Cross-Compiler on correct path: tools/GCC/4.6.2/linux/bin/arm-none-eabi-gcc

    kernel-headers-3.10.0-1127.10.1.el7.x86_64.rpm

    centos出现Missing Dependency :kernel-header 的解决方法: “Error: Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-81.el5_8.2.x86_64” 安装kernel-headers即可解决问题

    Linux kernel coding style

    linux kernel. Coding style is very personal, and I won't _force_ my views on anybody, but this is what goes for anything that I have to be able to maintain, and I'd prefer it for most other things too...

    linux kernel-3.2.4_new

    This is the latest linux kernel. If you like,please download.

    opc2.0环境 直接安装

    7. **错误排查**:如果遇到问题,检查事件查看器中的错误日志,它们通常会提供解决问题的线索。 在进行OPC 2.0环境的部署时,理解DCOM配置至关重要,因为这是OPC通信的关键所在。DCOM配置不正确可能导致连接失败、...

    自己制作的OPC 2.0核心组件安装包

    做了如下一些处理: 自动判断OPC 2.0核心组件是否安装。 自动判断操作系统类型进行安装 自动注册OPC 2.0核心组件文件 自动判断操作系统类型配置系统防火墙 自动判断操作系统类型配置DCOM 在两台干净操作系统的计算机...

    kernel-headers-3.10.0-957.el7.x86_64

    标题“kernel-headers-3.10.0-957.el7.x86_64”指的是Linux内核头文件的一个特定版本,用于RPM(Red Hat Package Manager)包管理系统的环境。在这个案例中,它是针对Linux内核版本3.10.0-957,适配于EL7...

    OPC2.0DLL安装程序.rar

    双击运行即可,不用再拷贝别的DLL,win1064亲测可用。资源来自于最新的中国工控网,关于OPC的博客请看https://blog.csdn.net/dashumak/column/info/40471

    阿雷笔记opc 2.0 componets 组件

    错误信息“Error connecting to OPC server Browser.没有注册类”表明在尝试建立OPC连接时,系统无法找到或识别用于OPC通信的必要组件,这通常是因为缺少相应的COM组件或者注册表中的相关条目缺失。OPC Client是用于...

    linux gcc install

    在Linux系统中,GCC(GNU Compiler Collection)是一个关键的开源工具链,用于编译C、C++、Fortran、Objective-C等编程语言的源代码。它不仅包括了编译器,还包括预处理器、链接器和其他相关工具。这篇文章将详细...

    This application requires Visual Studio 2013 Redistributable.

    Please install the Redistributable then run this installer again. 的解决办法.报错如下: 1: Action 10:59:21: INSTALL. 1: 1: MySQL Server 5.7 2: {F08E9C75-A42E-4962-8760-4CBD9CF35D7A} 1: Action 10:59:...

    js代码规范之Eslint安装与配置详解

    什么是 ESLint ESLint(中文站点)是一个开源的 JavaScript 代码检查工具,使用 Node.js 编写,由 Nicholas C. Zakas 于 2013 年 6 月创建。ESLint 的初衷是为了让程序员可以创建...$ npm install -g eslint 初始化配

    kernel-headers-4.18.0-348.el8.x86_64.rpm

    官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装

    OPC_2.0_Coreponents-Setup

    OPC 配置DCOM的所需要的动态库,OPC_2.0_Core_Components 直接双击安装即可。...(OPC configuration of DCOM required dynamic library, OPC_2.0_Core_Components double click directly install.)

    linux下libusb驱动安装文件及其测试程序

    在Linux环境中,libusb是一个开源库,用于与USB设备进行低级别的交互。它提供了一种跨平台的方式来访问USB设备,而无需依赖操作系统特定的API。libusb-1.0.9是该库的一个版本,包含了头文件、库文件以及相关的构建...

    报错:Android SDK Platforms directory is not exist, please install the whole thing

    环境:macos 执行 macaca doctor会报错 因为macaca doctor的机制 源码片段: check_ANDROID_HOME = function *() { if (typeof env.ANDROID_HOME !== 'undefined') { _.pass('ANDROID_HOME is set to `%s`', env....

    Linux 内核源码镜像

    Linux kernel ============ There are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. Please read Documentation/admin-guide/...

    vmtools-linux.iso

    In which directory do you want to install the documentation files? [/usr/share/doc/vmware-tools] Thepath "/usr/share/doc/vmware-tools" does not exist currently.Thisprogram isgoing to create it, ...

Global site tag (gtag.js) - Google Analytics