Skip to content

Commit

Permalink
Update 2.deploy-connect-dashboard-ent.md
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-cyber committed Mar 23, 2022
1 parent efd756a commit b727490
Showing 1 changed file with 17 additions and 21 deletions.
38 changes: 17 additions & 21 deletions docs-2.0/nebula-dashboard-ent/2.deploy-connect-dashboard-ent.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,22 +204,21 @@ $ sudo /dashboard/scripts/dashboard.service restart all #重启 Dashboard 所有
```

3. (可选)使用以下命令查看服务状态、启停 Dashboard 企业版
3. (可选)使用以下命令查看所有服务状态、启动服务

```
systemctl status nebula-dashboard.service # 查看状态
systemctl stop nebula-dashboard.service # 停止服务
systemctl start nebula-dashboard.service # 启动服务
sudo systemctl list-dependencies nebula-dashboard.target # 查看状态
sudo systemctl start nebula-dashboard.target # 启动服务
```

用户也可以执行以下命令启停单一服务,例如:
用户也可以执行以下命令查看、启停单一服务,例如:

```
systemctl stop|start nbd-prometheus.service|nbd-alert-manager.service|nbd-stats-exporter.service|nbd-webserver.service
sudo systemctl status|stop|start nbd-prometheus.service|nbd-alert-manager.service|nbd-stats-exporter.service|nbd-webserver.service
```


4. (可选)如需配置集群告警信息的接收人及配置 LDAP 账户,使用`vim nebula-dashboard-ent/config/config.yaml`命令添加以下配置。
4. (可选)如需配置集群告警信息的接收人及配置 LDAP 账户,使用`vim /usr/local/nebula-dashboard-ent/config/config.yaml`命令添加以下配置。

```
# 邀请 LDAP 账号的发件人邮箱信息
Expand Down Expand Up @@ -276,12 +275,10 @@ sudo rpm -e <package_name>
```bash
sudo dpkg -i nebula-dashboard-ent-{{dashboard_ent.release}}.ubuntu1804.amd64.deb
```

!!! note

也可以使用以下命令安装到指定路径:

```bash
sudo dpkg -i nebula-dashboard-ent-{{dashboard_ent.release}}.ubuntu1804.amd64.deb --prefix=<path>
```
使用 DEB 包安装 Dashboard 企业版时不支持自定义安装路径。

在可视化的安装过程中,用户需要输入 License 的路径,MySQL 相关的信息,包括连接 MySQL 的 IP和端口,登录 MySQL 的账户及密码,MySQL 数据库名称。

Expand All @@ -306,21 +303,20 @@ sudo rpm -e <package_name>
```

3. (可选)使用以下命令查看服务状态、启停服务
3. (可选)使用以下命令查看所有服务状态、启动服务

```
systemctl status nebula-dashboard.service # 查看状态
systemctl stop nebula-dashboard.service # 停止服务
systemctl start nebula-dashboard.service # 启动服务
sudo systemctl list-dependencies nebula-dashboard.target # 查看状态
sudo systemctl start nebula-dashboard.target # 启动服务
```

用户也可以执行以下命令启停单一服务,例如:
用户也可以执行以下命令查看、启停单一服务,例如:

```
systemctl stop|start nbd-prometheus.service|nbd-alert-manager.service|nbd-stats-exporter.service|nbd-webserver.service
sudo systemctl status|stop|start nbd-prometheus.service|nbd-alert-manager.service|nbd-stats-exporter.service|nbd-webserver.service
```

4. (可选)如需配置集群告警信息的接收人及配置 LDAP 账户,使用`vim nebula-dashboard-ent/config/config.yaml`命令添加以下配置。
4. (可选)如需配置集群告警信息的接收人及配置 LDAP 账户,使用`vim /usr/local/nebula-dashboard-ent/config/config.yaml`命令添加以下配置。

```
# 邀请 LDAP 账号的发件人邮箱信息
Expand All @@ -344,12 +340,12 @@ sudo rpm -e <package_name>
```
### 查看日志

用户可以在`/var/log/messages`路径下查看 Dashboard 企业版的操作日志。
用户可以在`/var/log/syslog`路径下查看 Dashboard 企业版的操作日志。

例如:

```
sudo cat /var/log/messages
sudo cat /var/log/syslog
```
### 卸载

Expand Down

0 comments on commit b727490

Please sign in to comment.