Good to Know Database

CentOS 5: VMware Tools installieren


Wenn Sie CentOS 5 als Gastsystem unter dem VMware Server 2.0.0 einsetzen, sollten Sie die VMware Tools im Gastsystem installieren. Dazu starten Sie das Gastsystem und klicken in der VMware Management Oberfläche unter Summary -> Status auf Install VMware Tools....

Unter CentOS sollte jetzt unter /media/VMware Tools/ ein CD-Image gemountet sein, in welchem Sie die benötigte Installationsdatei finden.

Da Sie zum Installieren der VMware Tools Root-Rechte benötigen, loggen Sie sich mit dem folgenden Befehl als root an.

[georg@centos5 ~]$ su root

Wechseln Sie anschließend in das Verzeichnis /media/VMware Tools/.

[root@centos5 ~]# cd /media/VMware\ Tools/

Mit dem folgenden Befehl installieren Sie das RPM-Paket der VMware Tools.

[root@centos5 VMware Tools]# rpm -i VMwareTools-2.0.0-122956.i386.rpm

The installation of VMware Tools 2.0.0 for Linux completed successfully.
You can decide to remove this software from your system at any time by
invoking the following command: "rpm -e VMwareTools".

Before running VMware Tools for the first time, you need to
configure it for your running kernel by invoking the
following command: "/usr/bin/vmware-config-tools.pl".

Enjoy,

    --the VMware team

Jetzt müssen Sie die VMware Tools noch für Ihren Kernel konfigurieren. Dazu rufen Sie das Perl-Skript vmware-config-tools.pl auf und folgen den Anweisungen.

[root@centos5 VMware Tools]# /usr/bin/vmware-config-tools.pl

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                          [  OK  ]
The bld-2.6.18-8.el5-i686smp-RHEL5 - vmmemctl module loads perfectly into the
running kernel.

The bld-2.6.18-8.el5-i686smp-RHEL5 - vmhgfs module loads perfectly into the
running kernel.

The bld-2.6.18-8.el5-i686smp-RHEL5 - vmxnet module loads perfectly into the
running kernel.

The bld-2.6.18-8.el5-i686smp-RHEL5 - vmblock module loads perfectly into the
running kernel.

[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]

The bld-2.6.18-8.el5-i686smp-RHEL5 - vmci module loads perfectly into the
running kernel.

The bld-2.6.18-8.el5-i686smp-RHEL5 - vsock module loads perfectly into the
running kernel.



Detected X.org version 7.1.


Please choose one of the following display sizes that X will start with (1 -
29):

[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"
[14]  "1280x768"
[15]  "1152x864"
[16]  "1280x800"
[17]  "1366x768"
[18]  "1280x960"
[19]  "1440x900"
[20]  "1280x1024"
[21]  "1400x1050"
[22]  "1680x1050"
[23]  "1600x1200"
[24]  "1920x1080"
[25]  "1920x1200"
[26]  "1920x1440"
[27]  "2048x1536"
[28]  "2560x1600"
[29]  "2560x1920"
Please enter a number between 1 and 29:

[3] 21


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-53.1.14.el5PAE i686 Red Hat, Inc.
Current Operating System: Linux centos 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 12:03:43 EST 2008 i686
Build Date: 21 June 2008
Build ID: xorg-x11-server 1.1.1-48.41.el5_2.1
        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.5974", Time: Sun Dec 21 16:04:12 2008
(++) Using config file: "/tmp/vmware-config0/XF86Config.5974"

X is running fine with the new config file.

FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing.
   Checking acpi hot plug                                  [  OK  ]
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                       [  OK  ]
   Guest filesystem driver:                                [  OK  ]
   Mounting HGFS shares:                                   [FEHLGESCHLAGEN]
   Guest memory manager:                                   [  OK  ]
   Guest vmxnet fast network device:                       [  OK  ]
   VM communication interface:                             [  OK  ]
   VM communication interface socket family:               [  OK  ]
   Blocking file system:                                   [  OK  ]
   Guest operating system daemon:                          [  OK  ]

The configuration of VMware Tools 2.0.0 build-122956 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.

You will need to either manually start /usr/bin/vmware-user or log out and log
back in to this desktop session to obtain the following features: guest
resolution fit, drag and drop, and file and text copy/paste.  vmware-user is
configured to automatically start at a graphical login, but that won't take
effect until the next login.

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

Mit dem Befehl vmware-toolbox können Sie jetzt das Konfigurationswerkzeug der VMware Tools aufrufen.

[root@centos5 VMware Tools]# vmware-toolbox

Hinweis: Sollten Sie einen neuen Kernel installieren, müssen Sie erneut vmware-config-tools.pl aufrufen.


Dieser Eintrag wurde am 21.12.2008 erstellt und zuletzt am 04.09.2009 bearbeitet.

Direkter Link zu dieser Seite: http://www.gtkdb.de/index_33_406.html

[ Zur Startseite ]   [ Zur Kategorie ]


Valid XHTML 1.0 Transitional Valid CSS Valid Atom 1.0

© 2004-2018 by Georg Kainzbauer