How to install VMWare Server 1.0.1 on Mandriva 2007
Thursday, 11 January 2007
This workshop describes how to install VMware server 1.0.1 on Mandriva 2007 64-bit systems. Additionally you will get information how to install Linux and Windows clients to access the VMWare Server. With VMware Server you can create and run guest operating systems ("virtual machines") such as Linux, Windows, BSD, etc. under a host operating system.

The Workshop Setup looks like this:

 

 

Step 1: Download VMWare Server and Client (Linux)

Get the software here:

 
You need to download the following files:

  • Vmware-server-1.0.1-29996.i386.rpm
  • Vmware-server-linux-client-1.0.1-29996.zip

Store it in your download directory (/home/user/Download).

You'll need a free licensed serial number also. Please get it here: http://www.vmware.com/vmwarestore/serial_number.html

 

Step 2: Install necessary Mandriva packages

To get VMWare Server running you need to install the following packages using the urpmi command.

Please read here if you do not know how it works. 

 
urpmi kernel-source-2.6.17

urpmi xinetd


Remark!

Unfortunately Vmware Server 1.0.1 needs 32-bit packages to run properly. For this reason you have to install the following packages from your installation media or you can download it here. Please install the packages as root like this:

rpm -i libxtst6-1.0.1-3mdv2007.0.i586.rpm

 

Step 3: VMWare Server Installation

Change to your “Download” directory, get root permissions and install VMWare server like this:

 

su

cd /home/user/Download

rpm -i VMware-server-1.0.1-29996.i386.rpm

 

It is now time to configure the server. Run the following command to do so:

 

/usr/bin/vmware-config.pl

 

Remark! 

If you missed to install 32bit package (see remark Step 2), you will get this warning:

 

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 (0xf7f1f000)

 libdl.so.2 => /lib/libdl.so.2 (0xf7f1b000)

 libpthread.so.0 => /lib/libpthread.so.0 (0xf7f08000)

 libX11.so.6 => /usr/lib/libX11.so.6 (0xf7e0a000)

  libXtst.so.6 => not found

 libXext.so.6 => /usr/lib/libXext.so.6 (0xf7dfa000)

 libXt.so.6 => /usr/lib/libXt.so.6 (0xf7da3000)

 libICE.so.6 => /usr/lib/libICE.so.6 (0xf7d8a000)

 libSM.so.6 => /usr/lib/libSM.so.6 (0xf7d81000)

  libXrender.so.1 => /usr/lib/libXrender.so.1 (0xf7d78000)

 libz.so.1 => /lib/libz.so.1 (0xf7d65000)

 libc.so.6 => /lib/libc.so.6 (0xf7c38000)

 /lib/ld-linux.so.2 (0xf7f5d000)

 libXau.so.6 => /usr/lib/libXau.so.6 (0xf7c35000)

 libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xf7c2f000)

 

This program cannot tell for sure, but you may need to upgrade libc5 to glibc

before you can run VMware Server.

 

You did Step 2 correctly and didn't see this message, so hit enter to continue.

 

Making sure services for VMware Server are stopped.

 

Stopping VMware services:

 Virtual machine monitor [ OK ]

 

You must read and accept the End User License Agreement to continue.

Press enter to display it.

 

Hit enter to continue and q to quit.

 

Do you accept? (yes/no) yes

 

Thank you.

 

Configuring fallback GTK+ 2.4 libraries.

 

In which directory do you want to install the mime type icons?

[/usr/share/icons]  ENTER

 

What directory contains your desktop menu entry files? These files have a

.desktop file extension. [/usr/share/applications] ENTER

 

In which directory do you want to install the application's icon?

[/usr/share/pixmaps] ENTER

 

Unable to install the .desktop menu entry file. You must add it to your menus

by hand.

 

Ignore the error messages and hit ENTER

 

Trying to find a suitable vmmon module for your running kernel.

 

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] ENTER

 

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

 

What is the location of the directory of C header files that match your running

kernel? [/lib/modules/2.6.17-5mdv/build/include] ENTER

 

