Last active
November 18, 2018 18:43
-
-
Save diegopacheco/5193bb0dafac9e097759 to your computer and use it in GitHub Desktop.
Revisions
-
diegopacheco revised this gist
Jan 10, 2017 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -31,6 +31,12 @@ etcdctl get /message set /message4 Hello --ttl 5 curl http://127.0.0.1:2379/v2/keys/ etcdctl mkdir /root etcdctl set /root/k1 127.0.0.1 etcdctl set /root/k2 127.0.0.2 etcdctl set /root/k3 127.0.0.3 etcdctl ls /root ``` -
diegopacheco revised this gist
Jan 10, 2017 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -28,6 +28,9 @@ curl -L http://127.0.0.1:2379/version etcdctl set /message Hello etcdctl get /message set /message4 Hello --ttl 5 curl http://127.0.0.1:2379/v2/keys/ ``` -
diegopacheco revised this gist
Dec 11, 2015 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -24,6 +24,10 @@ source vim ~/.bashrc etcd etcdctl -v curl -L http://127.0.0.1:2379/version etcdctl set /message Hello etcdctl get /message ``` -
diegopacheco revised this gist
Dec 2, 2015 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -21,5 +21,9 @@ source vim ~/.bashrc #### Check ```bash etcd etcdctl -v curl -L http://127.0.0.1:2379/version ``` -
diegopacheco revised this gist
Dec 2, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -12,7 +12,7 @@ sudo ./build ```bash sudo vim ~/.bashrc export PATH=$PATH:/home/ec2-user/etcd/bin ESC + : + wq! + ENTER ``` #### Source ~/.bashrc ```bash -
diegopacheco created this gist
Dec 2, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ #### Install Go and git, Download Etcd from github and build ```bash sudo yum install -y golang git go version sudo git clone https://github.com/coreos/etcd cd etcd sudo ./build ``` #### Add etcd on path on ~/.bashrc ```bash sudo vim ~/.bashrc export PATH=$PATH:/home/ec2-user/etcd/bin CTRL + D ``` #### Source ~/.bashrc ```bash source vim ~/.bashrc ``` #### Check ```bash etcdctl -v ```