This is for VMWare Server 1.04 on Ubuntu 7.10 (Gutsy Gibbon):
– From a terminal prompt, I would first create a directory to store VMWare, and from that directory:
– download VMWare Server http://www.vmware.com
as of 11/07/07, you can execute the following command to download version 1.0.4:
wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.4-56528.tar.gz
– download the required patch to make it work at:
wget http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update115.tar.gz
(if this link doesn’t work, just google for the VMWare Any Any patch)
– register for licenses for Linux on the VMWare website
– install the needed build tools (you may already have them)
sudo apt-get install linux-headers-`uname -r` build-essential
this installs the build tools, and kernel headers for your linux version. NOTE – if you update your kernel, you will need to repeat these steps
UPDATE(11/13): you need to install this set of tools instead, if installing to a vanilla server build:
sudo apt-get install linux-headers-`uname -r` libx11-6 libx11-dev x-window-system-core x-window-system xspecs libxtst6 psmisc build-essential xinetd zip unzip
when prompted for X11 display settings, just select 800*600 and move on
Apparently, some functions with VMWare Server 1.04 now look for X11 extensions. X11 is the windowing system on Linux (the GUI). For a server platform, you likely only have a command-line interface, as I did one time (which is how I came across this). My installation had errors, and then failed when typing in the license key, as it was looking for some of these libraries. Hopefully, there may be a better work around then loading up my server with unneeded X11 libraries – until then, run the above to setup VMWare server on a GUI-less server.
– run the following commands:
tar -xzf ./VMware-server-1.0.4-56528.tar.gz
(VMware-server-1.0.4-56528.tar.gz – replace with the name of the file you downloaded from VMWare)
tar xvzf ./vmware-any-any-update115.tar.gz
(vmware-any-any-update115.tar.gz – replace with the name of the file you downloaded for the anyany patch)
– Change to the directory where VMWare extracted to:
cd vmware-server-distrib– Run the installer:
sudo ./vmware-install.pl
Choose the defaults to each question, until the end when you are prompted: “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]”
Type: no and press enter to quit the installation
Type: cd ../vmware-any-any-update
(vmware-any-any-update – replace with the name of the folder created when you extracted the patch. Type ls for a listing of the folder)
Type:
sudo ./runme.pl
This time, when prompted to configure, select the default of yes.
Now you will configure the network interfaces. Select the defaults. You can customize your virtual networks as you wish. I may go into detail on that later.
As of version 1.04, I still had to do the following:
You will then need to edit a file to make VMWare work properly:
sudo vi /etc/pam.d/vmware-authd
File will look like this:
#%PAM-1.0
auth sufficient /usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix2.so shadow nullok
auth required /usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix_auth.so shadow nullok
account sufficient /usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix2.so
account required /usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix_acct.so
change it all to this:
#%PAM-1.0
@include common-auth
@include common-account
Read Full Post »