From 86655f2221c45ae902de3acde48438aa97d50dda Mon Sep 17 00:00:00 2001 From: shiyu22 Date: Thu, 21 Oct 2021 10:12:36 +0800 Subject: [PATCH] [skip ci]Add $ in commend (#10068) Signed-off-by: shiyu22 --- deployments/binary/README.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/deployments/binary/README.md b/deployments/binary/README.md index acdd9a347e..907a00f4ef 100644 --- a/deployments/binary/README.md +++ b/deployments/binary/README.md @@ -9,10 +9,10 @@ Before installing, you can refer to [docker-compose.yml](https://github.com/milv #### Refer: https://github.com/etcd-io/etcd/releases ```shell -wget https://github.com/etcd-io/etcd/releases/download/v3.5.0/etcd-v3.5.0-linux-amd64.tar.gz -tar zxvf etcd-v3.5.0-linux-amd64.tar.gz -cd etcd-v3.5.0-linux-amd64 -./etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd +$ wget https://github.com/etcd-io/etcd/releases/download/v3.5.0/etcd-v3.5.0-linux-amd64.tar.gz +$ tar zxvf etcd-v3.5.0-linux-amd64.tar.gz +$ cd etcd-v3.5.0-linux-amd64 +$ ./etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd ``` ## Start MinIO service @@ -20,9 +20,9 @@ cd etcd-v3.5.0-linux-amd64 #### Refer: https://min.io/download#/linux ```shell -wget https://dl.min.io/server/minio/release/linux-amd64/minio -chmod +x minio -./minio server /minio +$ wget https://dl.min.io/server/minio/release/linux-amd64/minio +$ chmod +x minio +$ ./minio server /minio ``` ## Start Milvus standalone service @@ -30,22 +30,22 @@ chmod +x minio To start Milvus service, you need a Milvus binary file. Currently you can get the latest version of Milvus binary file through the Milvus docker image. (We will upload Milvus binary files in the future) ```shell -docker run -d --name milvus milvusdb/milvus:v2.0.0-rc7-20211011-d567b21 /bin/bash -docker cp milvus:/milvus . +$ docker run -d --name milvus milvusdb/milvus:v2.0.0-rc7-20211011-d567b21 /bin/bash +$ docker cp milvus:/milvus . ``` ### Install Milvus dependencies ```shell -sudo apt-get install libopenblas-dev -sudo apt-get install libgomp1 -sudo apt-get install libtbb2 +$ sudo apt-get install libopenblas-dev +$ sudo apt-get install libgomp1 +$ sudo apt-get install libtbb2 ``` ### Start Milvus service ```shell -cd milvus -export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/lib -./bin/milvus run standalone +$ cd milvus +$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/lib +$ ./bin/milvus run standalone ```