Added by Thilo Pfennig, last edited by Andrew Bassett on Apr 16, 2008  (view change) show comment

Labels:

howto howto Delete
faq faq Delete
vmware vmware Delete
Edit
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

This page explains how to install/configure VMWare Server/Workstation/Player for Foresight Linux in 3 easy to follow steps.

Install kernel headers, compiler, and super-server

sudo conary sync kernel ; sudo conary update group-devel
  • If a new kernel is installed, you will need to reboot and run sudo conary update group-devel again to get updated kernel headers for your currently running kernel.

Install a VMWare package

( VMWare Server and Player are now both free, you can find them at vmware.com)

VMWare Player

  • Click on the 'Download Now' button to get the latest version available
  • Fill out the required registration
  • Accept the license agreement to continue
  • Download the most recent 'for Linux' version, make sure it's .tar, not .rpm (the actual download will be .tar.gz)
  • Open up a terminal (Applications -> Accessories -> Terminal)
  • Change to the directory where you downloaded vmware (most likely your desktop) by running
    • cd /directory/where/vmware/is
  • Now run tar xzvf VMware-player*
  • Change to the new VMware directory you just uncompressed
  • cd vmware-player-distrib
  • Run the vmware-installer script, you can pretty much accept all the defaults, but be sure not to run the config script when it asks you "Before running VMware for the first time..." just say no
    • sudo ./vmware-install.pl

