Versions Compared

Key

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

...

  1. Power on the VM if it is not already powered on
  2. 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. From within the Windows 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: 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 Cygwin installation files from the desktop:
    1. Installer: setup.exe 
    2. Local package directory: C:\ftp%...cygwin...

Configure Cygwin SSH service

  1. Launch the Cygwin shell
    Panel

    C:\Cygwin\Cygwin.bat

  2. Download the cygwin-sshd-config.sh script to the following location on the Windows VM:
    C:\Cygwin\home\root\cygwin-sshd-config.sh 
  3. Windows may have saved the file with a .txt extension, from within the Cygwin shell:
    Panel

    ls ~
    cygwin-sshd-config.sh.txt

    If this is the case, rename the file:
    Panel

    mv cygwin-sshd-config.sh.txt cygwin-sshd-config.sh

  4. Make sure the script is set to executable:
    No Format
    
    chmod +x /home/root/cygwin-sshd-config.sh
    
  5. 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>'
    
    You should see something similar to the following towards then end of the script output:
    Panel

    The CYGWIN sshd service was started successfully.

Create an SSH key pair on the Management Node and Copy the Public Key to the authorized_keys File on the Windows XP VM

...

Panel

cd /root
wget http://cwiki.apache.org/confluence/download/attachments/121138/gen-node-key.sh?version=2

...

No Format

chmod +x /root/gen-node-key.sh

...

Panel

Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Autoconfiguration IP Address. . . : 169.254.123.175
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . : dcs.mcnc.org
IP Address. . . . . . . . . . . . : 152.46.18.179
Subnet Mask . . . . . . . . . . . : 255.255.248.0
Default Gateway . . . . . . . . . : 152.46.23.254

...

No Format

/root/gen-node-key.sh 152.46.18.179

...

Follow the steps: Install & Configure Cygwin SSHD 

 Insert an Imaging Reservation into the VCL Database

...