Extracting the sources of the vmmon module.

 

Building the vmmon module.

 

Using 2.6.x kernel build system.

make: Entering directory `/root/tmp/vmware-config0/vmmon-only'

make -C /lib/modules/2.6.17-5mdv/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-2.6.17-5mdv'

 

 WARNING: Symbol version dump /usr/src/linux-2.6.17-5mdv/Module.symvers

 is missing; modules will have no dependencies and modversions.

 

 CC [M] /root/tmp/vmware-config0/vmmon-only/linux/driver.o

 CC [M] /root/tmp/vmware-config0/vmmon-only/linux/hostif.o

 CC [M] /root/tmp/vmware-config0/vmmon-only/common/cpuid.o

 CC [M] /root/tmp/vmware-config0/vmmon-only/common/hash.o

 CC [M] /root/tmp/vmware-config0/vmmon-only/common/memtrack.o

 CC [M] /root/tmp/vmware-config0/vmmon-only/common/phystrack.o

 CC [M] /root/tmp/vmware-config0/vmmon-only/common/task.o

 CC [M] /root/tmp/vmware-config0/vmmon-only/common/vmx86.o

 CC [M] /root/tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o

 LD [M] /root/tmp/vmware-config0/vmmon-only/vmmon.o

 Building modules, stage 2.

 MODPOST

 CC /root/tmp/vmware-config0/vmmon-only/vmmon.mod.o

 LD [M] /root/tmp/vmware-config0/vmmon-only/vmmon.ko

make[1]: Leaving directory `/usr/src/linux-2.6.17-5mdv'

cp -f vmmon.ko ./../vmmon.o

make: Leaving directory `/root/tmp/vmware-config0/vmmon-only'

The module loads perfectly in the running kernel.

 

Do you want networking for your virtual machines? (yes/no/help) [yes] ENTER

 

Configuring a bridged network for vmnet0.

 

The following bridged networks have been defined:

 

. vmnet0 is bridged to eth0

 

All your ethernet interfaces are already bridged.

 

Do you want to be able to use NAT networking in your virtual machines? (yes/no)

[yes] ENTER

 

Configuring a NAT network for vmnet8.

 

Do you want this program to probe for an unused private subnet? (yes/no/help)

[yes] ENTER  

 

Probing for an unused private subnet (this can take some time)...

 

The subnet 192.168.180.0/255.255.255.0 appears to be unused.

 

The following NAT networks have been defined:

 

. vmnet8 is a NAT network on private subnet 192.168.180.0 .

 

Do you wish to configure another NAT network? (yes/no) [no] ENTER

 

Do you want to be able to use host-only networking in your virtual machines?

[yes] ENTER

 

Configuring a host-only network for vmnet1.

 

Do you want this program to probe for an unused private subnet? (yes/no/help)

[yes] ENTER 

 

The following host-only networks have been defined:

 

. vmnet1 is a host-only network on private subnet 192.168.101.0.

 

Do you wish to configure another host-only network? (yes/no) [no] ENTER

 

Extracting the sources of the vmnet module.

 

Building the vmnet module.

 

Using 2.6.x kernel build system.

make: Entering directory `/root/tmp/vmware-config0/vmnet-only'

make -C /lib/modules/2.6.17-5mdv/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-2.6.17-5mdv'

 

 WARNING: Symbol version dump /usr/src/linux-2.6.17-5mdv/Module.symvers

 is missing; modules will have no dependencies and modversions.

 

 CC [M] /root/tmp/vmware-config0/vmnet-only/driver.o

 CC [M] /root/tmp/vmware-config0/vmnet-only/hub.o

 CC [M] /root/tmp/vmware-config0/vmnet-only/userif.o

 CC [M] /root/tmp/vmware-config0/vmnet-only/netif.o

 CC [M] /root/tmp/vmware-config0/vmnet-only/bridge.o

 CC [M] /root/tmp/vmware-config0/vmnet-only/procfs.o

 CC [M] /root/tmp/vmware-config0/vmnet-only/smac_compat.o

 SHIPPED /root/tmp/vmware-config0/vmnet-only/smac_linux.x86_64.o

 LD [M] /root/tmp/vmware-config0/vmnet-only/vmnet.o

 Building modules, stage 2.

 MODPOST

 CC /root/tmp/vmware-config0/vmnet-only/vmnet.mod.o

 LD [M] /root/tmp/vmware-config0/vmnet-only/vmnet.ko

