Cygwin

From Stadm
Jump to navigationJump to search


Cygwin Install from USB Drive to Local Windows Computer

Preparing the USB Flash Drive

  • To install Cygwin from a USB drive to a local computer the required files must be locally save onto the flash drive
  • Files can be acquired two ways: Ask Eddie for them, rm 6***, or downloaded using the cygwin setup on a Windows computer
  • To download the files from the internet simply navigate to: http://cygwin.com/install.html and download setup.exe for cygwin(64 bit)
  • Prior to running the setup create two directories on your USB flash drive to store the setup.exe file and downloaded files
    • For Example, if flash drive is drive "L:" create two directories "L:\cygwin_install\" and"L:\cygwin_install\local"
  • Copy setup.exe onto the USB flash drive into the folder "cygwin_install"
  • Run setup.exe off the USB from a Windows computer
  • Click next on the introductory menu
  • When it asks you to Choose a Download Source, select Download without Installing, then click next
  • When asked for Local Package Directory Browse to "L:\cygwin_install\local" , where "L:" is the letter your USB flash drive is assigned
  • On the next menu click direction connection unless you require some sort of proxy to connect to the internet
  • From the Available Download Sites list select any site to download from
  • Next you will be asked to select packages, for our purposes of BackupPC the minimum packages are the following
    • rsync
    • openssh
    • wget
    • wim
    • shutdown
  • To select these packages simply type them in one by one into the search bar, when you find the package click on it so that it says the Version number that will be installed instead of "skip"
  • Once those 5 packages have been selected click next
  • On the next Menu confirm that "Select required packages(RECOMMENDED)" is checked and click next
  • Setup will download all the required files to the appropriate directory, click Finish when complete

Install from USB Flash Drive to Local Windows Computer

  • Insert prepared USB flash drive into a Windows Computer and navigate to "L:\cygwin_install", where "L:" is the drive letter assigned to your flash drive
  • run setup.exe and click next on introductory menu
  • When asked to "Choose a Download Source" select "Install from Local Directory" and click next
  • Choose the root install directory, just leave as default and install for All Users
  • When asked to select "Local Package Directory" the directory may already be correct(\cygwin_install\local\, if it is not navigate to "L:\cygwin_install\local\" then click next
  • When asked to select packages search for the following 5 packages and select them so they will be installed:
    • rsync
    • openssh
    • wget
    • vim
    • shutdown
  • Click next and on the following menu confirm "