VMWare
From Linux & Open Source @ NUS
Install
Installation tips and tricks for apps from VMWare (Player|Server|Workstation)
FC 5|6
There seem to be quite a few bugs appearing when trying to install VMWare stuff on the newer releases of Fedora Core.
First off, ensure that you have kernel-headers and kernel-devel installed for your running kernel (Hint: uname -a.
Or you might see this:
# /usr/bin/vmware-config.pl ... The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running kernel (version 2.6.18-1.2868.fc6). Even if the module were to compile successfully, it would not load into the running kernel. ...
Another one of the problems you might run across is due to a missing config.h which was deprecated from the kernel source in FC 5/6
See this thread for more details. The solution described is simply symlinking a autoconf.h (the new) to config.h (the old), or simply touch'ing it in the appropriate directory.
You might also want to take a look at this thread which give the link to the vmware-any-any patch that's recommended in the VMTN Forums.
When I used it, that patch pointed vmware-config.pl to look in the right directory (/lib/modules/2.6.18-1.2868.fc6/build/include/ instead of /usr/src/linux/include/linux.
Another issue you might run across is
[root@stingdhcp-98 /usr/local/src/vmware-any-any-update105]# ./runme.pl Updating /usr/bin/vmware-config.pl ... already patched Updating /usr/bin/vmware ... No patch needed/available Updating /usr/bin/vmnet-bridge ... No patch needed/available Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available VMware modules in "/usr/lib/vmware/modules/source" has been updated. Before running VMware for the first time after update, you need to configure it for your running kernel by invoking the following command: "/usr/bin/vmware-config.pl". Do you want this script to invoke the command for you now? [yes] .... CC [M] /tmp/vmware-config2/vmmon-only/common/memtrack.o CC [M] /tmp/vmware-config2/vmmon-only/common/phystrack.o CC [M] /tmp/vmware-config2/vmmon-only/common/task.o
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
make[2]: *** [/tmp/vmware-config2/vmmon-only/common/task.o] Error 1 make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2868.fc6-i686' make: *** [vmmon.ko] Error 2 make: Leaving directory `/tmp/vmware-config2/vmmon-only' Unable to build the vmmon module. For more information on how to troubleshoot module-related problems, please visit our Web site at "http://www.vmware.com/download/modules/modules.html" and "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html". Execution aborted. [root@stingdhcp-98 /usr/local/src/vmware-any-any-update105]# cd ..
*The broken out line there in the middle is the line of interest
If you get this error, you're missing the gcc-c++ package.
Simply # yum install gcc-c++.i386 will solve it.
Instructions on setting up Knoppix 5.1.1 as a very fast free X server
1. Go to ftp://ftp.science.nus.edu.sg/pub/linux/knoppix/
2. Download
ftp://ftp.science.nus.edu.sg/pub/linux/knoppix/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso to your computer.
Recommended location of downloaded file:
C:\boot\knoppix.511\KNOPPIX_V5.1.1CD-2007-01-04-EN.iso
3. Download and install VMware Player from
http://www.vmware.com/download/player/
4. Download Knoppix 5.1.1 in a virtual machine:
http://s94002264.onlinehome.us/grub/vmk511_36983.zip
(cf. "preconfigured virtual machines": http://www.vmware.com/vmtn/appliances/
> "Operating Systems": http://www.vmware.com/vmtn/appliances/directory/cat/45
> "Knoppix 5.1.1 in a virtual machine (can also be used as a very fast free X server for windows)": http://www.vmware.com/vmtn/appliances/directory/662
> "Download this Appliance": http://www.knoppix.net/forum/viewtopic.php?p=110240#110240
5. Unzip and extract the content of vmk511_36983.zip to a location
such as C:\Documents and Settings\userid\My Documents
6. Edit the line in the VMware Configuration File, vmk511_36983\VMK511\vmk511.vmx to reflect the
location of the previously downloaded iso file:
ide1:0.fileName = "C:\boot\knoppix.511\KNOPPIX_V5.1.1CD-2007-01-04-EN.iso"
7. Open the VMware Configuration File with VMware player.
--Gohkimle 18:51, 9 February 2007 (SGT)