make[1]: Leaving directory `/usr/src/linux-2.6.17-5mdv'

cp -f vmnet.ko ./../vmnet.o

make: Leaving directory `/root/tmp/vmware-config0/vmnet-only'

The module loads perfectly in the running kernel.

 

Please specify a port for remote console connections to use [902] ENTER

 

Remark!

If you're getting a warning at this time, please install xinetd first and rerun the configuration.
See Step 2.

 

xinetd wird gestoppt: [FEHLER]

xinetd wird gestartet: [ OK ]

 

Configuring the VMware VmPerl Scripting API.

Could not find necessary components to build the VMware VmPerl Scripting API.

Look in your Linux distribution to see if there is a perl-devel package.

Install that package if it exists and then re-run this installation program.

 

********

The VMware VmPerl Scripting API was not installed. Errors encountered during

compilation and installation of the module can be found here:

/root/tmp/vmware-config0

 

You will not be able to use the "vmware-cmd" program.

 

Errors can be found in the log file:

'/root/tmp/vmware-config0/control-only/make.log'

********

 

Hit enter to continue. ENTER

 

Generating SSL Server Certificate

 

In which directory do you want to keep your virtual machine files?

[/var/lib/vmware/Virtual Machines] ENTER or use your preferred directory

 

The path "/var/lib/vmware/Virtual Machines" does not exist currently. This

program is going to create it, including needed parent directories. Is this

what you want? [yes] ENTER

 

/usr/lib/vmware/bin/vmware-vmx: error while loading shared libraries: libXtst.so.6: cannot open shared object file: No such file or directory

Please enter your 20-character serial number.

 

Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel:

 

Please use your serial number you received by email here.

 

Starting VMware services:

 Virtual machine monitor   [ OK ]

 Virtual ethernet   [ OK ]

 Bridged networking on /dev/vmnet0 [ OK ]

 Host-only networking on /dev/vmnet1 (background) [ OK ]

 Host-only networking on /dev/vmnet8 (background) [ OK ]

 NAT service on /dev/vmnet8 [ OK ]

 

The configuration of VMware Server 1.0.1 build-29996 for Linux for this running

kernel completed successfully.

 

Step 4: Install the Linux VMWare client and run the client

su

cd /home/user/Download

unzip Vmware-server-linux-client-1.0.1-29996.zip

rpm -i Vmware-server-console-1.0.1-29996.i386.rpm

/usr/bin/vmware-config-server-console.pl

 

You must read and accept the End User License Agreement to continue.

Press enter to display it.

 

Hit enter to continue and q to quit.

 

Do you accept? (yes/no) yes

 

Thank you.

 

Configuring fallback GTK+ 2.4 libraries.

 

The configuration of VMware Server Console completed successfully.

 

Open your favorite console at enter the following command to run vmware-client-console:

 

/usr/bin/vmware &

 

Connect to “Local host” or to a “Remote host”.

 


 

You are now able to create a new virtual machine by using the wizard:

 

 

 

Step 5: Install the Windows VMWare client and run it

VMware Server Windows client package is a zip package containing installer files for the following VMware Server Windows Client components:
- Windows VMware Server Console (.exe)
- COM scripting API for Windows (.exe)
- Perl scripting API for Windows (.exe)
- Programming API (.exe)

 

Dowload the file VMware-server-win32-client-1.0.1-29996.zip after accepting the EULA here:

 

http://register.vmware.com/content/eula.html

 

Please unzip the package and install the following file: VMware-console-1.0.1-29996.exe

 

 

 

 Read the article in pdf format.