Skip to content

Instantly share code, notes, and snippets.

@hawkup
Created July 4, 2015 22:06
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hawkup/3d70685b2adc83800aa6 to your computer and use it in GitHub Desktop.
Save hawkup/3d70685b2adc83800aa6 to your computer and use it in GitHub Desktop.
Install etcd On Ubuntu 14.04
  • Install
curl -L  https://github.com/coreos/etcd/releases/download/v2.1.0-rc.0/etcd-v2.1.0-rc.0-linux-amd64.tar.gz -o etcd-v2.1.0-rc.0-linux-amd64.tar.gz
tar xzvf etcd-v2.1.0-rc.0-linux-amd64.tar.gz
cd etcd-v2.1.0-rc.0-linux-amd64
./etcd
  • by default etcd listening on port 2379 for client communication and on port 2380 for server to server communication

  • Test open another terminal

./etcdctl set mykey "this is awesome"
./etcdctl get mykey

reference: https://github.com/coreos/etcd/releases/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment