open-vm-tools

最後更新: 2022-06-16

目錄

  • Ubuntu 14.04
    Ubuntu 12.04
  • Centos
    Centos 8
    Centos 7
    Centos 6
  • Windows
  • Compile
  • Doc

前言

VMware Tar Tool for Linux virtual machine is feature-frozen at version 10.3.10

之後被 Open VM Tools 取代了它 Link

功能

  • power operations gracefully
  • Execution of VMware provided or user configured scripts in guests
  • Authentication for guest operations
  • Periodic collection of network, disk, and memory usage information from the guest
  • Generation of heartbeat from guests to hosts
  • Clock synchronization between guests and hosts
  • Quiescing guest file systems to allow hosts to capture file-system-consistent guest snapshots
  • Execution of pre-freeze and post-thaw scripts while quiescing guest file systems
  • Enabling shared folders between host and guest file systems on VMware Workstation
  • Copying and pasting text, graphics, and files between guests and hosts

 


Ubuntu 14.04

 

install

apt-get install open-vm-tools

binary

/usr/bin/vmware-checkvm
/usr/bin/vmware-toolbox-cmd
/usr/bin/vmware-user-suid-wrapper
/usr/bin/vmware-vmblock-fuse
/usr/bin/vmware-xferlogs
/usr/bin/vmware-hgfsclient
/usr/bin/vmtoolsd
/usr/bin/vmware-rpctool

/sbin/mount.vmhgfs
/sbin/vmware-hgfsmounter

upstart

/etc/init.d/open-vm-tools

config

/etc/vmware-tools

checking

vmware-checkvm

VMware software version 6 (good)

Ubuntu 12.04

 

install

apt-get install open-vm-tools open-vm-dkms

 



Centos

 

Centos 8

dnf install open-vm-tools      # repo: appstream

systemctl enable vmtoolsd

systemctl start vmtoolsd

ps aux | grep vmtoolsd

Centos 7

yum install open-vm-tools

systemctl start vmtoolsd

systemctl enable vmtoolsd

ps aux | grep vmtoolsd

Centos 6

# epel package

yum install open-vm-tools

獲得

  • /usr/bin/vm-support
  • /usr/bin/vmtoolsd
  • /usr/bin/vmware-checkvm
  • /usr/bin/vmware-hgfsclient
  • /usr/bin/vmware-rpctool
  • /usr/bin/vmware-toolbox-cmd
  • /usr/bin/vmware-xferlogs

service vmtoolsd start

chkconfig vmtoolsd on

 


Windows

 

 

vmware tools installer 找不到 msi

Fix:

setup64.exe /a

wizard 會問 install 到那裡, 之後在目錄內有 msi 了

 


Compile

 

DL Source:

https://github.com/vmware/open-vm-tools

 * Centos 6 -  open-vm-tools 10.1.5

Tools

yum install gcc autoconf automake libtool

# EPEL

yum install libmspack libmspack-devel

yum install glib2 glib2-devel

autoreconf -i --force

./configure --prefix=/opt/open-vm-tools

make

make install

ldconfig

 


Doc

 

http://github.com/vmware/open-vm-tools

 

 

Creative Commons license icon Creative Commons license icon