- 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