Last active
December 28, 2017 22:24
-
-
Save mhoyer/954884 to your computer and use it in GitHub Desktop.
Cygwin base installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. Download cygwin setup-x86.exe from http://www.cygwin.com/setup-x86.exe. | |
# 2. Install with wget package. | |
# 3. Run cygwin.bat with Administrator rights | |
cd /tmp | |
# wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg | |
wget https://github.com/Milly/apt-cyg/raw/master/apt-cyg --no-check-certificate | |
chmod +x apt-cyg | |
mv apt-cyg /bin/apt-cyg | |
apt-cyg update | |
# make local disk mounts available under root (instead of /cygdrives) | |
echo "none / cygdrive binary,noacl,posix=0,user 0 0" >> /etc/fstab | |
cat /etc/fstab | |
##### Shell ###### | |
yes | apt-cyg install zsh mintty git | |
# Create initial /etc/zshenv | |
[[ ! -e /etc/zshenv ]] && echo export PATH=/usr/bin:\$PATH > /etc/zshenv | |
wget --no-check-certificate https://github.com/mhoyer/oh-my-zsh/raw/master/tools/install.sh -O - | sh | |
##### Tooling ###### | |
yes | apt-cyg install vim curl | |
##### Development ###### | |
yes | apt-cyg install colordiff patch | |
yes | apt-cyg install git openssh git-completion git-gui gitk | |
yes | apt-cyg install git-svn subversion | |
yes | apt-cyg install mercurial | |
##### SSH ##### | |
yes | apt-cyg install gcc-g++ make keychain openssh psmisc | |
git clone git://github.com/wesleyd/charade.git | |
cd charade | |
make && make install | |
killall charade | |
killall ssh-agent | |
cd .. | |
##### Extensions ####### | |
yes | apt-cyg install mc | |
##### Further steps ###### | |
# linkd dropbox/cygwin/home -> /home/mhoyer | |
# vi /etc/passwd # change bash -> zsh | |
# chmod 700 ~/.ssh && chmod 600 ~/.ssh/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment