How To Install VMware Server On Ubuntu 7.04 (Feisty Fawn)

Want to support HowtoForge? Become a subscriber!
 
Submitted by blkwolf (Contact Author) (Forums) on Mon, 2007-04-30 17:55. :: Ubuntu | VMware | Virtualization

How To Install  VMware Server On Ubuntu 7.04 (Feisty Fawn) 

This tutorial provides step-by-step instructions about how to install the free VMware Server on an Ubuntu 7.04 (Feisty Fawn) system. With VMware Server you can create and run guest operating systems ("virtual machines") such as Linux, Windows, FreeBSD, etc. under a host operating system. This has the benefit that you can run multiple operating systems on the same hardware which saves a lot of money, and you can move virtual machines from one VMware Server to the next one (or to a system that has the VMware Player which is also free).

Build Environment

Make sure you have the needed build environment and tools to compile the vmware modules for the kernel.

aptitude install linux-headers-`uname -r` build-essential

aptitude install xinetd

Downloading VMware Server

Vmware Server can be downloaded from:

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

After accepting the EULA grab the vmware server .tgz file (around 102MB).

Note: As of right now VMware Server won't compile correctly on Feisty without patching the vmmon file.

Patch information can be found here: http://www.vmware.com/community/thread.jspa?messageID=76957&tstart=0

The patch can be downloaded here: http://ftp.cvut.cz/vmware/vmware-any-any-update109.tar.gz

Installing VMware Server

Untar the VMware Server package:

tar -xzf /Path/To/VMware-server-1.0.3-xxx.tar.gz

Change into the install directory:

cd vmware-server-distrib

Run the installer:

sudo vmware-install.pl

Choose defaults to questions until it asks:

Before running VMware Server for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config.pl". Do you want this program to invoke the command for you now? [yes]

Enter no and quit the install. To install the patch cd back to your start directory:

cd ..

Untar the patch:

tar xvzf /Path/To/vmware-any-any-update109.tar.gz

Enter the directory:

cd vmware-any-any-update109

Run the patch script:

sudo ./runme.pl

It should prompt you to run vmware-config.pl, choose yes at this time. If it doesn't you can always run the config script manually:

sudo vmware-config.pl

Again you can hit enter to choose the defaults to all the questions, though you will probably want to manually choose which networking features you want. To access the server run

vmware

for the VMware Server Console.


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Anonymous (not registered) on Wed, 2009-02-04 16:54.

go here to fix:

http://ubuntuforums.org/showthread.php?t=770873

Submitted by jeferson.info -... (not registered) on Fri, 2008-10-03 03:16.
hello,
I would like to inform you that the address has changed to http://jeferson.info/instalar-vmware-linux
Submitted by jeferson dos Santos (not registered) on Sun, 2008-09-28 00:57.

Hi

I wrote a similar article in brazilian portuguese. I though it can be useful comment here and leave a link to my detailed article:

http://jeferson.info/instalando-vmware-server-no-ubuntu-804-server-edition-e-debian

Thanks

Bye

Submitted by nineowls (registered user) on Wed, 2007-10-31 21:22.

all i had to do was

  • Find and download vmware-any-any-update114.tar.gz
  • Repair/remove a failed vmware-player install (I think 38 below is the one that did it)

   29  sudo rm -f /etc/init.d/vmware-player
   30  sudo rm -f /etc/rc0.d/K20vmware-player
   31  sudo rm -f /etc/rc1.d/K20vmware-player
   32  sudo rm -f /etc/rc2.d/K20vmware-player
   33  sudo rm -f /etc/rc3.d/K20vmware-player
   34  sudo rm -f /etc/rc4.d/K20vmware-player
   35  sudo rm -f /etc/rc5.d/K20vmware-player
   36  sudo rm -f /etc/rc6.d/K20vmware-player
   37  sudo rm /lib/modules/`uname -r`/vmware* -R
   38  sudo rm /etc/vmware -R

Thanks very very much!
Submitted by tippeltappel (registered user) on Sun, 2007-09-09 23:28.

I guess the following line should read

Run the installer:

sudo ./vmware-install.pl

 instead of

Run the installer:

sudo vmware-install.pl

Correcting the HowTo would help with copy/paste the instructions.

Besides this everything worked perfectly for me. Thanks for a great HowTo. 

Submitted by ozmark (registered user) on Wed, 2007-07-11 22:43.

I thought about pursuing the repo install, but after reading of the problems the package has, I went with this How-to.  It went exactly as described, no missing dependencies, no suprises at all.

Thanks blkwolf for a great How-to.

