栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

个人所遇到的报错

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

个人所遇到的报错

VMware

before you can run vmware several modules must be complied

kernel headers for version were not found if you

C header files matching your running kernel were not found.  Refer to your distribution's documentation for installation instruction。

1.安装gcc 

yum -y install gcc

2.复制 centosISO镜像(与本机系统版本一致) 至centos系统 图形状态下打开/挂载。找到内核相关文件,为方便,可直接输出包名至/ker.txt  

find ./ -name  "ker*"  > /ker.txt  

相关安装包

然后安装包。

yum install -y kernel-devel-3.10.0-1160.el7.x86_64.rpm

yum install -y kernel-tools-libs-3.10.0-1160.el7.x86_64.rpm

yum install -y kernel-3.10.0-1160.el7.x86_64.rpm

yum install -y kernel-abi-whitelists-3.10.0-1160.el7.noarch.rpm

yum install -y kernel-debug-devel-3.10.0-1160.el7.x86_64.rpm

yum install -y kernel-tools-3.10.0-1160.el7.x86_64.rpm

yum install -y kernel-headers-3.10.0-1160.el7.x86_64.rpm

打开虚拟机,问题解决。

密钥

YF390 0HF8P M81RQ 2DXQE M2UT6 ( VMware Workstation 16 Pro Linux版 )


参考连接:https://www.jianshu.com/p/f7fc9c0a34e5

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/836590.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号