All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.
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
| 0. Strongly need CPython 3.7 (Only this version) | |
| 1. Create venv | |
| python3.7 -m venv ansible29 | |
| 2. Activate venv | |
| cd ansible29 && source bin/activate |
Create a brand new ed25519 key pair
ssh-keygen -o -a 100 -t ed25519
Get the pub key and put the result in your lxd default profile
cat ~/.ssh/ed25519.pub
lxc profile edit default
For this example i shall be using a dedicated server from Hertzner.https://www.hetzner.de/en/. A shout out to hetzner if your looking for cheap and beefy dedicated hosting then these guys are your best bet.
This guide assumes your server has Debian 8 (Jessie installed)
Install Docker for Mac (http://beta.docker.com)
Install docker-machine-driver-xhyve (https://github.com/zchee/docker-machine-driver-xhyve)
brew install docker-machine-driver-xhyve
sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
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
| . '.\TestKitchen\script\IsoFile.ps1' | |
| #create ISO with my Unattend.xml file | |
| New-IsoFile -Source .\TestKitchen\Unattend.xml -Path .\TestKitchen\Unattendxml.iso -Force -Title MyISO |
Install Docker for Mac (http://beta.docker.com)
Install docker-machine-driver-xhyve (https://github.com/zchee/docker-machine-driver-xhyve)
brew install docker-machine-driver-xhyve
sudo chown root:wheel
docker run -d --privileged -p 8080:8080 --name=rancher-server rancher/server:latest
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
| #!/bin/bash | |
| echo ========================================================================== | |
| echo This will disable openSSH roaming for your user | |
| echo ========================================================================== | |
| echo | |
| ssh -v -T -o StrictHostKeyChecking=no git@github.com 2>&1 | grep Roaming | |
| if [ $? == '0' ] | |
| then | |
| cat <<EOM >>~/.ssh/config | |
| # |
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
| #!/bin/bash | |
| # This utility does a push notification to the service Pushover - https://pushover.net/ | |
| APPTOKEN="aegfmQiK9Krrigwmir4fgnoodw8w" | |
| USERKEY="ufwidfifFYQHyggjdpdgeGfehdfpg" | |
| # Parse command line options | |
| USAGE="Usage: `basename $0` [-h] -t title -m message" | |
| while getopts ht:m: OPT; do |
NewerOlder