12 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

23 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(…)

16 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(…)

37 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(…)

33 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(…)

30 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,(…)

56 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(…)

26 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(…)

16 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(…)

17 views

Explore Docker wordpress nginx on Docker Windows

The purpose here: – quick install and run all in one docker with nginx+php+mysql+wordpress eugeneware – explore docker inside portable docker for windows Check here if you want to know how to make portable docker toolbox for windows. $ dockerstart installation docker images running docker explore docker wordpress-nginx 1) ssh using docker-machine 2) directly ssh(…)