Skip to content

Instantly share code, notes, and snippets.

@mischief
Created August 5, 2014 12:02
Show Gist options
  • Save mischief/d03e392c8abe9e6a489c to your computer and use it in GitHub Desktop.
Save mischief/d03e392c8abe9e6a489c to your computer and use it in GitHub Desktop.
┌─[✗]─[04:29:22]─[mischief@omicron]─[/tmp]
└─> export GOPATH=/tmp
┌─[04:29:24]─[mischief@omicron]─[/tmp]
└─> go get github.com/coreos/etcd
┌─[04:29:25]─[mischief@omicron]─[/tmp]
└─> etcd &
[1] 5618
┌─[04:29:27]─[mischief@omicron]─[/tmp]
└─> [etcd] 04:29:27.962703 INFO Found node configuration in 'info'. Ignoring flags
[etcd] 04:29:27.962996 WARN the entire cluster is down! this machine will restart the cluster.
[etcd] 04:29:27.963014 INFO etcd server [name default-name, listen on 127.0.0.1:4001, advertised url http://127.0.0.1:4001]
[etcd] 04:29:27.963278 INFO raft server [name default-name, listen on 127.0.0.1:7001, advertised url http://127.0.0.1:7001]
┌─[04:29:32]─[mischief@omicron]─[/tmp]
└─> curl -L http://127.0.0.1:4001/v2/keys/mykey -XPUT -d value="this is awesome"
404 page not found
┌─[04:29:38]─[mischief@omicron]─[/tmp]
└─>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment