Versions Compared

Key

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

...

  1. Download the latest VMware Server 1.x RPM from http://www.vmware.com
    (Note: these instructions assume you saved the RPM into /install)
  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

    VMware networking should be configured as follows after answering the questions asked by vmware-config.pl
    -vmnet0 is bridged to eth1
    -vmnet1 is a host-only network on private subnet 192.168.0.0.
    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\] *ENTER*
    10. Wiki Markup
      Do you want to be able to use NAT networking in your virtual machines? (yes/no)
      \[yes\] *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
  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)

Create a Virtual Machine

  1. Panel
    Code Block
    
    Starting VMware services:
       Virtual machine monitor                                        [  OK  ]
       Virtual ethernet                                                    [  OK  ]
       Bridged networking on /dev/vmnet0                        [  OK  ]
       Host-only networking on /dev/vmnet1 (background) [  OK  ]
       Starting VMware virtual machines...                         [  OK  ]
    

Create a Virtual Machine

  1. Launch the VMWare 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/vmnet2vmnet0

Install Windows XP on the Virtual Machine 

...

Delete ISO Image From Management Node & Reconfigure VM CD-ROM Drive

  1. Power off the VM 
  2. Delete If your management node is actually a VCL image, delete the Windows XP ISO image from the management node's hard drive to reduce the image size
  3. Reconfigure the VM CD-ROM
    1. Use physical drive
    2. Location: Host

Configure the Windows XP Virtual Machine 

  1. the host computer's hard drive to reduce the image size
    Panel

    rm -f /install/WinXP+SP3.iso

  2. Remove the VM's CD-ROM because it isn't needed anymore
    1. Edit virtual machine settings
    2. Select the CD-ROM drive
      1. Connection: Use a physical drive
      2. Device: Auto detect
      3. Virtual Device Node: IDE 0:1

Configure Windows XP

  1. Power on the VM
    Note: If you are shown an error stating "Cannot connect virtual device ide0:1", click No
  2. The root user should automatically log on 
  3. Set the root account's password: either the
  4. Run Microsoft Update 
  5. Configure the root user account
  6. Set root's password: either the user management GUI or execute the following command:
    No Format
    
    net user root <PASSWORD>
    
  7. Make sure root is a member of the Administrators group using the user management GUI or execute the following command from a command prompt: No Format net localgroup Administrators root /ADD net user root <PASSWORD>
  8. Install VMWare Tools  (Note: you must have a CD-ROM drive configured for the VM in order to install VMware Tools)
    1. Click on the VM menu and select "Install VMWare Tools"
    2. Select Typical and proceed through the setup pages accepting the defaults
    3. Reboot the VM when installation is complete

Install Cygwin 

  1. Download and From within the XP VM, download and run the Cygwin installer to the desktop: http://cygwin.com/setup.exe
    • Install from Internet
    • Root Directory: C:\Cygwin
    • Install For: Just Me
    • Default Test File Type: DOS/text
    • Local Package Directory: *C:* Desktop
    • Internet Connection: Direct Connection
    • Download Site: choose one (.edu FTP sites seem the fastest)
    • Select Packages: Net: openssh
    • Create icon on Desktop: No
    • Add icon to Start Menu: No
  2. Delete the local the Cygwin installation files from the desktop:
    1. Installer: setup.exe 
    2. Local package directory: C:\ftp%...cygwin...

Configure Cygwin SSH service

...