..a dose of zero-day know-hows ..

9/19/2007

How to Install VMWare Server 1.0.3 on Fedora 7

This will be a quick one.. im still very busy with work and somehow stumbled upon setting up VMware on my laptop.. I hope this could help someone.
  1. Upgrade your kernel
    Invoke the following command in the console
    yum upgrade kernel
    Then edit /boot/grub/grub.conf and make sure that the "default" parameter is set to 0(zero) or is pointing to the latest kernel.

    Reboot the system.

  2. Install the kernel headers and other necessary sources
    This can be done by invoking the following command in the console
    yum install kernel-headers
    and
    yum install kernel-devel
    then
    yum install xinetd
  3. Download VMWare Server from http://www.vmware.com/download/server/, the Serial number can be obtained from the same page. Select the *.tar.gz instead of the RPM.

  4. Uncompress the VMware-server-*.tar.gz file using the following command
    tar xvpf VMware-server-*.tar.gz
    then run
    vmware-install.pl
    Proceed until the install script halts on error

  5. Download the installer patch from http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update113.tar.gz

    Uncompress the archive and run
    runme.pl
  6. You are set to run VMWare server. In Gnome, VMware is in the "Applications -> Other" Menu, in KDE, it can be found in "KDE Menu -> Lost and Found"
For any clarification, just post a comment..

7 comments:

Anonymous said...

I'm installing this on a newer version of Fedora (9 beta) and I get the following after I set the path to the kernel

Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config7/vmmon-only'
make -C /lib/modules/2.6.25-0.218.rc8.git7.fc9.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.25-0.218.rc8.git7.fc9.i686'
CC [M] /tmp/vmware-config7/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config7/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config7/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config7/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config7/vmmon-only/common/cpuid.o
In file included from /tmp/vmware-config7/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config7/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config7/vmmon-only/common/vmx86.h:19,
from /tmp/vmware-config7/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config7/vmmon-only/common/cpuid.c:15:
include/asm/bitops.h:9:2: error: #error only linux/bitops.h can be included directly
In file included from include/asm/cpufeature.h:118,
from include/asm/alternative.h:42,
from include/asm/bitops.h:13,
from /tmp/vmware-config7/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config7/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config7/vmmon-only/common/vmx86.h:19,
from /tmp/vmware-config7/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config7/vmmon-only/common/cpuid.c:15:
include/linux/bitops.h: In function ‘get_bitmask_order’:
include/linux/bitops.h:29: error: implicit declaration of function ‘fls’
include/linux/bitops.h: In function ‘hweight_long’:
include/linux/bitops.h:45: error: implicit declaration of function ‘hweight32’
include/linux/bitops.h:45: error: implicit declaration of function ‘hweight64’
include/linux/bitops.h: In function ‘fls_long’:
include/linux/bitops.h:112: error: implicit declaration of function ‘fls64’
In file included from include/asm/bitops.h:316,
from /tmp/vmware-config7/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config7/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config7/vmmon-only/common/vmx86.h:19,
from /tmp/vmware-config7/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config7/vmmon-only/common/cpuid.c:15:
include/asm/bitops_32.h: At top level:
include/asm/bitops_32.h:134: error: static declaration of ‘fls’ follows non-static declaration
include/linux/bitops.h:29: error: previous implicit declaration of ‘fls’ was here
In file included from include/asm/bitops_32.h:145,
from include/asm/bitops.h:316,
from /tmp/vmware-config7/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config7/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config7/vmmon-only/common/vmx86.h:19,
from /tmp/vmware-config7/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config7/vmmon-only/common/cpuid.c:15:
include/asm-generic/bitops/hweight.h:6: error: conflicting types for ‘hweight32’
include/linux/bitops.h:45: error: previous implicit declaration of ‘hweight32’ was here
include/asm-generic/bitops/hweight.h:9: error: conflicting types for ‘hweight64’
include/linux/bitops.h:45: error: previous implicit declaration of ‘hweight64’ was here
In file included from include/asm/bitops_32.h:149,
from include/asm/bitops.h:316,
from /tmp/vmware-config7/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config7/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config7/vmmon-only/common/vmx86.h:19,
from /tmp/vmware-config7/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config7/vmmon-only/common/cpuid.c:15:
include/asm-generic/bitops/fls64.h:6: error: static declaration of ‘fls64’ follows non-static declaration
include/linux/bitops.h:112: error: previous implicit declaration of ‘fls64’ was here
make[2]: *** [/tmp/vmware-config7/vmmon-only/common/cpuid.o] Error 1
make[1]: *** [_module_/tmp/vmware-config7/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.25-0.218.rc8.git7.fc9.i686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config7/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.






Any ideas what is wrong

Arpee Ong said...

VMWare 2 (beta) is out, you might want to try that instead. You wouldnt have to use the installer patch from http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any when using Fedora 9 + VMWare 2, it will compile without problems as long as you have the kernel-header and kernel-devel installed via yum (and also xinetd of course).. goodluck

Arpee Ong said...

oh and by the way, it is likely that the patch posted at http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any does not support the fedora 9 kernel, hence the error.

Ed Greenberg said...

I have the same issue (#error only <linux/bitops.h> can be included directly) with the new 2.6.24 kernel on Fedora 8. Tried vmware-any-any-115, with no luck.

Anonymous said...

I have the same problem as ED, just upgraded the kernel to 2.6.24.4-64.fc8 and it wont play nice any more...

Anonymous said...

try visiting - http://eitchpress.eitchnet.ch/?p=13 , it solved the bitops problem for me anyway :-)

Anonymous said...

http://corpld.com/soporte/index.php?_m=knowledgebase&_a=view

The solution

Regards

Darwin Castro