根据这个pdf ,应该可以安装用于Ubuntu 5.5的vmware工具5.5,但是内核版本与vmware-tools-esx-kmods-3.2.0-29-generic-pae不匹配,最新的Ubuntu内核是2.6.32-53 。
题
有没有人能够安装它?
这是打算如何
wget http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub -O /etc/apt/trusted.gpg.d/VMWARE-PACKAGING-GPG-DSA-KEY.pub apt-key add /etc/apt/trusted.gpg.d/VMWARE-PACKAGING-GPG-DSA-KEY.pub mkdir -p /etc/apt/sources.list.d echo "deb http://packages.vmware.com/tools/esx/5.5/ubuntu precise main" > /etc/apt/sources.list.d/vmware-tools.list apt-get update apt-get install vmware-tools-esx-kmods-$(uname -r) apt-get install vmware-tools-esx vmware-tools-esx-nox
可以使用open-vm工具或注册为“第三方”VMware工具的东西 。 你为什么说他们不公开相同的function? 这仅仅意味着VMware工具不能被vSpherepipe理( 这对我来说很好 )。
您应该关心内存膨胀function和来宾电源选项。 这是重要的。 VMware也发布了基于SuSE的设备。 见下文:



我不太清楚,但是我首先安装了所有需要的vmware软件包,这些软件包是用apt( deb http://packages.vmware.com/tools/esx/5.0latest/ubuntu precise main )引用的,包括vmware-tools-esx-kmods-3.2.0-29-generic。 这不应该是一个问题,因为不依赖于内核,但我不确定。
然后我安装了所有的vmware-tools内核模块源码。 我有以下安装:
ii vmware-tools-vmblock-modules-source 1.1.2.0-1.precise Contains the source needed to build the vmblock kernel module package (kmp) for the running kernel. ii vmware-tools-vmci-modules-source 9.0.3.0-1.precise Contains the source needed to build the vmci kernel module package (kmp) for the running kernel. ii vmware-tools-vmhgfs-modules-source 1.4.1.1-1.precise Contains the source needed to build the vmhgfs kernel module package (kmp) for the running kernel. ii vmware-tools-vmsync-modules-source 1.1.0.1-1.precise Contains the source needed to build the vmsync kernel module package (kmp) for the running kernel. ii vmware-tools-vmxnet-modules-source 2.0.9.2-1.precise Contains the source needed to build the vmxnet kernel module package (kmp) for the running kernel. ii vmware-tools-vsock-modules-source 1.0.0.0-1.precise Contains the source needed to build the vsock kernel module package (kmp) for the running kernel.
最后,我使用以下脚本更新到运行的内核版本:
#!/bin/bash sudo service vmware-tools-services stop for a in vmhgfs vsock vmsync vmblock vmci do sudo service $a stop done sudo module-assistant build vmware-tools-{vmxnet,vmsync,vmci,vmblock}-modules-source sudo module-assistant install vmware-tools-{vmxnet,vmsync,vmci,vmblock}-modules-source sudo module-assistant build vmware-tools-{vsock,vmhgfs}-modules-source sudo module-assistant install vmware-tools-{vsock,vmhgfs}-modules-source sudo service vmware-tools-services start for a in vmhgfs vsock vmsync vmblock vmci do sudo service $a start done