~> curl -v -X PUT -d "{\"secret_shares\":1, \"secret_threshold\":1}" http://127.0.0.1:8200/v1/sys/init
* Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 8200 (#0)
> PUT /v1/sys/init HTTP/1.1
> Host: 127.0.0.1:8200
> User-Agent: curl/7.49.1
> Accept: */*
> Content-Length: 41
> Content-Type: application/x-www-form-urlencoded
This file contains 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
../../../go/src/github.com/ServiceComb/go-chassis/auth/auth.go:21:2: cannot find package "github.com/ServiceComb/auth" in any of: | |
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/ServiceComb/auth (vendor tree) | |
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/auth (from $GOROOT) | |
/Users/praise/go/src/github.com/ServiceComb/auth (from $GOPATH) | |
../../../go/src/github.com/ServiceComb/go-chassis/core/archaius/archaius.go:10:2: cannot find package "github.com/ServiceComb/go-archaius" in any of: | |
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/ServiceComb/go-archaius (vendor tree) | |
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/go-archaius (from $GOROOT) | |
/Users/praise/go/src/github.com/ServiceComb/go-archaius (from $GOPATH) | |
../../../go/src/github.com/ServiceComb/go-chassis/core/archaius/archaius.go:11:2: cannot find package "github.com/ServiceComb/go-archaius/core" in any of: | |
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/git |
I hereby claim:
- I am iambowen on github.
- I am iambowen (https://keybase.io/iambowen) on keybase.
- I have a public key ASD1lDolAooCbi0ZvCV72HHu55550ZIeHLp-pSTNOfJI_wo
To claim this, I am signing this object:
class: center, middle, inverse
Tech Radar Walkthrough
The DevOps Part
???
Notes for the first slide!
####Techniques
- Adopt
- Structured logging Larry
- Trail
- Canary Build
- build pipeline for machine images
- Pace-layered Application Strategy
- HOLD
- Cloud lift and shift
This file contains 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 | |
while true; do echo "local.random.diceroll $RANDOM `date +%s`" | nc localhost 2003; done |
This file contains 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 | |
yum groupinstall "Development tools" -y | |
yum install -y zlib-devel bzip2-devel openssl-devel ncurses-devel | |
wget http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz && tar xzf Python-2.7.6.tgz && rm Python-2.7.6.tgz | |
cd Python-2.7.6 | |
./configure --prefix=/usr/local/python | |
make && make install | |
ln -s /usr/local/python/bin/python /usr/local/bin/python | |
wget -q https://raw.github.com/pypa/pip/master/contrib/get-pip.py && python get-pip.py | |
ln -s /usr/local/python/bin/pip /usr/local/bin/pip |
This file contains 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
# First do a fresh install of CentOS 5.7 i386, server configuration (no GUI) | |
# This should be performed as root since it's going to be installing a bunch of stuff | |
# --- Update things to make sure we have the latest patches --- | |
# Add EPEL so we can get reasonably recent packages | |
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm | |
# --- Install all the packages --- # | |
yum -y install python-whisper python-carbon graphite-web python-memcached python-ldap httpd memcached | |
yum install -y nc |
This file contains 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 | |
yum install http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm | |
yum install qtwebkit.i686 webkitgtk.i686 | |
yum groupinstall -y "Desktop" | |
yum groupinstall -y "Development Tools" | |
yum install tigervnc-server -y | |
yum install wget telnet -y | |
yum install sqlite-devel | |
yum install nodejs npm -y | |
yum install redis -y |
This file contains 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
#!/usr/bin/env bash | |
# repository | |
cd /tmp | |
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
rpm -Uvh epel-release-6-8.noarch.rpm | |
# system update | |
yum -y update | |
yum -y groupinstall "Development Tools" | |
yum -y install libxslt-devel libyaml-devel libxml2-devel gdbm-devel libffi-devel zlib-devel openssl-devel libyaml-devel readline-devel curl-devel openssl-devel pcre-devel git memcached-devel valgrind-devel mysql-devel ImageMagick-devel ImageMagick |
NewerOlder