Versions Compared

Key

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

Install VMWare Server

  1. Retrieve the

...

  1. VMware Server RPM

...

  1. file 
  2. Install VMWare Server
    1. Establish root access:
      No Format
      sudo bash
      
    2. Install the VMWare Server RPM:
      No Format
      rpm -i  VMware-server-1.0.8-126538.i386.rpm
      
  3. Configure VMWare Server Server
    1. Run the following command:
      No Format
      
      vmware-config.pl
      

Create a Virtual Machine

  1. Launch the VMWare Server console
  2. Copy a Windows XP ISO image to the VMWare Server machine 
  3. Create a new VM
    1. Network adapter: bridged 
    2. Configure the VM to use the Window XP ISO image as a CD drive

Install Windows XP on the Virtual Machine 

  1. Boot the VM and begin installing Windows XP
    1. Press ESC as soon as VM begins to start to display the boot menu
    2. Boot from the CD-ROM drive
    3. Press a key to boot from the CD
  2. Proceed through Windows installation
    1. Create a new partition of at least 12 GB
    2. Format the partition using NTFS (Quick)
    3. Do not turn on automatic updates
    4. Enter "root" as the user name

Configure the Windows XP Virtual Machine 

  1. Run Microsoft Update 
  2. Configure the root user account
    1. Set root's password: either the user management GUI or execute the following command:
      No Format
      net user root <PASSWORD>
      
    2. Make sure root is a member of the Administrators group using the user management GUI or execute the following command:
      No Format
      net localgroup Administrators root /ADD
      
  3. Install VMWare Tools
    1. Click on the VM menu and select "Install VMWare Tools"
    2. Select Typical
    3. Reboot the VM

Install

...

Cygwin 

  1. Download and run the Cygwin installer: http://cygwin.com/setup.exe
  2. Install from Internet
  3. Root Directory: C:\Cygwin
  4. Install For: Just Me
  5. Default Test File Type: DOS/text
  6. Local Package Directory: C:\
  7. Internet Connection: Direct Connection
  8. Download Site: choose one (.edu FTP sites seem the fastest)
  9. Select Packages: Net: openssh
  10. Create icon on Desktop: No
  11. Add icon to Start Menu: No
  12. Delete local package directory: C:\ftp%...cygwin...

Configure Cygwin SSH service

  1. Copy the cygwin-sshd-config.sh script (contents below) to the C:\Cygwin\home\root directory on the Windows VM
  2. Set the script to be executable:
    No Format
    
    chmod +x /home/root/cygwin-sshd-config.sh
    
  3. Launch C:\Cygwin\Cygwin.bat
  4. Run the script and specify the root account password as an argument, enclose the password in ticks in case special characters are used in the password:
    No Format
    
    /home/root/cygwin-sshd-config.sh '<PASSWORD>'
    
    Note: the sshd service probably will not start until the next step is completed
  5. Open Start --> Run --> services.msc
  6. Double-click the Cygwin sshd service
  7. Open the Log On tab
  8. Enter the root account password twice and click OK, you should see a message stating root has been granted the Log On As A Service Right
  9. Click the General tab
  10. Click Start

Create an SSH key pair on the

...

Management Node and

...

Copy the

...

Public Key to the authorized_keys

...

File on the Windows XP

...

VM

  1. Copy the gen-node-key.sh script (contents below) to the /root directory on the management node
  2. Set the script to be executable:
    No Format
    
    chmod +x /root/gen-node-key.sh
    
  3. Run the script and specify the node as an argument (either the node's DNS name or IP address can be used):
    No Format
    
    /root/gen-node-key.sh 192.168.22.55
    
  4. Attempt to connect from the management node to the Windows VM via SSH using the key:
    No Format
    
    ssh -i /etc/vcl/vcl.key 192.168.22.55
    

...

---- Shell Shell script to configure the Cygwin SSHD service, to be run on Windows XP computer:

...