Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change instructions for local install #1220

Merged
merged 2 commits into from
Nov 30, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions content/en/docs/15.0/get-started/local.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,16 @@ sudo setenforce 0

## Install Vitess

Download the [latest binary release](https://github.com/vitessio/vitess/releases) for Vitess on Linux. For example with Vitess 13:
Download the [latest binary release](https://github.com/vitessio/vitess/releases) for Vitess on Linux. For example with Vitess 15:

**Notes:**

* Release 15.0 has a bug because of which the local example fails when try to run vtadmin web. [Issue#11679](https://github.com/vitessio/vitess/issues/11679)
* Please use release 15.0.1 instead.

```sh
version=13.0.0
file=vitess-${version}-bc4a960.tar.gz
version=15.0.0
file=vitess-${version}-e8c7e27.tar.gz
rsajwani marked this conversation as resolved.
Show resolved Hide resolved
wget https://github.com/vitessio/vitess/releases/download/v${version}/${file}
tar -xzf ${file}
cd ${file/.tar.gz/}
Expand All @@ -105,8 +110,10 @@ You are now ready to start your first cluster! Open a new terminal window to ens
Start by copying the local examples included with Vitess to your preferred location. For our first example we will deploy a [single unsharded keyspace](../../concepts/keyspace). The file `101_initial_cluster.sh` is for example `1` phase `01`. Lets execute it now:

```sh
cp -r /usr/local/vitess/examples/local ~/my-vitess-example
cd ~/my-vitess-example
mkdir -p ~/my-vitess-example/examples/local
cp -r /usr/local/vitess/examples/local ~/my-vitess-example/examples
cp -r /usr/local/vitess/web ~/my-vitess-example
cd ~/my-vitess-example/examples/local
./101_initial_cluster.sh
```

Expand Down
12 changes: 7 additions & 5 deletions content/en/docs/16.0/get-started/local.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ sudo setenforce 0

## Install Vitess

Download the [latest binary release](https://github.com/vitessio/vitess/releases) for Vitess on Linux. For example with Vitess 13:
Download the [latest binary release](https://github.com/vitessio/vitess/releases) for Vitess on Linux. For example with Vitess 15:
rsajwani marked this conversation as resolved.
Show resolved Hide resolved

```sh
version=13.0.0
file=vitess-${version}-bc4a960.tar.gz
version=15.0.0
file=vitess-${version}-e8c7e27.tar.gz
rsajwani marked this conversation as resolved.
Show resolved Hide resolved
wget https://github.com/vitessio/vitess/releases/download/v${version}/${file}
tar -xzf ${file}
cd ${file/.tar.gz/}
Expand All @@ -105,8 +105,10 @@ You are now ready to start your first cluster! Open a new terminal window to ens
Start by copying the local examples included with Vitess to your preferred location. For our first example we will deploy a [single unsharded keyspace](../../concepts/keyspace). The file `101_initial_cluster.sh` is for example `1` phase `01`. Lets execute it now:

```sh
cp -r /usr/local/vitess/examples/local ~/my-vitess-example
cd ~/my-vitess-example
mkdir -p ~/my-vitess-example/examples/local
cp -r /usr/local/vitess/examples/local ~/my-vitess-example/examples
cp -r /usr/local/vitess/web ~/my-vitess-example
cd ~/my-vitess-example/examples/local
./101_initial_cluster.sh
```

Expand Down