Download 32bit installer of Cygwin
setup-x86.exe -q -l c:\cygwin\packages -R c:\cygwin -P unzip,zip,git,git-completion,nano,mc,curl,openssh,rsync,wget,ncurses,python3
Packages list can be found on http://cygwin.com/packages/
none / cygdrive binary,posix=0,user 0 0 c:/ /c ntfs binary,posix=0,user 0 0 c:/projects /projects ntfs binary,posix=0,user 0 0
Into file /etc/fstab add line:
none / cygdrive binary,posix=0,user 0 0
Nejdříve je třeba vytvořit novou proměnnou ve Windows (Systém > Upřesnit nastavení systému > Proměnné prostředí > …) SSH_AUTH_SOCK s její hodnotou /tmp/.ssh-socket
Pak vložit do svého ~/.bashrc či ~/.zshrc:
### ssh ssh-add -l >/dev/null 2>&1 if [ $? = 2 ]; then # exit-status 2 = couldn't connect to ssh-agent rm -f $SSH_AUTH_SOCK echo -n "Starting SSH agent ..." eval `ssh-agent -a $SSH_AUTH_SOCK` echo "" eval `ssh-add` echo "" else echo "SSH agent is active" echo "" fi
Pak stačí spustit ssh-add a zadat heslo :)
cd ~/.ssh chmod 700 id_rsa
From https://github.com/transcode-open/apt-cyg
Install apt-cyg:
lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > ~/apt-cyg install ~/apt-cyg ~/bin
After that you'll be able to search say the package “python” including dependencies by running:
apt-cyg search python
apt-cyg install ncurses
Viz http://stackoverflow.com/questions/6515018/error-with-compass-polling-on-windows-7
V souboru cca někde: cygwin\lib\ruby\gems\1.9.1\gems\fssm-0.2.9\lib\fssm\pathname.rb zakomentovat řádek 26 (array[0] += File::SEPARATOR if path[0, 3] =~ SEPARATOR_PAT)
wget http://curl.haxx.se/ca/cacert.pem; cp -f cacert.pem /usr/ssl/certs/ca-bundle.crt; chmod 644 /usr/ssl/certs/ca-bundle.crt;