Engineers value documentation that explains how to get a development workstation configured quickly. It is human nature to customize and change things - we do this frequently, but sometimes we need to get back to first base. This document will help to get you there.
##Installation and Configuration Information
An attempt has been made to pre-stage downloads so several steps can be done in parallel
###Base OS Installed
- VirtualBox, TWO network interfaces 1. bridge external (assumed to be on eth0) 1. host-only on 192.168.124.x (assumed to be on eth1)
- Setup an .ssh keypair using
rssh-keygen - Optional Items that we find handy if you are developing on Windows using VMs behind corporate firewalls
1. Squid Proxy (to cache packages)
- ubuntu:
sudo apt-get install squid squid-common1. CNTLM proxy: - ubuntu:
sudo apt-get install cntlm - make sure that you allow NON local hosts to use the proxy (in =/etc/cntlm.conf= set
gateway yes)! Containers are not "local" and require your CNTLM proxy to act as a gateway. 1. SAMBA share - ubuntu:
sudo apt-get install samba1. Passwordless sudo:sudo sed -ie "s/%sudo\tALL=(ALL:ALL) ALL/%sudo ALL=(ALL) NOPASSWD: ALL/g" /etc/sudoers
- ubuntu:
apt-get install git
###Position Boot Assets, see [docker/Docker-TLDR]
1. Copy the ISOs that you want for nodes to $HOME/.cache/opencrowbar/tftpboot/isos
###Checkout Code
- get git
1. ubuntu:
sudo apt-get install git - get the code:
git clone https://github.com/opencrowbar/core1. if you want to commit, please review [../contributing.md]
###Build Sledgehammer (do 1 time, but takes a while)
- prep for sledgehammer requirements:
1. ubuntu:
sudo apt-get install rpm rpm2cpio - from core,
tools/build_sledgehammer.sh1. warning: this may take multiple attempts to complete to downloads. Keep trying.
###Setup Docker Admin Node
- follow steps in [docker/docker-admin.md]