File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 * 管理员:SQLBot 应用初始化创建的超级管理员用户名。
2121 * 管理员密码:SQLBot 应用初始化创建的超级管理员密码(后续登录系统可以更改)。
2222 * 端口:SQLBot 应用的服务端口设置为 8000,MCP 服务端口设置为 8100。
23- * 图片服务器地址:**http://xx.xx.xx.xxx:8000 /images/**
23+ * 图片服务器地址:**http://xx.xx.xx.xxx:8001 /images/**
2424 * 端口外部访问:SQLBot 应用可以使用 IP:PORT 进行访问(SQLBot 应用必须打开外部端口访问)。
2525
2626![ SQLBot参数设置] ( ../img/installation/sqlbot_info.png )
Original file line number Diff line number Diff line change 1+ !!! Abstract ""
2+
3+ 注意:社区版不提供正式 ARM 镜像,仅提供开发版本的体验镜像!
4+
5+
6+ ## 1 环境要求
7+
8+
9+ !!! Abstract ""
10+
11+ **部署服务器要求:**
12+
13+ * 操作系统:Ubuntu 22.04 / CentOS 7(内核版本要求 ≥ 3.10)
14+ * CPU/内存: 4 核 8 G
15+ - 磁盘空间: 100G
16+
17+ ## 2 端口要求
18+
19+ !!! Abstract ""
20+
21+ 在线部署 SQLBot 需要开通的访问端口说明如下:
22+
23+ | 端口 | 作用 | 说明 |
24+ | ------| :---------| :--------------------------|
25+ | 22 | SSH | 安装、升级及管理使用 |
26+ | 8000 | Web 服务端口 | 默认 Web 服务访问端口,可根据实际情况进行更改 |
27+ | 8001 | MCP 服务端口 | 默认 MCP 服务访问端口,可根据实际情况进行更改 |
28+
29+
30+
31+
32+ ## 3 安装部署
33+
34+ !!! Abstract ""
35+ 在配置 Docker 环境的操作系统中,进行以下操作:
36+
37+ ```
38+ docker run -d \
39+ --name sqlbot \
40+ --restart unless-stopped \
41+ -p 8000:8000 \
42+ -p 8001:8001 \
43+ -v ./data/sqlbot/excel:/opt/sqlbot/data/excel \
44+ -v ./data/sqlbot/images:/opt/sqlbot/images \
45+ -v ./data/sqlbot/logs:/opt/sqlbot/logs \
46+ -v ./data/postgresql:/var/lib/postgresql/data \
47+ dataease/sqlbot:dev-arm
48+ ```
49+
50+ # 4 登录访问
51+
52+ !!! Abstract ""
53+
54+ 安装成功后即可通过浏览器访问地址 `http://目标服务器 IP 地址:8000`,并使用默认的管理员用户和密码登录 SQLBot。
55+
56+ ```
57+ 用户名:admin
58+
59+ 默认密码:SQLBot@123456
60+ ```
61+ ![ 访问SQLBot] ( ../img/installation/login_sqlbot.png )
62+
Original file line number Diff line number Diff line change 3939 -v ./data/sqlbot/images:/opt/sqlbot/images \
4040 -v ./data/sqlbot/logs:/opt/sqlbot/logs \
4141 -v ./data/postgresql:/var/lib/postgresql/data \
42- dataease/sqlbot:v1.1.1
42+ dataease/sqlbot
4343 ```
4444
4545# 4 登录访问
Original file line number Diff line number Diff line change 4747 - 离线安装 : installation/offline_installtion.md
4848 - 在线安装 : installation/online_installtion.md
4949 - 离线升级 : installation/offline_upgrade.md
50+ - ARM在线安装 : installation/online_arm.md
5051 - 命令行工具 : installation/cli.md
5152 - 源码运行 : installation/source_run.md
5253 - 功能手册 :
You can’t perform that action at this time.
0 commit comments