1~3步,可以用一个命令搞定:
yum -y upgrade kernel-devel kernel-headers kernel-PAE kernel-PAE-devel gcc
1,安装GCC开发工具
yum install gcc
2,安装内核文件
# Install kernel header files
yum install kernel-devel kernel-headers
3.检查内核文件的版本是否匹配,如果不匹配需要进行升级
uname -r # running kernel
rpm -q kernel-devel # installed kernel headers
注意此处,VMware 认为的内核是kernel-PAE,所以相应的我们也要安装kernel-PAE-devel,
yum install kernel-PAE-devel
4.开始安装Vmware tools, 步骤人人都知道了。
5. 安装到最后应该会出现以下提示,说明成功了。
Creating a new initrd boot image for the kernel.
Checking acpi hot plug [确定]
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: [确定]
Guest filesystem driver: [确定]
Mounting HGFS shares: [失败]
Guest memory manager: [确定]
Guest vmxnet fast network device: [确定]
VM communication interface: [确定]
VM communication interface socket family: [确定]
Blocking file system: [确定]
Guest operating system daemon: [确定]
Virtual Printing daemon: [确定]
The configuration of VMware Tools 8.4.2 build-261024 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 "/usr/bin/vmware-toolbox-cmd" from the
command line or by invoking "/usr/bin/vmware-toolbox" from the command line
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.
To use the vmxnet driver, restart networking using the following commands:
/etc/init.d/network stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/network start
Enjoy,
--the VMware team
(Mounting HGFS shares: [失败],是因为我们还没有共享主机和客机之间的目录)
OK!
fedora linux下安装vmware tools的完整方法,100%成功
-
- 帖子: 5
- 注册时间: 2009-07-16 9:47
-
- 帖子: 9
- 注册时间: 2011-11-10 14:25