About Me

我的相片
Taipei<->HsinChu, Taiwan
我是 Mashi,叫我 媽許、罵許,我都會回頭XD
2009年3月13日 星期五

Run Ubuntu 8.10 with VMWare 6.5.0 tools

Last Update:
2009/04/25

Environment:

Vista
VMWare 6.5.0 build-118166
Ubuntu 8.10 Desktop Version

Ref:
[1] http://ubuntuforums.org/showthread.php?t=987631
[2] http://open-vm-tools.sourceforge.net/
[3] https://edge.launchpad.net/ubuntu/intrepid/i386/xserver-xorg-input-vmmouse/
[4] https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-vmmouse/+bug/248521


Step 1 - Update & Upgrade

Code:
sudo apt-get update
sudo apt-get upgrade

Step 2 - Prepare Compile Environment for VMWARE TOOLS

Code:
sudo apt-get install build-essential linux-headers-$(uname -r) psmisc
sudo apt-get install gcc binutils make wget

Step 3 - Prepare
Compile Environment for OPEN VM TOOLS

And for the hack with the open tools I also installed the following (although some of these were found on sites describing what's needed for Ubuntu with a GUI, some might be unnecessary):

Code:
sudo apt-get install libgtk2.0-dev libgtkmm-2.4-dev
sudo apt-get install libproc-dev libdumbnet-dev xorg-dev
cd /tmp
sudo mkdir liburiparser
cd liburiparser
sudo wget http://ftp.ie.debian.org/debian/pool/main/u/uriparser/liburiparser1_0.7.4-1_i386.deb
sudo wget http://ftp.ie.debian.org/debian/pool/main/u/uriparser/liburiparser-dev_0.7.4-1_i386.deb
sudo dpkg -i liburiparser1_0.7.4-1_i386.deb
sudo dpkg -i liburiparser-dev_0.7.4-1_i386.deb
sudo apt-get install libicu-dev

Notice: You need to go http://ftp.ie.debian.org/debian/pool/main/u/uriparser/ to find and
download the latest version of liburiparser corresponding with your VM hardware.

Step 4 - Compile & Install OPEN VM TOOLS

Go to /tmp and download the open source version of the tools from http://open-vm-tools.sourceforge.net/.

Code:
sudo wget http://internap.dl.sourceforge.net/sourceforge/open-vm-tools/open-vm-tools-2009.04.23-162451.tar.gz

Unpack and build the open-vm-tools:

Code:
sudo tar xzvf open-vm-tools-*.tar.gz
cd open-vm-tools-*
sudo ./configure --includedir=/usr/include/uriparser
sudo make

Step 6 - Compile & Install VMWARE TOOLS

In the VMware management console, right click on the VM and tell VMware to install the VM tools then copy the tools:

Code:
sudo mount /media/cdrom0
sudo cp -a /media/cdrom0/VMwareTools*.gz /tmp/
cd /tmp/
sudo tar -xzvf VMwareTools*.gz

From the open source 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:

Code:
cd /tmp/open-vm-tools-*/modules/linux/
for i in *; do sudo mv ${i} ${i}-only; sudo tar -cf ${i}.tar ${i}-only; done
cd ../../..
sudo mv -f open-vm-tools-*/modules/linux/*.tar vmware-tools-distrib/lib/modules/source/

Now we can run the regular VMware tools installer accepting all the defaults:

Code:
cd /tmp/vmware-tools-distrib/
sudo ./vmware-install.pl

Step 6 - Install Mouse Driver

Go https://edge.launchpad.net/ubuntu/intrepid/i386/xserver-xorg-input-vmmouse and download http://launchpadlibrarian.net/19327138/xserver-xorg-input-vmmouse_12.5.1-1ubuntu5.1_i386.deb

Code:
sudo wget http://launchpadlibrarian.net/19327138/xserver-xorg-input-vmmouse_12.5.1-1ubuntu5.1_i386.deb
sudo dpkg -i xserver-xorg-input-vmmouse_12.5.1-1ubuntu5.1_i386.deb

Done ! Try IT !

0 意見:

 
Blogger Template Layout Design by [ METAMUSE ] : Code Name BlackCat 2.0.0