Submitted by bkeshet (registered user) on Tue, 2007-06-05 10:41.

Hi,

On 64bit systems one must also install the ia32-libs library otherwise one gets error messages about various files missing.

apt-get install ia32-libs
 

Submitted by bhatir (registered user) on Tue, 2007-05-29 22:07.

I followed the exact steps mentioned on a brand new Feisty install but had some issues because several libraries were not installed. I suggest installing the following before the vmware install -

sudo apt-get install  libx11-6 libxtst6 libice-dev libsm-dev libxt6  

 

Submitted by padawan (registered user) on Thu, 2007-05-03 15:16.

All things works perfectly, just want to indicate the following link in case of unavailability of the one mentioned above.

http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-any-any-update109.tar.gz

Submitted by melvis02 (registered user) on Fri, 2007-10-12 21:54.

I just installed vmware-server on Ubuntu Gutsy (2.6.22 kernel), and am up and running fine.  However, the patch listed in the tutorial didn't work.  After googling, found an updated version (113):

http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-any-any-update113.tar.gz

Submitted by jbo5112 (registered user) on Sat, 2007-10-27 04:29.

I just installed Ubuntu 7.10 and VMware-server 1.0.4 without a patch.  Everything runs fine except for the copy of Windows, which is 100% Microsoft's fault!

Submitted by Igor (registered user) on Thu, 2007-10-25 11:07.

Sorry my engl. 

Ubuntu server 7.0.4 and 7.0.10 , VMware-server-1.0.4-56528.tar.gz

$sudo -s -H
$aptitude install linux-headers-`uname -r` build-essential
$aptitude install xinetd
$tar -xzf  VMware-server-1.0.4-56528.tar.gz
$cd vmware-server-distrib
$./vmware-install.pl
#### /usr/bin/vmware-config.pl   say NO
$ldd /usr/lib/vmware/bin/vmware-vmx
$aptitude install libx11-6 libxtst6 libxt6 libxrender1
####or
####  $aptitude install libx11-6 libxtst6 libxt6
####  $cp /usr/lib/vmware/lib/libXrender.so.1/libXrender.so.1 /usr/lib/
$ldd /usr/lib/vmware/bin/vmware-vmx
$./vmware-install.pl
$exit

ps patch  vmware-any-any-update113.tar.gz and vmware-any-any-update114.tar.gz  no work  in vmware-server 1.0.4  (tested in 7.0.4 and 7.0.10 )   :(  

 

Submitted by Nakkel (registered user) on Wed, 2007-05-02 06:02.

VMware Server can also be found at the Ubuntu Commercial repository. You need to add "deb http://archive.canonical.com/ubuntu feisty-commercial main" to your /etc/apt/sources.list then run "sudo apt-get update" and then just install with "sudo apt-get install vmware-server"

Submitted by davmac (registered user) on Tue, 2007-05-01 14:48.

I think this now might be somewhat simpler. I noticed VMWare Server in the repositories last night and just went ahead and installed it with apt-get. The only potential gotcha is that you still need to register for licence numbers. Once you've got a licence number, a simple "sudo apt-get install vmware-server" does it all.

 Hope this helps,

 Dave MacLeod

Submitted by systimax (registered user) on Sat, 2007-05-05 18:03.

Just wanted to let everyone know that there is a bug with the vmware-server package in the rep

The issue is that your are not able to log into the vmware-server with the vmware server console app.  Issues with PAM

Thats important if you dont have a desktop installed. 

http://www.vmware.com/community/thread.jspa?messageID=636956

 If anyone knows how to contact the pacakge creator please let them know.

thanks 

Submitted by Anonymous (not registered) on Thu, 2008-10-30 15:52.

Using Hardy 8.04

 Added the deb line to /etc/apt/sources.list, refreshed synaptic, and now vmware-server shows up in the list but when I try to install it I get the error that it's uninstallable due to unsatisfiable dependencies. Specifically, I get this:

 vmware-server:
 Depends: vmware-server-kernel-modules  but it is not installable
 Depends: libssl0.9.7  but it is not installable

 Also I've installed vmware-server from the .tar.gz on vmware.com and when I run VMWare it brings up a web page on localhost prompting me to log into the VMWare Infrastructure Web Access, but at no point was I given a login name or password. How do I log in?

Submitted by hakerbitz (not registered) on Mon, 2009-06-29 17:25.

I believe that the user name you use is the one you log into the computer with..

eg joe@joe-desktop:~$
means i would log in as joe. also you can add a password to the root account by using

sudo passwd root