GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
VMWare: Virtual Machines |
VMware is an excellent solution for running legacy MS/Windows applications without the need for dual boot nor the need for having an extra machine. You end up with a genuine installation of MS/Windows, not an emulator, so that compatibility is not an issue.
You can download the VMware Server for free (but it is not open source). Visit http://www.vmware.com. VMware is not packaged for Debian GNU/Linux, but you can install the tar.gz file. The actual file you end up downloading is probably called something like VMware-server-e.x.p-22874.tar.gz and might be about 105MB in size. Generally, VMWare and any updates install quite painlessly.
VMWare will need to compile some applications, and so needs access to kernel headers corresponding to the kernel you are running (e.g., install the linux-headers-2.6.16-1-686-smp package).
You may like to install VMWare in /usr/local/:
$ tar zxvf VMware-server-e.x.p-22874.tar.gz $ cd vmware-server-distrib $ sudo ./vmware-install.pl /usr/local/bin <enter> (/etc) <enter> (/etc/init.d) <enter> (/usr/local/sbin) <enter> (/usr/local/lib/vmware) <enter> (yes to create path) <enter> (/usr/local/share/man) <enter> (/usr/local/share/doc/vmware) <enter> (yes to create path) <enter> (yes to invoke /usr/local/bin/vmware-config.pl) <enter> (yes to display license) yes (accept license) <enter> (/usr/share/icons) <enter> (/usr/share/applications) <enter> (/usr/share/pixmaps) <enter> (build vmmon modules) <enter> (/usr/src/linux-headers-2.6.16-2-686-smp/include) <enter> (networking) <enter> (NAT networking) <enter> (probe for private subnet -> 192.168.219.0/255.255.255.0) <enter> (not another NAT network) <enter> (yes host-only networking) <enter> (probe for private subnet -> 192.168.155.0/255.255.255.0) <enter> (no to another host-only network) <enter> (remote console port 902) <enter> (no to set up permissions) /consus/vmware/Virtual Machines (needs plenty of disk space) <enter> (yes to create path) <enter> (no to enter serial number) |
$ sudo chmod go+rx /usr/local/bin/vmware* $ sudo chmod -R go+rX /usr/local/lib/vmware/ |
The vmware-config.pl script might be useful.
Relevant kernel modules will be placed in /lib/modules/`uname -r`/ and vmware has a good uninstall script to remove itself if required. Also, the vmware install script will move an old version out of the way.
Next, you simply install the operating system. Start up VMWare (either the command line vmware or from the menus) connecting to the localhost. Then create a new virtual machine:
Typical Configuration Microsoft Windows Windows XP Professional Athene - Windows XP Professional Use bridged networking Disk Space 8.0 GB created now |