> For the complete documentation index, see [llms.txt](https://docs.imdcinsights.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imdcinsights.com/ying-yong-zhong-xin/shu-ju-yu-fen-xi/metabase-kuai-su-ru-men.md).

# Metabase快速入门

<br>

<figure><img src="https://libs.websoft9.com/Websoft9/DocsPicture/en/metabase/metabase-product-screenshot.png" alt=""><figcaption></figcaption></figure>

部署 创达睿通 提供的 Metabase 之后，请参考下面的步骤快速入门。

### 准备[​](https://support.websoft9.com/docs/metabase#%E5%87%86%E5%A4%87) <a href="#zhun-bei" id="zhun-bei"></a>

1. 在云控制台获取您的 **服务器公网 IP 地址**
2. 在云控制台安全组中，检查 **Inbound（入）规则** 下的 **TCP:80** 端口是否开启
3. 在服务器中查看 Metabase 的 **默认账号和密码**
4. 若想用域名访问 Metabase，务必先完成\*\*域名五步设置\*\* 过程

### Metabase 初始化向导[​](https://support.websoft9.com/docs/metabase#metabase-%E5%88%9D%E5%A7%8B%E5%8C%96%E5%90%91%E5%AF%BC) <a href="#metabase-chu-shi-hua-xiang-dao" id="metabase-chu-shi-hua-xiang-dao"></a>

#### 详细步骤[​](https://support.websoft9.com/docs/metabase#%E8%AF%A6%E7%BB%86%E6%AD%A5%E9%AA%A4) <a href="#xiang-xi-bu-zhou" id="xiang-xi-bu-zhou"></a>

1. 使用本地浏览器访问网址： *<http://域名>* 或  \*<http://服务器公网IP\\*，进入登陆页面（如果页面不是登陆页面，请按照步骤> 3-7 操作）&#x20;

   <figure><img src="https://libs.websoft9.com/Websoft9/DocsPicture/en/metabase/metabase-login-websoft9.png" alt=""><figcaption></figcaption></figure>
2. 输入邮件地址和密码，登录到 Metabase 后台管理界面&#x20;

   <figure><img src="https://libs.websoft9.com/Websoft9/DocsPicture/zh/metabase/metabase-dashborad-websoft9.png" alt=""><figcaption></figcaption></figure>
3. 使用本地浏览器访问网址：*<http://域名>* 或  *<http://服务器公网IP>*, 就进入了软件的引导首页&#x20;

   <figure><img src="https://libs.websoft9.com/Websoft9/DocsPicture/en/metabase/metabase-start-websoft9.png" alt=""><figcaption></figcaption></figure>
4. 软件的加载速度比较慢，耐心等待 1-3 分钟，直至出现如下的界面。&#x20;

   <figure><img src="https://libs.websoft9.com/Websoft9/DocsPicture/zh/metabase/metabase-starty-websoft9.png" alt=""><figcaption></figcaption></figure>
5. 点击“让我们开始吧”，接下来首先设置登录账号，完成后进入下一步
6. 添加你的数据：可以选择使用的数据类型来连接一个需要分析的外部数据库，如果没有也可以点击“我之后再添加”，这样系统会默认给 Metabase 增加一个 H2 演示数据&#x20;

   <figure><img src="https://libs.websoft9.com/Websoft9/DocsPicture/zh/metabase/metabase-installdb-websoft9.png" alt=""><figcaption></figcaption></figure>
7. 安装成功后的界面，点击“带我去 Metabase”登录后台&#x20;

   <figure><img src="/files/8oJwb3lGf7ULJi8C834K" alt=""><figcaption></figcaption></figure>
8. 以 H2 演示数据为例，开始数据分析工作&#x20;

   <figure><img src="https://libs.websoft9.com/Websoft9/DocsPicture/zh/metabase/metabase-dashborad-websoft9.png" alt=""><figcaption></figcaption></figure>
9. Metabase 有强大的系统管理能力：后台->设置，进入系统管理界面&#x20;

   <figure><img src="https://libs.websoft9.com/Websoft9/DocsPicture/zh/metabase/metabase-admin-websoft9.png" alt=""><figcaption></figcaption></figure>
10. 通过“添加一个数据库”来增加一个数据分析源&#x20;

    <figure><img src="https://libs.websoft9.com/Websoft9/DocsPicture/zh/metabase/metabase-adddb-websoft9.png" alt=""><figcaption></figcaption></figure>
11. 通过点击“人员管理”标签，管理使用 Metabase 用户，包括增加用户、修改密码等&#x20;

    <figure><img src="https://libs.websoft9.com/Websoft9/DocsPicture/zh/metabase/metabase-users-websoft9.png" alt=""><figcaption></figcaption></figure>

> 需要了解更多 Metabase 的使用，请参考官方文档：Metabase Documentation

#### 出现问题？[​](https://support.websoft9.com/docs/metabase#%E5%87%BA%E7%8E%B0%E9%97%AE%E9%A2%98) <a href="#chu-xian-wen-ti" id="chu-xian-wen-ti"></a>

若碰到问题，请第一时刻联系 **技术支持**。也可以先参考下面列出的问题定位或 **FAQ** 尝试快速解决问题。

### Metabase 使用入门[​](https://support.websoft9.com/docs/metabase#metabase-%E4%BD%BF%E7%94%A8%E5%85%A5%E9%97%A8) <a href="#metabase-shi-yong-ru-men" id="metabase-shi-yong-ru-men"></a>

下面以 xxx 进行数据分析作为范例。

### Metabase 常用操作[​](https://support.websoft9.com/docs/metabase#metabase-%E5%B8%B8%E7%94%A8%E6%93%8D%E4%BD%9C) <a href="#metabase-chang-yong-cao-zuo" id="metabase-chang-yong-cao-zuo"></a>

#### 配置 SMTP[​](https://support.websoft9.com/docs/metabase#%E9%85%8D%E7%BD%AE-smtp) <a href="#pei-zhi-smtp" id="pei-zhi-smtp"></a>

Metabase 配置 SMTP 发邮件的步骤：

1. 在邮箱管理控制台获取 SMTP 相关参数
2. 登录 Metabase 控制台
3. 填写 SMTP 参数

   ![Metabase SMTP](https://libs.websoft9.com/Websoft9/DocsPicture/en/metabase/metabase-smtp-websoft9.png)
4. 点击【Test Connection】，显示 OK 代表配置成功

### Metabase 参数[​](https://support.websoft9.com/docs/metabase#metabase-%E5%8F%82%E6%95%B0) <a href="#metabase-can-shu" id="metabase-can-shu"></a>

Metabase 应用中包含 Nginx, Docker, MySQL, phpMyAdmin 等组件，可通过 **通用参数表** 查看路径、服务、端口等参数。

通过运行`docker ps`，可以查看到 Metabase 运行时所有的 Container：

```
CONTAINER ID   IMAGE                      COMMAND                  CREATED       STATUS       PORTS                                                  NAMES
cf73ba27aee6   metabase/metabase:latest   "/app/run_metabase.sh"   2 hours ago   Up 2 hours   0.0.0.0:9001->3000/tcp, :::9001->3000/tcp              metabase
146ea6d51aab   mysql:5.7                  "docker-entrypoint.s…"   2 hours ago   Up 2 hours   0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp   metabase-mysql
5498e289af92   phpmyadmin                 "/docker-entrypoint.…"   2 hours ago   Up 2 hours   0.0.0.0:9090->80/tcp, :::9090->80/tcp                  phpmyadmin

```

#### 路径[​](https://support.websoft9.com/docs/metabase#path) <a href="#path" id="path"></a>

Metabase 安装目录： */data/apps/metabase*\
Metabase 插件目录： */data/apps/metabase/data/metabase-plugins*\
Metabase 数据目录： */data/apps/metabase/data/metabase-data*

#### 端口[​](https://support.websoft9.com/docs/metabase#port) <a href="#port" id="port"></a>

无特殊端口

#### 版本[​](https://support.websoft9.com/docs/metabase#%E7%89%88%E6%9C%AC) <a href="#ban-ben" id="ban-ben"></a>

```
# Matebase Version
curl https://api.github.com/repos/metabase/metabase/releases/latest |jq -r .tag_name
```

#### 服务[​](https://support.websoft9.com/docs/metabase#%E6%9C%8D%E5%8A%A1) <a href="#fu-wu" id="fu-wu"></a>

```
sudo docker  start | stop | restart | stats metabase
sudo docker  start | stop | restart | stats metabase-mysql
sudo docker  start | stop | restart | stats phpmyadmin
```

#### 命令行[​](https://support.websoft9.com/docs/metabase#%E5%91%BD%E4%BB%A4%E8%A1%8C) <a href="#ming-ling-hang" id="ming-ling-hang"></a>

Matebase 暂时未提供命令行工具

#### API[​](https://support.websoft9.com/docs/metabase#api) <a href="#api" id="api"></a>

[Matebase API](https://www.metabase.com/docs/latest/api-documentation.html) 采用 REST API 2.0 规范。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.imdcinsights.com/ying-yong-zhong-xin/shu-ju-yu-fen-xi/metabase-kuai-su-ru-men.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
