Sonora Communications, Inc.

  • Increase font size
  • Default font size
  • Decrease font size

VMware Server Installation and Configuration

E-mail Print PDF

Sonora Communications standard host configuration at the time of this writing is Centos 4.4 host OS.

Reference

Hot tips for running and maintaining VMware Server.

Install on Ubuntu.

Deleting snapshots.

VMware Server Installation

This procedure also works for upgrades. 

The gcc compiler and kernel-devel packages will be required to be installed.

Download, install and configure the latest server RPM file. The kernel-source RPM file needs to be installed, as well as the gcc compiler package.  Check the VMware web site for the latest version.

Uninstall

If you are upgrading from VMware Server 1.x, uninstall it first with:

sudo vmware-uninstall.pl

RPM Based Systems

Download the .rpm pakage and license code from the VMware web site, then install:

sudo rpm -Uvh VMware-server-2.0.0-116503.i386.rpm

Ubuntu (Debian) Based Systems

Download the free VMware Server software from here as a binary (.tar.gz) file.

sudo apt-get install build-essential xinetd linux-headers-`uname -r`
tar -xzvf VMware-server-2.0.0-116503.i386.tar.gz
cd vmware-server-distrib/
sudo ./vmware-install.pl

Then after a successful installation:

cd ..
sudo rm -rf vmware-server-distrib/

You will want to add a valid (your) username as the VMware Administrator.

I don't enable NAT, and I sometimes keep my VMs in my Home Directory, but otherwise I use the defaults presented.

VMware Server 2.0 no longer includes the VMware Console...it uses web browser management instead.

http://localhost:8222

or

https://localhost:8333

Configure VMware Server (always needed after kernel upgrades)

Logged into the server as root:

vmware-config.pl

In vmware-config.pl, choose these options (or adjust as desired):

  • default file locations
  • networking - yes
  • vmnet0 bridged to eth0
  • NAT - no
  • default console connection ports
  • virtual machines location - the default is fine, but you may want to change this
  • serial number - get from VMware web site
    • only install it once

Configure SME 7 Guest OS

Install the VMware Tools RPM

At VMware Console, click VM->Install VMware Tools.

At SME host console, enter:

mount /dev/cdrom /media/cdrom
rpm -Uvh /media/cdrom/VMwareTools-*.i386.rpm

If you have a problem with the next step, rem out the pcnet32 module from the /etc/modprobe.conf file and reboot the VM first.

vmware-config-tools.pl

Follow the instructions displayed on the screen to implement the vmxnet driver.

Start VMware Tools

At the SME console:

/etc/rc.d/init.d/vmware-tools start

Make tools start on reboot:

# Redhat-based distros
chkconfig vmware-tools on

# SME 7
ln -s /etc/rc.d/init.d/vmware-tools /etc/rc7.d/S19vmware-tools

Timekeeping

Configure the host OS for NTP timekeeping.

Configure the guest OS for NO NTP timekeeping.

On the SME 7 guest as root, edit /boot/grub/grub.conf and add 'clock=pmtmr' to appropriate kernel line(s).
(Note: clock=pit may cause IMAPS to fail!)

Shut down the SME 7 virtual machine.

Edit /var/lib/vmware/Virtual Machines/<vm name>/<vm name>.vmx and change:

tools.syncTime = "TRUE"

Restart the SME 7 virtual machine.

Minimizing the Number of Running Services on SME 7

This command will show the services:

config show |grep "service\|status"

This command will disable a service:

config setprop servicename status disabled

More information on minimizing services is here.

Last Updated on Thursday, 16 October 2008 18:46  

Your external IP

You are connecting to this site from: 38.107.179.234

Secure Client Login

Email Address:

Password: