Skip to content

Commit 8e7ddc9

Browse files
authored
docs: fix Deploying with Object Storage (#1826)
* Update 01-deploying-databend.md * Update 01-deploying-databend.md
1 parent 0b0efb7 commit 8e7ddc9

File tree

1 file changed

+26
-78
lines changed

1 file changed

+26
-78
lines changed

docs/en/guides/10-deploy/01-deploy/01-non-production/01-deploying-databend.md

Lines changed: 26 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ import LanguageDocs from '@site/src/components/LanguageDocs';
1111

1212
<FunctionDescription description="Introduced or updated: v1.2.168"/>
1313

14-
import EEFeature from '@site/src/components/EEFeature';
15-
16-
<EEFeature featureName='Storage Encryption'/>
17-
1814
This topic explains how to deploy Databend with your object storage. For a list of supported object storage solutions, see [Understanding Deployment Modes](../00-understanding-deployment-modes.md).
1915

2016
### Before You start
@@ -172,40 +168,9 @@ For information about how to manage buckets and Access Keys for your CubeFS, ref
172168

173169
### Download Databend
174170

175-
1. Create a folder named `databend` in the directory `/usr/local`.
176-
2. Download and extract the latest Databend release for your platform from [GitHub Release](https://github.com/databendlabs/databend/releases):
177-
178-
<Tabs>
179-
<TabItem value="linux-x86_64" label="Linux(x86)">
180-
181-
<Version>
182-
```shell
183-
curl -LJO https://repo.databend.com/databend/[version]/databend-[version]-x86_64-unknown-linux-musl.tar.gz
184-
```
185-
186-
```shell
187-
tar xzvf databend-[version]-x86_64-unknown-linux-musl.tar.gz
188-
```
189-
190-
</Version>
191-
192-
</TabItem>
193-
<TabItem value="linux-arm64" label="Linux(Arm)">
194-
195-
<Version>
196-
```shell
197-
curl -LJO https://repo.databend.com/databend/[version]/databend-[version]-aarch64-unknown-linux-musl.tar.gz
198-
```
199-
200-
```shell
201-
tar xzvf databend-[version]-aarch64-unknown-linux-musl.tar.gz
202-
```
203-
204-
</Version>
205-
</TabItem>
206-
</Tabs>
207-
208-
3. Move the extracted folders `bin`, `configs`, and `scripts` to the folder `/usr/local/databend`.
171+
1. Create a folder named `databend` in the `/usr/local` directory.
172+
2. Download the latest Databend release for your platform (Linux `aarch64` or `x86_64`) from the [GitHub Release](https://github.com/databendlabs/databend/releases) page.
173+
3. Extract the downloaded package into `/usr/local/databend`.
209174

210175
</StepContent>
211176

@@ -560,48 +525,31 @@ Follow [Installing BendSQL](../../../30-sql-clients/00-bendsql/index.md#installi
560525

561526
Launch BendSQL and retrieve the current time for verification.
562527

563-
</StepContent>
564-
</StepsWrap>
565-
566-
### Starting / Stopping Databend
567-
568-
Each time you initiate or halt Databend, there's no need to manage the Meta and Query nodes individually. Execute the scripts in the `/usr/local/databend/scripts` directory to handle both nodes with a single run:
569-
570-
```shell
571-
# Start Databend
572-
./scripts/start.sh
573-
574-
# Stop Databend
575-
# This script employs the KILLALL command. If not installed, please install the psmisc package for your system.
576-
# For example, on CentOS: yum install psmisc
577-
./scripts/stop.sh
578-
```
579-
580-
<DetailsWrap>
581-
<details>
582-
<summary>Permission denied?</summary>
583-
<div>
584-
If you encounter the subsequent error messages while attempting to start Databend:
585-
586-
```shell
587-
==> query.log <==
588-
: No getcpu support: percpu_arena:percpu
589-
: option background_thread currently supports pthread only
590-
Databend Query start failure, cause: Code: 1104, Text = failed to create appender: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }.
591-
```
592-
593-
Run the following commands and try starting Databend again:
594-
595-
```shell
596-
sudo mkdir /var/log/databend
597-
sudo mkdir /var/lib/databend
598-
sudo chown -R $USER /var/log/databend
599-
sudo chown -R $USER /var/lib/databend
528+
```bash
529+
~ bendsql
530+
Welcome to BendSQL 0.24.7-ff9563a(2024-12-27T03:23:17.723492000Z).
531+
Connecting to localhost:8000 as user root.
532+
Connected to Databend Query v1.2.714-nightly-59a3e4bd20(rust-1.85.0-nightly-2025-03-30T09:36:19.609323900Z)
533+
Loaded 1406 auto complete keywords from server.
534+
Started web server at 127.0.0.1:8080
535+
536+
root@localhost:8000/default> SELECT NOW();
537+
538+
SELECT NOW()
539+
540+
┌────────────────────────────┐
541+
now() │
542+
│ Timestamp │
543+
├────────────────────────────┤
544+
│ 2025-04-11 02:36:18.343596 │
545+
└────────────────────────────┘
546+
1 row read in 0.004 sec. Processed 1 row, 1 B (250 rows/s, 250 B/s)
547+
548+
root@localhost:8000/default>
600549
```
601550

602-
</div>
603-
</details>
604-
</DetailsWrap>
551+
</StepContent>
552+
</StepsWrap>
605553

606554
### Next Steps
607555

0 commit comments

Comments
 (0)