联系我们

  服务热线:
  • 杭 州 :400-889-1122
  • 上 海 :400-899-1122
  • 深 圳 :0755-88848278
  • 宁 波 :0574-87298883
  • 广 州 :400-889-1122
  • 温 州 :0577-88844623
数据恢复品牌
  • NAS服务器
  • IBM NAS HP NAS SUN NAS EMC NAS Dell NAS 联想 NAS 清华同方NAS 浪潮NAS 方正 NAS
  • 硬盘系列
  • 易拓(Excelstor) 昆腾(Quantum) 三星(SAMSUNG) 日立IBM(HITACHI) 希捷(Seagate) 迈拓(Maxtor) 西部数据(WD) 东芝(TOSHIBA) 富士通(FUJITSU)
  • 服务器系列
  • IBM系列 HP 系列 Dell系列 Sun系列 联想系列 康柏系列 浪潮系列 长城系列 曙光系列
  • 文件系统
  • windows系列 Solaris系列 Novell系列 IBM-AIX系列 MAC系列 Linux系列 SCO系列 FreeBSD系列 HP-UX系列
当前位置:技 术首页 >> unix技术 >> Linux >> Fedora Core6上安装vmware tool的问题
Fedora Core6上安装vmware tool的问题
2009-07-07 20:10:31  作者:  来源:互联网  浏览次数:27  文字大小:【】【】【
1、安装GCC开发工具 # Install software called by by VMware Tools yum install gcc 2、安装内核文件 # Install kernel header files yum install kernel-devel 3、检查内核文件的版本是否匹配,如 ...

1、安装GCC开发工具

# Install software called by by VMware Tools

yum install gcc

2、安装内核文件

# Install kernel header files

yum install kernel-devel

3、检查内核文件的版本是否匹配,如果不匹配需要进行升级

# Check it matches the running kernel

uname -r # running kernel

rpm -q kernel-devel # installed kernel headers

4、第3不中如果不匹配,则需要升级内核文件,升级完后,重新启动系统

# It the two versions do not match, run

yum -y upgrade kernel kernel-devel

# then reboot (but only if they did not match).

5、查找内核文件的位置,安装VMware-tool工具时候需要(我装的时候,会自动查找到,不需要手工指定)

# Find out where the kernel headers are

ls -d /usr/src/kernels/$(uname -r)*/include

# You may need this later.

6、下载虚拟机工具安装包

即:VMware-tool安装包,并解压(具体就是在虚拟机工具栏上,点击"VM"->"Install VMware Tools",会出现安装包,选择*.gz的文件,解压到一个目录下就可以)

以下是命令行中具体实现方法,我是在图形界面下实现的

# If you already have VMwareTools-5.5.2-29772.tar.gz

on disk, SKIP THIS STEP!

# Download VMware-workstation-5.5.2-29772.tar.gz from vmware.com

# Extract the VMware Tools iso from it

tar --strip-components=3 -zxvf VMware-workstation-5.5.2-29772.tar.gz \

vmware-distrib/lib/isoimages/linux.iso

# Create a temporary mount point

mkdir /mnt/vmtools-temp

# Mount the image

mount -o loop linux.iso /mnt/vmtools-temp

# Copy VMware Tools from the mount

cp /mnt/vmtools-temp/VMwareTools-5.5.2-29772.tar.gz /tmp/

# Unmount the image and tidy up

umount /mnt/vmtools-temp

rmdir /mnt/vmtools-temp

rm linux.iso

# Unpack VMware Tools to a temporary directory

cd /tmp/

tar zxvf VMwareTools-5.5.2-29772.tar.gz

7、进入解压目标目录,执行以下代码,一路回车按下来

cd /tmp/vmware-tools-distrib/

./vmware-install.pl

8、直到该步骤,拷贝粘贴第5步的路径,然后一直按回车,直到选择屏幕分辨率。

What is the location of the directory of C header files that match your running

kernel? [/usr/src/kernels/2.6.18-1.2849.fc6-i686/include]

我安照网上的安装步骤,做到这步后就安装上下去了。提示以下错误:

What is the location of the directory of C header files that match your running

kernel? [/usr/src/linux/include] /usr/src/kernels/2.6.20-1.2952.fc6-i686/include

The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match

your running kernel (version 2.6.20-1.2952.fc6). Even if the module were to

compile successfully, it would not load into the running kernel.

请各位高手看看我应该怎么做才能解决这个问题。谢谢。

友情链接 | SQL数据库恢复 | 硬盘数据恢复 | Raid服务器数据恢复 | 公司简介 | 数据恢复