PARADOX » 日志 » Steps To Getting VMware Tools installed on Ubuntu Hardy
Steps To Getting VMware Tools installed on Ubuntu Hardy
Zeon 发表于 2008-07-05 08:47:35
要的就是这种人
主机为Win XP,模拟机为Ubunto。安装VMware Tool总是不能完全成功。搜了许多,的确提供了所谓的方法,但是不解决问题。顿时觉得Google有点没用。再继续找,找到了如下的方法。原则上是给MAC OS下的VMware Fusion使用的,但在Windows VMware 6.x下也可以用,非常好。
要的,就是这种人
===
From http://peterc.org/2008/62-how-to-install-vmware-tools-on-ubuntu-hardy-804-under-vmware-fusion.html
Use the “Install VMware Tools” option in VMWare Fusion, and drag the .tar file (not the RPM!) to the Ubuntu desktop.
Open a Terminal (Applications menu -> Accessories -> Terminal). We’ll do all the work from the Terminal. First, we need to install some dependencies:
sudo apt-get install build-essential libgtk2.0-dev
sudo apt-get install libproc-dev libdumbnet-dev xorg-dev
cd Desktop/wget http://mesh.dl.sourceforge.net/sourceforge/open-vm-tools/open-vm-tools-2008.04.14-87182.tar.gz
Next, we need to unpack the tar files we have at hand:
tar xzvf VMware*.gz
tar xzvf open-vm-tools*.gz
Next, we’ll build the open-vm-tools:
cd open-vm-tools-2008.04.14-87182/
./configure && make
cd modules/linux/
In the modules/linux folder we have the vmblock, vmhgfs, vmmemctl, vmsync and vmxnet modules that we need to tar up and place into the official VMware tools tarball:
for i in *; do mv ${i} ${i}-only; tar -cf ${i}.tar ${i}-only; done
cd ../../..mv -f open-vm-tools-2008.04.14-87182/modules/linux/*.tar vmware-tools-distrib/lib/modules/source/
Now we can run the regular VMware tools installer:
cd vmware-tools-distrib/
sudo ./vmware-install.pl
Once this is done, the best tactic is to restart Ubuntu entirely. Once you boot back up, things should seem a bit smoother. The resolution of the VM will stick to the size of the VM, etc, and you can now drag files directly into Ubuntu Hardy from your Mac desktop!
Note: A few of the lines of code you need to use above are single lines of code but spread over multiple lines on your screen when viewing this blog. Either make your browser wider, or copy and paste them into a text editor before continuing.
- » 2007年: 女2沦陷;男2幸存
- » 2007年: 暴力和音乐
- » 2007年: Imperial College 100 岁生日
- » 2007年: Tesco Wrap = NO

