How to install VMware Server 2.0.2 on Ubuntu 9.04 Jaunty Jackalope

Wednesday, October 28th 2009, 17:36

The same script I wrote in order to help users install VMware Server 2.0.1 (build 156745) on Ubuntu 9.04 can be used for the latest release from VMware: VMware Server 2.0.2 (build 203138).

In order to install the server, just follow these instructions:

  1. Download your copy of VMware Server (.gz archive) and obtain your license key. Be aware that now you must configure your license key according to the number of hosts on which you want to install the server.
  2. Download my script, make it executable and run it (with superuser privileges) from the same folder where you have downloaded VMware Server or provide it the path to that folder:
    chmod +x vmware-install-script.sh
    sudo ./vmware-install-script.sh [PATH_TO_VMWARE_ARCHIVE]
    
  3. Follow the on-screen instructions.
  4. Drop a Kudos line to me here if everything worked okay.

According to VMware, the 2.0.2 release is just a maintenance release that resolves security as well as some known issues.

Geek on!

ATTENTION: Don’t try to install VMware Server with this script or without it on Ubuntu 9.10 because it won’t work. Some kernel sources on which VMware Server relied for module compilation have changed, thus resulting in failed attempts to build the corresponding modules.

Click here if you want to install VMware Server 2.0.2 on Ubuntu 9.10.

You might also like:

20 Comments

1 2
  • Hi,

    your script does not recognize the x86_64 tar.gz files for the vmware-server-2.0.2. due to the underscore in the arch part of the filename.

    thanks for the script though. Helps a lot ;)

    cheers.
    Vincent

    • Yes it does… Check the regex in it.

      egrep "^(VMware-server-2.0.[0-9]-)[0-9]*.[A-Za-z0-9_]*.tar.gz"`

      There were a few hours in the morning though when it didn’t check for that underscore too. But it’s history now. :D
      You are welcome!

  • Thanks a lot! Just installed VMWare Server 2.02 on Ubuntu 9.04 minimal 64 bit without any trouble! I tried it a few times before, reading something here and there… all failed, but this worked :)

  • it works for me, thx … it was my first try :)

  • Not quite there; have different starting point.
    Using 8.04.3 Hardy _64 2.6.24-25 for main system
    Guest of 9.04 Jaunty 32-bit
    Vmware server2.0.2 203138

    Applied your patch to server2 and installed (OK).
    Other VM guests seem to run okay.
    Started Jaunty guest; downloaded vmware tools
    Build errors with vmhgfs and vsock.
    (Was your script supposed to fix vmware tools also?)

    Rebuilt vmci then vsock with symvers from vmci
    vsock built OK; copied to modules; depmod; changed vsock entry in vmware locations file; reboot.

    But, no joy. Copy/paste/mouse fails between sessions and vmware-toolbox not configured properly.

    • VMware Server on Ubuntu 8.04 doesn’t require any patch… Check this out. There are very few differences between 2.0.0 and 2.0.2 (mainly enhancements and some minor bugfixes). The patches started to be needed starting with Ubuntu 8.10.

  • Agreed, on everything you said. I’ve been using vmware server on 8.04 for many months with a variety of guests. The problem is ONLY getting vmware tools to run in Jaunty as a guest session. I only patched the vmware server in hopes that it would fix the tools downloaded to the guest.

  • Thank you for providing these very useful scripts.
    A suggestion for a small modification to ‘vmware-install-script.sh’:
    In the function ‘check_user()’, replace:

    if [[ $USER != "root" ]]; then

    with:

    if [[ $EUID -ne 0 ]]; then

    or

    if [ "$(id -u)" != "0" ]; then

    The reason for this it that the latter tests should work even if one has used ‘su’ to become root.

  • Even if you use su you would still be root… Check this out:

    radu@tux:~$ cat test.sh
    #!/bin/bash
    echo The user who ran this script is: $USER
    radu@tux:~$ su -c ./test.sh
    Password:
    The user who ran this script is: root
    

  • did not understand how to run the excript together in the vmware folder. of an example.

  • I made an update to this post by providing an example. If you run the script in the same folder with the archive, don’t supply any parameters. Otherwise, give it the path to the archive…

  • forgot to inform the use openSUSE 11.2 kde kernel 2.6.31, for the love of God help me I can not install vmware server 2.0.2.
    Note: I am Brazilian to using google to translate sorry some mistakes.
    Regards,

    Joe Davola

1 2

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


CODE EXAMPLES: When you want to include source code or terminal output, please use the the following tags like in the next example:

    [language]
    code lines
    [/language]
	

where you substitute language with the programming laguage used throught the code example (for terminal output that would be bash), e.g:

    [bash]
    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    [/bash]
	

To see a list of all the supported languages, please check this page.

If you want to include code bits inline, please use the code tags like in the following example:

    The <code>$USER</code> variable holds the current logged in username.
	

Projects that I support

Recent Comments

  • nope said:
    yeah that was my first thought too, but: mount: warning: seems to be mounted read-write. too bad, would have been just perfect. more»
  • Klaus Deiss said:
    Dear Radu, I tried it on Ubuntu 10.0.4.2 and 10.0.4.3 with different kernel versions (amd64 server 2.6.32 kernel). No... more»
  • scompo said:
    Nope.. Now it’s not working again.. This printer it’s a real pain in the butt.. The other hp printer I had... more»
  • Dmitrij said:
    Thank you Peter and Patrice. Could you please post the updated script? more»
  • hd_flash_pains said:
    didn’t work for me more»

Recent Tweets

Bear