VmWare
2476
Comment: Wikkify name
|
3969
Added How-To for getting VMWare Workstation 5.0 running with Ubuntu 5.04 as host
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
??? | |
Line 5: | Line 4: |
Here are the steps I took to get VMWare Workstation 5.0 running on my Ubuntu 5.04 system on an amd64 based computer. * Install the package for your linux kernel headers. You can determine which kernel you are running with this command {{{ $ uname -r 2.6.10-5-amd64-generic }}} * so for me, I then needed to install this via apt-get as root (or you can use sudo) {{{ # apt-get install linux-headers-2.6.10-5-amd64-generic }}} * Download the VMWare Workstation 5.0 gzipped tar file from vmware {{{ $ pwd /home/you/downloads $ ls -l VM* -rw-r--r-- 1 you you 68451550 2005-07-13 20:05 VMware-workstation-5.0.0-13124.tar.gz }}} * Extract the archive {{{ $ tar xzf VMware-workstation-5.0.0-13124.tar.gz }}} * Become root, cd into the installer and run it {{{ $ su - # cd /home/you/downloads/vmware-distrib # ./vmware-install.pl }}} * You should be able to accept most of the default answers. * I tell it to put the vmware binary executable in /usr/local/bin where I think it belongs. * When the installer asks "What is the location of the directory of C header files that match your running kernel?", answer with a directory such as the following (though your kernel version is likely to be different, so use what uname -r told you): {{{ /usr/src/linux-headers-2.6.10-5-amd64-generic/include }}} * With any luck, the modules should be compiled and tested, and vmware should be installed and ready to run at this point: {{{ $ /usr/local/bin/vmware }}} |
UBUNTU as a VMware host
Here are the steps I took to get VMWare Workstation 5.0 running on my Ubuntu 5.04 system on an amd64 based computer.
- Install the package for your linux kernel headers. You can determine which kernel you are running with this command
$ uname -r 2.6.10-5-amd64-generic
- so for me, I then needed to install this via apt-get as root (or you can use sudo)
# apt-get install linux-headers-2.6.10-5-amd64-generic
- Download the VMWare Workstation 5.0 gzipped tar file from vmware
$ pwd /home/you/downloads $ ls -l VM* -rw-r--r-- 1 you you 68451550 2005-07-13 20:05 VMware-workstation-5.0.0-13124.tar.gz
- Extract the archive
$ tar xzf VMware-workstation-5.0.0-13124.tar.gz
- Become root, cd into the installer and run it
$ su - # cd /home/you/downloads/vmware-distrib # ./vmware-install.pl
- You should be able to accept most of the default answers.
- I tell it to put the vmware binary executable in /usr/local/bin where I think it belongs.
- When the installer asks "What is the location of the directory of C header files that match your running kernel?", answer with a directory such as the following (though your kernel version is likely to be different, so use what uname -r told you):
/usr/src/linux-headers-2.6.10-5-amd64-generic/include
- With any luck, the modules should be compiled and tested, and vmware should be installed and ready to run at this point:
$ /usr/local/bin/vmware
UBUNTU as a VMware guest
VMware version 5 is reported to work with Ubuntu out-of-the-box. Try using NAT rather than bridging when using VMware 5 with Ubuntu as a guest OS.
VMware Workstation 4, VMware Workstation 4.5, or VMware GSX 3.1 under Ubuntu causes some problems because of Ubuntu's use of udev. Fortunately there is a patch for VMware that solves this and many other problems. Follow the instructions below after you have installed VMware.
- Open a terminal and change into a temporary directory.
Download the patch by running
wget http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-any-any-update92.tar.gz
- (check the directory for new versions if that wget fails).
Extract the patch by running
tar xzvf vmware-any-any-update92.tar.gz
Change into the directory where the patch was extracted
cd vmware-any-any-update92
Apply the patch
sudo ./runme.pl
After the patch is applied it will prompt to run vmware-config.pl. Choose Yes and accept the defaults.
Installation tips
The install script asks for the path of gcc. If it isn't automatically found find the path on your system by running
which gcc
When you run vmware-config.pl, if the script can't find your kernel's C headers you must install the appropriate headers package. Do this by running
sudo apt-get install linux-headers-`uname -r`
You must then point vmware-config.pl to the appropriate directory, such as
/usr/src/linux-headers-2.6.10-5-686/include
If the VMware Management Interface (MUI) for GSX complains about a lack of libdb.so.3 and instruct you to get compat-db-3.3.<##>-<#>.i386.rpm. You want the ubuntu package libdb2 for this.
Enabling Parallel Port Access
VMware allows direct access to parallel ports, which is handy if you've got a scanner that only has Windows drivers. You may need to make the following minor change to VMware's startup script.
Open /etc/iniit.d/vmware in an editor by running
sudo gedit /etc/init.d/vmware
Find the case statement that looks like this (around line 814)
# See how we were called. case "$1" in start)
Add the following text at the end of the case statement
rmmod lp chgrp lpadmin /dev/parport0 chmod g+rw /dev/parport0
VmWare (last edited 2008-08-06 16:15:49 by localhost)