From 24bdfed0a594323d22b36a5fb049ff337e1e96d1 Mon Sep 17 00:00:00 2001 From: "Sahdev P. Zala" Date: Tue, 12 Dec 2017 20:02:52 -0500 Subject: [PATCH] README: update running etcd section for pre-built etcd install The current Running etcd section only shows how to run etcd for installation with master branch. If user has installed a pre-built release following the instructions on the release page, the ./bin/etcd won't work to bring up the etcd. The Getting etcd section covers both, pre-built and master branch, with recommendation of pre-built usage so the Running etcd section is updated accordingly. fix #9003 --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 473b7d3f0..6a3bcab7e 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,22 @@ For those wanting to try the very latest version, [build the latest version of e ### Running etcd -First start a single-member cluster of etcd: +First start a single-member cluster of etcd. + +If etcd is installed using the [pre-built release binaries][github-release], run it from the installation location as below: + +```sh +/tmp/etcd-download-test/etcd +``` +The etcd command can be simply run as such if it is moved to the system path as below: + +```sh +mv /tmp/etcd-download-test/etcd /usr/locale/bin/ + +etcd +``` + +If etcd is [build from the master branch][dl-build], run it as below: ```sh ./bin/etcd