12 views

Install Jupyter on cygwin64

It is such painful to install jupyter notebook in cygwin64, so let’s be patient go through one step by step. install jupyter using pip first failure is on pyzmq: Running setup.py bdist_wheel for pyzmq … error still failed but at least we got pyzmq version 16.0.2 manually install pyzmq from tarballs it failed but download(…)

43 views

portabledevops deploy script

This is new portabledevops deploy script, to faster the portabledevops setup. – place all-in-one portable customization setting to msys2/cygwin /etc/profile.d – install docker toolbox locally to msys2/cygwin setup.sh deploy script running log sample launch msys2/cygwin bash shell from cmder or console

104 views

vagrant to boot up ubuntu 16.10

find out vagrant box for latest release Ubuntu 16.10 (Yakkety Yak) search Yakkety Yak from https://atlas.hashicorp.com/ubuntu will find below box: https://atlas.hashicorp.com/ubuntu/boxes/yakkety64 will see command for virtualbox: vagrant up ssh to vagrant machine vagrant mount sharing folder add this line to Vagrantfile ../testgo is on host /vagrant_testgo is on guest vm $ vagrant reload $ vagrant(…)

68 views

Portable vagrant on msys/cygwin

Vagrant is must have devops tool to quick build up dev , ops, test env. Here is practice how to make it portable on windows. 1) download and install to C:\Vagrant https://www.vagrantup.com/downloads.html 2) assume you have portable msys2 and cygwin, if not you can refer portabledevops. L:\portabledevops\msys64 L:\portabledevops\cygwin64 3) move Vagrant folder to portabledevops L:\portabledevops\vagrant(…)

71 views

Portable cygwin64 setup

install portable cygwin64 download cygwin64 from https://www.cygwin.com/setup-x86_64.exe move setup-x86_64.exe to L:\portabledevops\cygdev64 folder click setup-x86_64.exe only install wget, choice install folder and package folder to L:\portabledevops\cygdev64 it will install cygwin 64 core package. click Cygwin.bat , it will init cygwin setup dev packages launch bash shell from Cmder task tab cygdev64: cmd /c “%ConEmuDir%......\cygdev64\bin\bash –login -i(…)

128 views

Portable msys64 setup

install msys64 download msys2-x86_64-xxx.exe from http://msys2.github.io/ install to default location C:\msys64 copy C:\msys64 to L:\portabledevops\msys64 uninstall msys64 from windows setup msys64 base launch msys2.exe from L:\portabledevops\msys64 folder, or launch bash shell from Cmder task tab msys2: cmd /c “%ConEmuDir%......\msys64\bin\bash –login -i” at bash shell, install necessary package for dev env on msys2. portable profile setting(…)

92 views

docker client env setup on windows

Docker Toolbox for Windows is nice toolbox, make docker dev/test possible on windows and Mac OSX. It includes: – docker-machine to create and operate docker machine which is linux vm within virtualbox, vmware, aws ec2 – docker client to run docker command outside vm docker server The main benefit to run docker client for me,(…)

117 views

Docker Toolbox for msys2

download docker toolbox for win https://www.docker.com/products/docker-toolbox install to default location copy docker.exe, docker-machine.exe, docker-compose.exe to your msys2 /usr/local/bin uninstall docker toolbox for win docker toolbox setting 1) make junction (directory hard link) for “Program Files”, it will make easy to find VirtualBox tools from cmd.exe 2) place VirtualBox path in customized msys2 profile portabledevops.sh under(…)

259 views

Docker Toolbox for cygwin

download docker toolbox for win https://www.docker.com/products/docker-toolbox install to default location copy docker.exe, docker-machine.exe, docker-compose.exe to your cygwin /usr/local/bin uninstall docker toolbox for win docker toolbox setting 1) make junction (directory hard link) for “Program Files”, it will make easy to find VirtualBox tools 2) place VirtualBox path in customized cygwin profile portabledevops_cygwin.sh under /etc/profile.d/ docker(…)

41 views

Portable python2/3 on windows msys

I used small script to make one python version portable before, it seems not necessary to intro extra switch script at all,why not just place python2 and python3 together at same time in portable usb driver. Few pain points: python installation hardcoded python path to all tools and scripts, such as pip, easy_install, ipython, jupyter(…)