Versions Compared

Key

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

...

  1. Log on as root to the Windows computer being used for the VCL image
  2. Download Cygwin 1.5.x: http://cygwin.com/setup-legacy.exe
    Save the installer to root's desktop
    WARNING: Do not download and install Cygwin 1.7 yet!  There are bugs in 1.7 which will cause VCL reservations to fail.  It does not properly handle commands containing cmd.exe /c.
  3. Run setup-legacy.exe (if using Windows 6.x, right-click and select Run as Administrator)
  4. Click OK if presented with a legacy version warning
  5. Configure as follows:
    1. Install from Internet
    2. Root Directory: C:\cygwin
    3. Install For: Just Me
    4. Default Text File Type: DOS/text
    5. Local Package Directory: browse to root's Desktop
    6. Internet Connection: Direct Connection
    7. Download Site: choose one (.edu FTP sites seem the fastest)
    8. Select Packages (expand the tree and click Skip):
      Editors : vim
      Net: openssh
      Web: wget
    9. Create icon on Desktop: No
    10. Add icon to Start Menu: No
    After Cygin

Verify that Cygwin was Successfully Installed

There is a bug in the Cygwin installer which causes the installation to fail.  You may see a Postinstall script errors panel after the installation has finished.  When Cygwin fails to install properly, most of its executable files are not properly copied to the C:\cygwin\bin directory.

  • Open Windows Explorer and navigate to C:\cygwin\bin
  • Check the number of files listed in this directory

There should be many files listed in this directory -- usually over 300.  If you only see a few files then Cygwin did not install properly.

Do the following if you are presented with the Postinstall script errors panel or the C:\cygwin\bin directory is incomplete:

  1. Close Cygwin Setup
  2. Delete C:\cygwin
  3. Repeat the installation steps listed above
  4. Verify that Cygwin was installed properly again

For some reason, Cygwin usually installs correctly the 2nd time the the installation is done.

Delete the Installation Files

After Cywgin setup is complete, delete the installation files from the desktop:

  1. Installer: setup-legacy.exe
  2. Local package directory: C:\ftp%...cygwin...

Configure Cygwin SSHD on the Windows Computer

...

  1. Log in as root on the management node
  2. Download gen-node-key.sh using wget to the management node:
    No Format
    wget http://svn.apache.org/repos/asf/incubator/vcl/trunk/managementnode/bin/gen-node-key.sh
    
  3. Set the script to executable: chmod +x gen-node-key.sh
  4. Determine the IP address of the Windows computer by running ipconfig
  5. Run the script on the managment node and specify the Windows computer's IP address or DNS hostname as the 1st argument.  A second argument specifying the private SSH key path can be specified.  If the 2nd argument isn't specified, /etc/vcl/vcl.key will be used.
    ./gen-node-key.sh 10.10.18.179
  1. #* Enter the Windows root account password during script execution when asked
  2. Attempt to connect from the management node to the Windows computer via SSH using the command displayed at the end of the gen-node-key.sh output