User Tools

Site Tools


virtua:vmware:vmware_server

Installing and configuring VMware Server on Linux

VMware Server 2

Web Console Access

VMware web interface

Reconfigure after Kernel updates

After kernel updates on the host machine it can happen that VMware server has to be recompiled for the new kernel. In order to do so launch the configuration script but keep all settings.

/usr/bin/vmware-config.pl

VMware Server 1

Preconditions

Make sure xinetd and the needed kernel libraries are installed on your system:

yum install kernel-devel
yum install xinetd

If your using a PAE kernel (Physical Address Extension, 32 bit systems with more then 4 GB of memory) install the suitable devel packages:

yum install kernel-PAE-devel

Installation

  1. Install the latest RPM from the download page for VMware Server.
  2. Execute the following installation command:
rpm -Uhv <the name of the newest RPM>

Configuration

Run the configuration script:

/usr/bin/vmware-config.pl

Enter a serial number provided on the VMware download page.

Getting ready to connect

Per default vmware server only accepts local connection, so you have to add a line “only from” with your IP addresses. Additionally you have to add the line “flags = NOLIBWRAP” to prevent connection problems.

Edit the xinetd config like in the following example (found under /etc/xinetd.d/vmware-authd):

# default: on
# description: The VMware remote access authentification daemon
service vmware-authd
{
    disable         = no
    port            = 902
    socket_type     = stream
    protocol        = tcp
    wait            = no
    user            = root
    server          = /usr/sbin/vmware-authd
    type            = unlisted
    flags           = NOLIBWRAP
    only_from       = 192.168.63.0/24 127.0.0.1
}

:!: Make sure to restart xinetd after editing the configuration file:

service xinetd restart

Time synchronization

There's an issue with the system clock on virtual guest, see also VMware knowledge base. To prevent the system clock (emulated) from running too fast or slow, add the following lines into your vmware server global configuration in /etc/vmware/config.
:!: Adapt the cpukHz setting to match your servers cpu speed.

host.cpukHz = 3000000
host.noTSC = TRUE
ptsc.noTSC = TRUE

Install MUI Server client

1. Download the MUI client from VMware download page.

2. Extract the package to tmp:

cd /tmp 
tar xzfv /root/VMware-mui-1.0.3-44356.tar.gz

3. run the installer

cd vmware-mui-distrib/
./vmware-install.pl

4. access the management website with your webbrowser:

https://<server_address>:8333

5. Login with the system root user…

Connect with the vmware console

Download the vmware console from from the MUI website or from www.vmware.com and install the software on your client.

Afterwards you should be able to connect to your server given the credentials of a local system user:

vmware console login

Commands

Restart the VMware server:

service vmware restart

Restart the MUI web server:

service httpd.vmware restart

Reconfigure VMware Server after Kernel updates:

/usr/bin/vmware-config.pl
/srv/wiki.niwos.com/data/pages/virtua/vmware/vmware_server.txt · Last modified: 2009/08/15 19:03 (external edit)