VMWare Server

  • Install a super-server which VMware Server requires
  • sudo conary update xinetd
  • Be sure to register using the link at the top in order to get your serial number(s)
  • Once registered go back to the main VMWare Server page, and click on the 'Download Now' link to get the latest version
  • Accept the agreement to continue
  • Download the 'VMware Server for Linux' Binary (tar.gz) You can also get the 'Management Interface' if you want to manage your VMware server remotely (I won't go into the details for this here)
  • Open up a terminal (Applications -> Accessories -> Terminal)
  • Change to the directory where you downloaded vmware (most likely your desktop) by running
    • cd /directory/where/vmware/is
  • Now run tar xzvf VMware-server*
  • Change to the new vmware directory you just uncompressed
    • cd vmware-server-distrib
  • Run the vmware-installer script, you can pretty much accept all the defaults, but be sure not to run the config script when it asks you "Before running VMware for the first time..." just say no
    • sudo ./vmware-install.pl

With the latest release of the VMware player, VMware Player 2.0, Build 45731, Step 3 below is uncecessary. 

Now go to this site to get a script which will patch your vmware install to work with Foresight:

  • http://platan.vc.cvut.cz/ftp/pub/vmware/and download the latest vmware-any-any-updatexxx.tar.gz
  • Again, in a terminal, change to the directory you downloaded the patch to, and untar it using the command
    • cd /directory/where/vmware/script/is tar xzvf vmware-any*
  • Now change to the script's directory
    • cd vmware-any*
  • Execute the script, answering yes this time when it asks you to run the configuration script
    • sudo ./runme.pl
  • The defaults are almost always fine, just be sure to accept the license agreement (you can skip through it faster by holding 'f' or 's', type 'yes' to accept

VMware should now be installed correctly if you didn't run into any errors, and you can access it from your 'Applications -> System Tools' menu. If you run into any errors, feel free to ask for help either here in a comment, on the forums, or by going to 'Applications -> Foresight -> Get Live Help'

What is the location of the "make" program on your machine?

By defect it does not manage to find make.

mexlord. 

Posted by Anonymous at Mar 21, 2007 17:09

should probably be::

sudo conary update gcc make kernel:build-tree

you should also check that the kernel:build-tree matches your running kernel , otherwise you need to conary update kernel and reboot in the new kernel.before running the vmware install script::

conary q kernel \-troves uname \-a
Posted by Anonymous at Mar 31, 2007 15:03

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The path "/usr/src/linux/include" is not an existing directory.

What do I select?

Posted by Anonymous at Oct 05, 2007 02:45

Be sure you have the developer tools group installed (yep, that's like 153 packages in all)

sudo conary update group-devel (not just gcc and make as shown above)

I've tried following the vmware install procedure twice. Once after just installing gcc & make and the second time after installing the developer tools group. If you do the latter, you won't come across this particular problem.

Posted by Anonymous at Jan 31, 2008 04:57

I am trying to install vmware on foresight linux machine and it is failing:
The first warning is the not finding the correct libraries needed for installation

The correct version of one or more libraries needed to run VMware Server may be
missing. This is the output of ldd /usr/bin/vmware:
linux-gate.so.1 => (0xffffe000)
libm.so.6 => /lib/libm.so.6 (0xf7ef2000)
libdl.so.2 => /lib/libdl.so.2 (0xf7eee000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf7ed7000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xf7dbf000)
libXtst.so.6 => not found
libXext.so.6 => /usr/lib/libXext.so.6 (0xf7db1000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xf7d60000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xf7d48000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xf7d40000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xf7d38000)
libz.so.1 => /usr/lib/libz.so.1 (0xf7d26000)
libc.so.6 => /lib/libc.so.6 (0xf7be6000)
/lib/ld-linux.so.2 (0xf7f2c000)
libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xf7be3000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xf7bcc000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xf7bc9000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xf7bc4000)

The second warning is:

/usr/share/applications/vmware-server.desktop: warning: The 'Application' category is not defined by the desktop entry specification. Please use one of "AudioVideo", "Audio", "Video", "Development", "Education", "Game", "Graphics", "Network", "Office", "Settings", "System", "Utility" instead
/usr/share/applications/vmware-console-uri-handler.desktop: warning: The 'Application' category is not defined by the desktop entry specification. Please use one of "AudioVideo", "Audio", "Video", "Development", "Education", "Game", "Graphics", "Network", "Office", "Settings", "System", "Utility" instead
Trying to find a suitable vmmon module for your running kernel.

The third problem:

None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? yes

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

Your kernel was built with "gcc" version "4.1.1", while you are trying to use
"/usr/bin/gcc" version "4.1.2". This configuration is not recommended and
VMware Server may crash if you'll continue. Please try to use exactly same
compiler as one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.1.2" anyway? no yes

After that it fails

Any idea what I need to do to fix these problems

Thanks

Posted by Anonymous at Apr 08, 2008 22:42

Installing VMware server 1.0.5 on Foresight Linux 2.0 x-86-64

Started with the HOWTO here:

https://wiki.foresightlinux.org/display/docs/VMWare+Installation+HOWTO

The very first thing you need to do is to update your Forsight system using:

        system --> administration --> update system

(this might take a little while to update to the latest packages)

Open a terminal and switch to root:

        sudo su - 

Then update some packages we will need for vmware:

        conary sync kernel
        conary update kernel:build-tree group-devel xinetd
        conary update libXtst:lib['is: x86'] --exact-flavors --keep-existing
        conary update libgcc:devellib['is: x86'] --exact-flavors --keep-existing

Download vmware:

http://www.vmware.com/download/server/

NOTE: make sure you save your serial number.

Extract the files:

        tar xvf VMware-server-1.0.5-80187.tar
        cd vmware-server-distrib/

Run the installer until it asks "Before running VMware for the first time..." Say NO. We have our own special wrapper to run.

        ./vmware-install.pl

NOTE!!!: say NO when it asks you: ""Before running VMware for the first time..."

Download the latest vmware-any-any*.tar.gz package:

lynx http://platan.vc.cvut.cz/ftp/pub/vmware/

Extract these files:

        tar zxf vmware-any-any-update115.tar.gz
        cd vmware-any-any-update115

NOTE: there seems to be a typo in the runme.pl file. Open it and do a search for chop. Change
it to chomp.

Next run the runme.pl script:

        ./runme.pl

This time say "yes".

Once you have finished running the above script, you have to copy a couple of files:

cp /usr/lib/libgcc_s.so /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1
cp /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0

Volia! VMWare should now work! You should see at menu item for it:

        Applications --> Other --> VMware Server Console

OR in a terminal you can just run: vmware

Happy VMwareing!

Posted by Anonymous at Apr 16, 2008 18:37