The Temple of Fu

code, systems and games

Install VMWare Server 2.0.1 on CentOS 5.3

leave a comment »

Install VMware Server on CentoS 5.3

First find out what kernel you have installed.

uname -r

On my new install I have 2.6.18-128.e15.

On this server I will be using a GUI, so for the following package installations I used the package manager to install the software.

Dependency Installation

Go to Applications > Add/Remove Software:

The Package Manager opens. Go to the Browse tab and select:

  * Development > Development Libraries

  * Development > Development Tools

Then click apply

Then go to the Search tab and search for xinetd. Select the xinetd package for installation:

Do the same for the kernel-devel package. Please make sure you select the kernel-devel package that corresponds to your current kernel

At this point I rebooted, not a necessity but I did.

VMWare Server Installation

To download VMware Server, go to and click on Download Now:

Download the VMware Server for Linux .tar.gz file to your place in which you will build it. I will be building under /usr/src/vmware

Change to the directory where you have the file and un-tar it change directory and start the install.

tar xvfz VMware-server-*.tar.gz
cd vmware-server-distrib
The installer will ask you a lot of questions. You can always accept the default values simply by hitting  enter when it asks you

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

[/var/lib/vmware/Virtual Machines]

Accept default unless you have other reasons.

It will then attempt after a few more steps to build and load a vm monitor module ‘vmmon’, if this step fails it is becase most likely you have the wrong kernel-dev packages installed at the begining.

Then comes networking. I set up bridged networking. This allows my guests to have there own unique IP address assigned to them. I also assigned eth1 as the bridged interface.

I say no to NAT networking.

I say no to host-only networking.

Accept the default port assigned for remote connection.(902)

Accept the default port assigned for standard http connections (8222).

Accept the default port assigned for secure http connections (8333).

I installed as root so the VMWare server administrator is root(8222).

At the end of the installation, you will be asked to enter a serial number:

Please enter your 20-character serial number.

Type XXXXX-XXXXX-XXXXX-XXXXX or ‘Enter’ to cancel:

Fill in your serial number for VMware Server.

For those that are used to using the old remote management interface, VMWare now offers a web absed management infrastructure and I must say it is very nice!

If you try to connect with the old management server you will get the following.

"Unable to connect to the remote host: 501 Global command GLOBAL server-vmdb to non-host agent targets not supported."

Open a web browser and point it to your server and with the port 8222. localhost:8222 if ran on your local machine, otherwise enter the ip address of the server.

This is where you can configure and add your guest machines as well as connect to the console of the guest.(see below).

vmware web interface

There ya go!

I have upgraded my server since this post was originally written, let it be known that when doing kernel upgrades, you MUST rebuild vmware by running the following and answering the questions all_over_again; however this time your previous answers(configuration) are the default answers so just saying yes works in most cases.

I have noticed that the Web Management tool is a bit flaky and does not like SSL3 so make sure you do not allow your browser to use SSL3. It also randomly does not work, just plain old does nothing, I guess thats expected for FREE. However I give the web interface a 2 out of 10 stars for its flakyness.

Written by lordfu

February 25, 2010 at 2:32 am

Posted in Linux, RedHats

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: