终于解决了问题What is the location of the directory of C header files that match your running kernel
来源:互联网 发布:2017淘宝活动报名入口 编辑:程序博客网 时间:2024/05/16 09:20
在linux enterprise5 和 vmware 6。5的环境下安装oracle
但是vmare tools总是提示这个错误Whatis the location of the directory of C header files that match your runningkernel
差头文件啊。。
然后发现一个强大的帖子。。。
说是差三个包。。挂载光驱后在/mnt/cdrom/Server中可以找到
1、kernel-2.6.18-8.el5.i686.rpm
2、kernel-devel-2.6.18-8.el5.i686.rpm
3、kernel-xen-devel-2.6.18-8.el5.i686.rpm 就是这三个包。。安装好之后就可以安装VMWARE tools了。。
拷贝了一个文章里面的内容
我把这3个包拷贝到 /temp文件夹下面安装了。。
注意 命令
# mount /dev/cdrom /mnt/cdrom 挂载光驱 如果这个有问题 重新设置一下 ISO
cd /mnt/cdrom/Server
cp kernel-xen-devel-2.6.18-8.el5.i686.rpm /temp
cp kernel-2.6.18-8.el5.i686.rpm /temp
cp kernel-devel-2.6.18-8.el5.i686.rpm /temp
然后安装完成后,就可以安装vmware tools了 确定下去不会有问题了。。。
不过我这里安装还是有问题。。。但是最后强行重启虚拟机貌似vmwaretools就可以用了。。
杯具的事情总是在我这里发生。。
PS: rpm -q kernel-devel 检查某个包是否被安装
[root@localhost VMware-tools]# rpm -ivh kernel-xen-devel-2.6.18-8.el5.i686.rpm
11warning: kernel-xen-devel-2.6.18-8.el5.i686.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
12Preparing ########################################### [100%]
13 1:kernel-xen-devel ########################################### [100%]
14[root@localhost VMware-tools]# uname -r
152.6.18-8.el5xen
16[root@localhost VMware-tools]# rpm -q kenel-devel
17package kenel-devel is not installed
18[root@localhost VMware-tools]# ls
19kernel-2.6.18-8.el5.i686.rpm VMwareTools-6.0.0-45731.tar.gz
20kernel-xen-devel-2.6.18-8.el5.i686.rpm vmware-tools-distrib
21VMwareTools-6.0.0-45731.i386.rpm
22[root@localhost VMware-tools]# rpm -ivh kernel-
23kernel-2.6.18-8.el5.i686.rpm
24kernel-xen-devel-2.6.18-8.el5.i686.rpm
25[root@localhost VMware-tools]# rpm -ivh kernel-2.6.18-8.el5.i686.rpm
26warning: kernel-2.6.18-8.el5.i686.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
27Preparing ########################################### [100%]
28 1:kernel ########################################### [100%]
29[root@localhost VMware-tools]# uname -r
302.6.18-8.el5xen
31[root@localhost VMware-tools]# rpm -q kernel-devel
32package kernel-devel is not installed
33[root@localhost VMware-tools]# ls
34kernel-2.6.18-8.el5.i686.rpm kernel-xen-devel-2.6.18-8.el5.i686.rpm VMwareTools-6.0.0-45731.tar.gz
35kernel-devel-2.6.18-8.el5.i686.rpm VMwareTools-6.0.0-45731.i386.rpm vmware-tools-distrib
36[root@localhost VMware-tools]# rpm -ivh kernel-devel-2.6.18-8.el5.i686.rpm
37warning: kernel-devel-2.6.18-8.el5.i686.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
38Preparing ########################################### [100%]
39 1:kernel-devel ########################################### [100%]
40[root@localhost VMware-tools]# uname -r
412.6.18-8.el5xen
42[root@localhost VMware-tools]# rpm -q kernel-devel
43kernel-devel-2.6.18-8.el5
44[root@localhost VMware-tools]# ls
45kernel-2.6.18-8.el5.i686.rpm VMwareTools-6.0.0-45731.i386.rpm
46kernel-devel-2.6.18-8.el5.i686.rpm VMwareTools-6.0.0-45731.tar.gz
47kernel-xen-devel-2.6.18-8.el5.i686.rpm vmware-tools-distrib
48[root@localhost VMware-tools]# cd vmware-tools-distrib/
49[root@localhost vmware-tools-distrib]# ls
50bin doc etc FILES INSTALL installer lib vmware-install.pl
51[root@localhost vmware-tools-distrib]# ./vmware-install.pl
- 终于解决了问题What is the location of the directory of C header files that match your running kernel
- What is the location of the directory of C header files that match your running kernel?
- What is the location of the directory of C header files that match your running kernel?
- What is the location of the directory of C header files that match your running kernel?
- Vmware What is the location of the directory of C header files that match your running问题的解决
- Vmware What is the location of the directory of C header files that match your running问题的解决
- Vmware What is the location of the directory of C header files that match your running问题的解决
- “What is the location of the directory of C header files that match your running kernel?” On Ubuntu
- vmserver安装出错What is the location of the directory of C header files that match your running kernel?
- wmware提示What is the location of the directory of C header files that match your running kernel?
- what is the location of the directory of c header files that match your running kernel -SLES11.2
- Vmware What is the location of the directory of C header files that match your running问题的解决办法
- fedora 14 安装VM tools 问题:What is the location of the directory of C header files that match your running kernel?
- What is the location of the directory of C header files that match your running kernel問題解決(VMWare+CentOS5.5+vmware-tools)
- opensuse 11.3--安装vmware tools 【What is the location of the directory of C header files that match your running】已解决
- vmware-tool 安装缺少头文件 What is the location of the directory of C header files that match your running
- VMware-tools安装错误the location of the directory of C header files that match your running问题的解决办法
- What is the location of the directory of C header files that match
- 20110426
- 简单分栏变化加密算法
- 需求、系统分析过程---系统工程师的真实记录2
- Java 静态内部类/内部类
- 要经常做一下记录
- 终于解决了问题What is the location of the directory of C header files that match your running kernel
- 在ubuntu中测试自己的网站项目
- mysql数据库的简单操作(转载)
- ogre的主要渲染流程
- vmware安装gentoo
- Java theory and practice: Safe construction techniques
- Vernem加密伏安法的实现
- uva 594 One Little, Two Little, Three Little Endians
- IAMStreamConfig 设置问题/设置分辨率/准确获取filter