VMware虚拟机Fefora和主操作系统硬盘之间实现文件共享方法

发表于:2013-8-26 10:02

字体: | 上一篇 | 下一篇 | 我要投稿

 作者:在路上028    来源:51Testing软件测试网采编

分享:

  解决办法如下:

  1.使用uname -r看kernel版本号:2.6.27.41-17.2.117.fc10.i686

  2.Yum install kernel-devel 2.6.27.41-17.2.117.fc10.i686

  //使用yum命令 安装kernel-devel 只要连接网络就能安装

  3.当再次配置VMware的时候

  What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]

  路径设置:

[root@localhost ~]# cd /usr/src/kernels/
[root@localhost ~]# ls                       //查看kernel的版本号
[root@localhost ~]# 2.6.27.41-17.2.117.fc10.i686  //版本号

  路径为:

  /usr/src/kernels/2.6.27.41-17.2.117.fc10.i686 /include

  最后,如下提示,则表示vmware-tools安装成功了!

Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-2.6.35-24-generic
Checking acpi hot plug                                              done
Starting VMware Tools services in the virtual machine:
Switching to guest configuration:                                   done
Paravirtual SCSI module:                                            done
Guest filesystem driver:                                            done
Mounting HGFS shares:                                               done
Guest memory manager:                                               done
VM communication interface:                                         done
Blocking file system:                                               done
File system sync driver:                                            done
Guest operating system daemon:                                      done
Virtual Printing daemon:                                            done
The configuration of VMware Tools 8.1.3 build-203739 for Linux for this running
kernel completed successfully.
You must restart your X session before any mouse or graphics changes take
effect.
You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an X server session.
To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.
Enjoy,
--the VMware team

  成功解决问题!Fedora跟主机之间可以实现文件共享了

22/2<12
2023测试行业从业人员调查问卷已开启,千元大奖正在等你~

关注51Testing

联系我们

快捷面板 站点地图 联系我们 广告服务 关于我们 站长统计 发展历程

法律顾问:上海兰迪律师事务所 项棋律师
版权所有 上海博为峰软件技术股份有限公司 Copyright©51testing.com 2003-2023
投诉及意见反馈:webmaster@51testing.com; 业务联系:service@51testing.com 021-64471599-8017

沪ICP备05003035号

沪公网安备 31010102002173号