You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/guides/10-deploy/01-deploy/01-non-production/01-deploying-databend.md
+26-78Lines changed: 26 additions & 78 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,6 @@ import LanguageDocs from '@site/src/components/LanguageDocs';
11
11
12
12
<FunctionDescriptiondescription="Introduced or updated: v1.2.168"/>
13
13
14
-
import EEFeature from '@site/src/components/EEFeature';
15
-
16
-
<EEFeaturefeatureName='Storage Encryption'/>
17
-
18
14
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).
19
15
20
16
### Before You start
@@ -172,40 +168,9 @@ For information about how to manage buckets and Access Keys for your CubeFS, ref
172
168
173
169
### Download Databend
174
170
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):
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`.
Launch BendSQL and retrieve the current time for verification.
562
527
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 readin 0.004 sec. Processed 1 row, 1 B (250 rows/s, 250 B/s)
0 commit comments