通过VMware Workstation中安装Fedora10后,需要安装VMware Tools来提高虚拟机的性能。步骤:
1.拷贝VMware Tools安装文件: 启动Fedora10,在VMware Workstation中选择VM下的Install VMware Tools菜单,此时在Fedora10中会出现一个VMware Tools光盘,拷贝其中的VMware Tools-xxx-tar.gz文件到任意目录如/tmp 。
2.安装VMware Tools:解压VMware Tools-xxx-tar.gz,进入解压后的vmware-tools-distrib目录,运行“./vmware-install.pl”,可能出现一系列提示,基本一路yes和enter过去,直到出现安装完成提示。
3.配置wmware-tools:进入/usr/bin目录,运行“./vmware-config-tools.pl”
一路回车,最后安装失败。
挂载linux的安装光盘,重新运行“./vmware-config-tools.pl”,安装成功。
在我在虚拟机下安装了Fedora 10 ,然后再安装vmware-tools后发现再也进入不了登录界面,一直是个黑屏的
ctrl+alt+f5进入文本模式终端
安装日志:
[root@localhost 1]# ll .
总计 94960
-r--r--r-- 1 root root 97129687 2010-01-23 VMwareTools-8.1.4-227600.tar.gz
drwxr-xr-x 7 root root 4096 2010-01-23 vmware-tools-distrib
[root@localhost 1]# cd ./vmware-tools-distrib
[root@localhost vmware-tools-distrib]# ll .
总计 540
drwxr-xr-x 2 root root 4096 2010-01-23 bin
drwxr-xr-x 2 root root 4096 2010-01-23 doc
drwxr-xr-x 3 root root 4096 2010-01-23 etc
-r--r--r-- 1 root root 526061 2010-01-23 FILES
lrwxrwxrwx 1 root root 13 11-16 17:03 INSTALL -> ./doc/INSTALL
drwxr-xr-x 2 root root 4096 2010-01-23 installer
drwxr-xr-x 17 root root 4096 2010-01-23 lib
lrwxrwxrwx 1 root root 31 11-16 17:03 vmware-install.pl -> ./bin/vmware-uninstall-tools.pl
[root@localhost vmware-tools-distrib]# cd ./vmware-install.pl
bash: cd: ./vmware-install.pl: 不是目录
[root@localhost vmware-tools-distrib]# ./vmware-install.pl
Creating a new VMware Tools installer database using the tar4 format.
Installing VMware Tools.
In which directory do you want to install the binary files?
[/usr/bin]
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]
What is the directory that contains the init scripts?
[/etc/rc.d/init.d]
In which directory do you want to install the daemon files?
[/usr/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]
The installation of VMware Tools 8.1.4 build-227600 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]
Initializing...
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [确定]
Virtual Printing daemon: [确定]
Unmounting HGFS shares: [确定]
Guest filesystem driver: [确定]
Found a compatible pre-built module for vmmemctl. Installing it...
Found a compatible pre-built module for vmhgfs. Installing it...
Found a compatible pre-built module for vmxnet. Installing it...
Found a compatible pre-built module for vmblock. Installing it...
[EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a new feature that
creates backups of virtual machines. Please refer to the VMware Knowledge Base
for more details on this capability. Do you wish to enable this feature?
[no]
Found a compatible pre-built module for vmci. Installing it...
Found a compatible pre-built module for vsock. Installing it...
Found a compatible pre-built module for vmxnet3. Installing it...
Found a compatible pre-built module for pvscsi. Installing it...
Detected X.org version 7.1.
Host resolution detected as "1366 x 768".
Please choose one of the following display sizes that X will start with:
[1] "320x200"
[2] "320x240"
[3] "400x300"
[4] "512x384"
[5] "640x400"
[6] "640x480"
[7] "720x480"
[8] "800x480"
[9] "854x480"
[10] "720x576"
[11] "800x600"
[12] "1024x768"
[13]< "1280x720"
Please enter a number between 1 and 13:
[13]
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-128.1.10.el5PAE i686 Red Hat, Inc.
Current Operating System: Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 i686
Build Date: 31 March 2010
Build ID: xorg-x11-server 1.1.1-48.76.el5
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/vmware-config0/XF86ConfigLog.3603", Time: Wed Nov 16 17:09:16 2011
(++) Using config file: "/tmp/vmware-config0/XF86Config.3603"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Multiple symbols for level 1/group 1 on key <I5F>
> Using XF86Sleep, ignoring XF86Standby
> Warning: Symbol map for key <I5F> redefined
> Using last definition for conflicting fields
Errors from xkbcomp are not fatal to the X server
X is running fine with the new config file.
FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing.
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: [确定]
Paravirtual SCSI module: [确定]
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: [确定]
File system sync driver: [确定]
Guest operating system daemon: [确定]
Virtual Printing daemon: [确定]
The configuration of VMware Tools 8.1.4 build-227600 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.
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
Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device
/dev/hdc ...
[root@localhost vmware-tools-distrib]#