Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These instructions assume you have root access and are using a bash shell:

Panel

sudo bash

Remove Existing Virtualization Components

Panel

yum groupremove "Virtualization" -y  

Make Sure The Host Computer Is Not Running A Xen Kernel

...

  1. Download the latest VMware Server 1.x RPM from http://www.vmware.com&nbsp
    (Note: these instructions assume you downloaded saved the RPM into /install)You may need to install or update some libraries: Panel

    yum install glibc-devel -y
    yum install glibc -y 
    yum install libXtst-devel -y

  2. Install the VMWare Server RPM:
  3. Panel

    rpm -ivh /install/VMware-server-1.0.8-126538.i386.rpm

  4. Configure VMWare Server:
    Panel

    vmware-config.pl

    Note: if you receive an error message you may need to install or update some libraries and then run vmware-config.pl again:
    Panel

    yum install glibc-devel -y
    yum install glibc -y 
    yum install libXtst-devel -y

    1. Press ENTER to view the license agreement, scroll to the bottom, type yes and press ENTER
    2. Wiki Markup
      In which directory do you want to install the mime type icons?
      \[/usr/share/icons\] *ENTER*
    3. Wiki Markup
      What directory contains your desktop menu entry files?
      These files have a .desktop file extension. \[/usr/share/applications\] *ENTER*
    4. Wiki Markup
      In which directory do you want to install the application's icon?
      \[/usr/share/pixmaps\] *ENTER*
    5. Wiki Markup
      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*
    6. Wiki Markup
      What is the location of the directory of C header files that match your running
      kernel? \[/lib/modules/2.6.18-128.1.14.el5/build/include\] *ENTER*
    7. Wiki Markup
      Do you want networking for your virtual machines? (yes/no/help) \[yes\] *ENTER*
    8. Wiki Markup
      Your computer has multiple ethernet network interfaces available: eth0, eth1,
      virbr0. Which one do you want to bridge to vmnet0? \[eth0\] *eth1*
    9. Wiki Markup
      Do you wish to configure another bridged network? (yes/no) \[no\] *yesENTER*
    10. Wiki Markup
      Your computer has multiple ethernet network interfaces available: eth0, eth1,
      virbr0. Which one do Do you want to be bridgeable to vmnet2? \[eth0\] *eth1*
      Wiki Markup
      Do you wish to configure another bridged networkuse NAT networking in your virtual machines? (yes/no) 
      \[noyes\]
       *no*
    11. Wiki Markup
      Do you want to be able to use host-only networking in your virtual machines?
      \[no\] *yes*
    12. Wiki Markup
      Do you want this program to probe for an unused private subnet? (yes/no/help)
      \[yes\] *no*
    13. What will be the IP address of your host on the private
      network? 192.168.0.1
    14. What will be the netmask of your private network? 255.255.0.0
    15. DHCP information is displayed, press ENTER
    16. Wiki Markup
      Do you wish to configure another host-only network? (yes/no) \[no\] *ENTER*
    17. Wiki Markup
      The default port : 902 is not free. We have selected a suitable alternative
      port for VMware Server use. You may override this value now.
      Remember to use this port when connecting to this server.
      Please specify a port for remote console connections to use \[904\] *ENTER*
    18. Wiki Markup
      In which directory do you want to keep your virtual machine files?
      \[/var/lib/vmware/Virtual Machines\] *ENTER*
    19. Wiki Markup
      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*
    20. Please enter your 20-character serial number
      Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel: enter the serial number you have obtained
  5. Verify the host-only network was configured correctly:
    Panel

    /sbin/ifconfig

    You should see a vmnet1 interface using IP address 192.168.0.1:
    Panel

    vmnet1    Link encap:Ethernet  HWaddr 00:50:56:C0:00:01
              inet addr:192.168.0.1  Bcast:192.168.255.255  Mask:255.255.0.0
              inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

    Verify the

Create a Virtual Machine

  1. Launch the VMWare Server console:
    No Format
    vmware &
    
  2. Connect to Local Host
  3. Create a new VM
    1. Virtual Machine Configuration: Typical
    2. Guest Operating System: Microsoft Windows
      Version: Windows XP Professional
    3. Name: vmwarewinxp-base7-v1
    4. Network connection: Custom
      /dev/vmnet1
    5. Disk size: 8.0 GB
      1. Allocate all disk space now: no
      2. Split disk into 2GB files: yes
  4. Edit virtual machine settings 
    1. Configure the VM CD-ROM drive to use the Windows XP ISO image
      1. Connection: Use ISO image: browse to path of Windows XP ISO image
        /install/WinXP+SP3.iso
    2. Add: Ethernet Adapter
      1. Network Connection: Custom
        /dev/vmnet2

...