diff --git a/docs-2.0/nebula-dashboard-ent/2.deploy-connect-dashboard-en.md b/docs-2.0/nebula-dashboard-ent/2.deploy-connect-dashboard-en.md deleted file mode 100644 index e6b66fea82b..00000000000 --- a/docs-2.0/nebula-dashboard-ent/2.deploy-connect-dashboard-en.md +++ /dev/null @@ -1,101 +0,0 @@ -# 部署Dashboard - -安装部署Dashboard,本文将详细介绍如何通过tar包安装部署。 - -## Nebula Graph版本 - -Dashboard版本和Nebula Graph的版本对应关系如下。 - -|Dashboard版本|Nebula Graph版本| -|:---|:---| -|{{ dashboard_ent.release }}|2.x| - -## tar 包部署 -### 前提条件 - -在部署Dashboard之前,用户需要确认以下信息: - -- 准备[MySql](https://www.mysql.com/cn/)环境,创建名称为`dashboard`的数据库。 -- 确保在安装开始前,以下端口处于未被使用状态。 - - | 端口号 | 说明 | - | ---- | ---- | - | 7005 | Dashboard提供web服务的端口。 | - | 8090 | nebula-http-gateway提供HTTP服务的端口。 | - | 9090 | prometheus服务的端口。 | - | 9200 | nebula-stats-exporter服务的端口。 | - -- 准备License。 - - !!! enterpriseonly - - License仅在企业版提供,请发送邮件至inquiry@vesoft.com。 - - -### 安装及启动 - -1. 根据需要下载tar包,建议选择最新版本。 - - !!! enterpriseonly - - Dashboard仅在企业版提供,点击 [定价](https://nebula-graph.com.cn/pricing/) 查看更多。 - -2. 使用`tar -xzvf`解压tar包。 - - ```bash - $ tar -xzvf nebula-graph-dashboard-.tar.gz - ``` - -3. 使用`vim config/config.yaml`命令修改配置文件。 - - ```bash - # 数据库信息 - database: - dialect: mysql # 使用的数据库类型,目前仅支持MySql - host: 192.168.8.157 # 连接的MySql数据库的ip地址 - port: 3306 # 连接的MySql数据库的端口号 - username: root # 登陆MySql的账号 - password: nebula # 登陆MySql的密码 - name: dashboard # 对应的数据库名称 - autoMigrate: true # 自动创建数据库表,默认为true - # exporter端口信息 - exporter: - nodePort: 9100 # node-exporter服务的端口 - nebulaPort: 9200 # nebula-stats-exporter服务的端口 - # 服务信息 - proxy: - gateway: - target: "localhost:8090" # gateway服务的IP地址和端口 - prometheus: - target: "localhost:9090" # prometheus服务的IP地址和端口 - ``` - -4. 拷贝License至`nebula-dashboard`目录下。 - - ```bash - $ cp -r - ``` - - 例如: - ```bash - $ cp -r nebula.license /usr/local/nebula-dashboard - ``` - -5. 启动Dashboard。 - - ```bash - $ bash ./scripts/start.sh - ``` - -### 停止服务 - -```bash -$ bash ./scripts/stop.sh -``` - -## 后续操作 - -启动成功后,在浏览器地址栏输入`http://:7005`。 -在浏览器窗口中看到以下登录界面表示已经成功部署并启动了Dashboard。 - -![start-page](../nebula-dashboard-ent/figs/ds-028.png) \ No newline at end of file