aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2022-08-02 20:43:26 +0300
committeralexv-smirnov <alex@ydb.tech>2022-08-02 20:43:26 +0300
commit52bf89cad521215af62c22656790e1512dc08fd0 (patch)
tree64c1a0fb102b221e291ebac77da87905c0fd396f
parent612ce6cd0fa43c4a2971fb7665b5da897ffb54f2 (diff)
downloadydb-52bf89cad521215af62c22656790e1512dc08fd0.tar.gz
fix ydbd-stable-linux-amd64 unzip instructions
-rw-r--r--ydb/docs/en/core/deploy/manual/deploy-ydb-on-premises.md4
-rw-r--r--ydb/docs/ru/core/deploy/manual/deploy-ydb-on-premises.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/ydb/docs/en/core/deploy/manual/deploy-ydb-on-premises.md b/ydb/docs/en/core/deploy/manual/deploy-ydb-on-premises.md
index 04d82c4c6d..ab8c2b0adb 100644
--- a/ydb/docs/en/core/deploy/manual/deploy-ydb-on-premises.md
+++ b/ydb/docs/en/core/deploy/manual/deploy-ydb-on-premises.md
@@ -71,8 +71,8 @@ If you plan to use more than one disk on each server, specify a label that is un
Download an archive with the `ydbd` executable file and the libraries necessary for working with YDB:
```bash
-curl -L https://binaries.ydb.tech/ydbd-stable-linux-amd64.tar.gz -o ydbd-stable-linux-amd64.tar.gz
-tar -xz
+mkdir ydbd-stable-linux-amd64
+curl -L https://binaries.ydb.tech/ydbd-stable-linux-amd64.tar.gz | tar -xz --strip-component=1 -C ydbd-stable-linux-amd64
```
Create directories to run:
diff --git a/ydb/docs/ru/core/deploy/manual/deploy-ydb-on-premises.md b/ydb/docs/ru/core/deploy/manual/deploy-ydb-on-premises.md
index 82c8246be1..7ed27d78b5 100644
--- a/ydb/docs/ru/core/deploy/manual/deploy-ydb-on-premises.md
+++ b/ydb/docs/ru/core/deploy/manual/deploy-ydb-on-premises.md
@@ -70,8 +70,8 @@ sudo usermod -aG disk ydb
1. Скачайте и распакуйте архив с исполняемым файлом `ydbd` и необходимыми для работы {{ ydb-short-name }} библиотеками:
```bash
- curl -L https://binaries.ydb.tech/ydbd-stable-linux-amd64.tar.gz -o ydbd-stable-linux-amd64.tar.gz
- tar -xz ydbd-stable-linux-amd64.tar.gz
+ mkdir ydbd-stable-linux-amd64
+ curl -L https://binaries.ydb.tech/ydbd-stable-linux-amd64.tar.gz | tar -xz --strip-component=1 -C ydbd-stable-linux-amd64
```
1. Создайте директории для запуска: