LINUX 虚拟机上安装vmtools


首先启动VM_Linux系统 启动后 在虚拟机菜单栏点“虚拟机” 然后点“安装VMware Tools” 然后虚拟机会加载CD-ROM...有.TAR文件 也有RPM文件,我选择了.TAR文件(看网上的文章说兼容效果能好点),
我是对其进行双击解压的,将解压文件放在了/root的目录下面,然后新建终端,进入解压后的目录(即:/root/vmware-tools-distrib),输入./文件名.pl(“/”前面有个小点),之后回车,我第一次好象没有安装成功,出现了如下的结果:
[root@localhost root]# cd vmware-tools-distrib
[root@localhost vmware-tools-distrib]# ./vmware-install.pl
Creating a new VMware Tools installer database using the tar4 format.
 
Installing VMware Tools. This may take from several minutes to over an hour
depending upon its size.
 
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]
 
 
yes
 
 
Execution aborted.
 
然后我重新启动了一下虚拟机,重新操作了一遍,这一次成功了,出现了如下的结果:
[root@localhost root]# cd vmware-tools-distrib
[root@localhost vmware-tools-distrib]# ./vmware-install.pl
A previous installation of VMware Tools has been detected.
 
The previous installation was made by the tar installer (version 4).
 
Keeping the tar4 installer database format.
 
Uninstalling the tar installation of VMware Tools.
 
Skipping VMware Tools services shutdown on the host:       [ 确定]
 
 
The removal of VMware Tools 6.0.0 build-45731 for Linux completed successfully.
Thank you for having tried this software.
 
Installing VMware Tools. This may take from several minutes to over an hour
depending upon its size.
 
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] 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] yes
 
The installation of VMware Tools 6.0.0 build-45731 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] yes
 
 
Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                          [ 确定]
Trying to find a suitable vmmemctl module for your running kernel.
 
The module up-2.4.20-8.athlon-RH9.0 loads perfectly in the running kernel.
 
Trying to find a suitable vmhgfs module for your running kernel.
 
The module up-2.4.20-8.athlon-RH9.0 loads perfectly in the running kernel.
 
pcnet32                18016   0
Unloading pcnet32 module
 
Trying to find a suitable vmxnet module for your running kernel.
 
The module up-2.4.20-8.athlon-RH9.0 loads perfectly in the running kernel.
 
Trying to find a suitable vmblock module for your running kernel.
 
The module up-2.4.20-8.athlon-RH9.0 loads perfectly in the running kernel.
 
[EXPERIMENTAL] The VMware CPU Time Accounting daemon (vmware-vmdesched) can
help increase the accuracy of CPU time accounting performed by the guest
operating system. Please refer to the VMware Knowledge Base for more details on
this capability. Do you wish to enable this feature? [no] no
 
[EXPERIMENTAL] The Virtual Machine Communication Interface (VMCI) service
provides a new communication capability with the Host, primarily for
development at the moment. Would you like to enable this feature? [no] no
 
 
 
Detected XFree86 version 4.3.0.
 
 
Please choose one of the following display sizes that X will start with (1 -
15):
 
[1] "640x480"
[2] "800x600"
[3]< "1024x768"
[4] "1152x864"
[5] "1280x800"
[6] "1152x900"
[7] "1280x1024"
[8] "1376x1032"
[9] "1400x900"
[10] "1400x1050"
[11] "1440x900"
[12] "1680x1050"
[13] "1600x1200"
[14] "1920x1200"
[15] "2364x1773"
Please enter a number between 1 and 15:
 
[3] 3
 
 
XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2)
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-3bigmem i686 [ELF]
Build Date: 27 February 2003
Build Host: porky.devel.redhat.com
 
        Before reporting problems, check http://www.XFree86.Org/
        to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.4.20-8 (bhcompile@stripples.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:18:24 EST 2003 PFMarkers: (--) 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.3622", Time: Mon Jul 21 01:44:44 2008
(++) Using config file: "/tmp/vmware-config0/XF86Config.3622"
 
X is running fine with the new config file.
 
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:                       [ 确定]
   Blocking file system:                                   [ 确定]
   DMA setup:                                              [ 确定]
   Guest operating system daemon:                          [ 确定]
 
The configuration of VMware Tools 6.0.0 build-45731 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 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
 
To make use of the virtual printer, you will need to restart the CUPS service
 
If you wish to configure any experimental features, please run the following
command: "vmware-config-tools.pl --experimental".
 
Enjoy,
 
--the VMware team
就此VMTools安装成功。

摘自 ℉uture_īng'Blog

相关内容

    暂无相关文章