Skip to content

Commit

Permalink
README: update running etcd section for pre-built etcd install
Browse files Browse the repository at this point in the history
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 etcd-io#9003
  • Loading branch information
spzala committed Dec 13, 2017
1 parent a2256a6 commit 24bdfed
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24bdfed

Please sign in to comment.