Skip to content

Commit

Permalink
fix deploy dashboard (#911)
Browse files Browse the repository at this point in the history
  • Loading branch information
izhuxiaoqing authored Nov 11, 2021
1 parent fa94121 commit 856cbed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions docs-2.0/nebula-dashboard-ent/2.deploy-connect-dashboard-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Before deploying Dashboard, you must do a check of these:
| :-------------------------- | :--------------- |
| {{ dashboard_ent.release }} | 2.x |

- The environment of [MySql](https://www.mysql.com/) is ready and a database named as `dashboard` is created.
- The environment of [MySQL](https://www.mysql.com/) is ready and a database named as `dashboard` is created.
- Before the installation starts, the following ports are not occupied.

| Port | Description |
Expand Down Expand Up @@ -42,7 +42,7 @@ Before deploying Dashboard, you must do a check of these:
$ tar -xzvf nebula-graph-dashboard-<version>.tar.gz
```

3. Use `vim config/config.yaml` to modify the configuration.
3. Edit `vim config/config.yaml` to modify the configuration.

```bash
# Information about the database
Expand Down Expand Up @@ -73,6 +73,7 @@ Before deploying Dashboard, you must do a check of these:
```

For example:

```bash
$ cp -r nebula.license /usr/local/nebula-dashboard
```
Expand All @@ -84,11 +85,13 @@ Before deploying Dashboard, you must do a check of these:
5. Start Dashboard.

You can use the following command to start the Dashboard with one click.

```bash
$ bash ./scripts/start.sh
```

Or execute the following commands to start prometheus, webserver, exporter and gateway services to start Dashboard.

```bash
$ cd scripts
$ sudo ./dashboard.server start prometheus # Start prometheus service
Expand Down Expand Up @@ -126,6 +129,7 @@ $ sudo <dashboard_path>/dashboard/scripts/dashboard.service
### Examples

Dashboard is installed in the current directory, and you can use the following commands to manage services.

```bash
$ sudo /dashboard/scripts/dashboard.service start all #start all Dashboard service
$ sudo /dashboard/scripts/dashboard.service stop all #stop all Dashboard service
Expand All @@ -136,6 +140,6 @@ $ sudo /dashboard/scripts/dashboard.service status all #check all Dashboard serv

After Dashboard is successfully started, you can enter `http://<ip_address>:7005` in the address bar of a browser.

If the following login interface is shown in the browser, then you have successfully deployed and started Dashboard. You can log into the GOD user of Dashboard with the default username `nebula` and password `nebula`. You can modify the password in [System Settings](../nebula-dashboard-ent/6.system-settings.md). And you also can use the GOD account to create a new account with the permission ADMIN on the [Account Management](../nebula-dashboard-ent/5.account-management.md) to log into the Dashboard.
If the following login interface is shown in the browser, then you have successfully deployed and started Dashboard. You can log into Dashboard as a GOD user with the default username `nebula` and password `nebula`. You can modify the password in [System Settings](../nebula-dashboard-ent/6.system-settings.md). And you also can use the GOD account to create a new account with the permission ADMIN on the [Account Management](../nebula-dashboard-ent/5.account-management.md) to log into the Dashboard.

![start-page](../nebula-dashboard-en/figs/ds-028.png)
2 changes: 1 addition & 1 deletion docs-2.0/nebula-dashboard-ent/5.account-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ By default, you can log in with the GOD role (`nebula` as the default username a

![god](../nebula-dashboard-ent/figs/ds-032.png)

You cannot perform operations on other accounts using the ADMIN account you created except for viewing the user name, the role, and the creation time.
You cannot perform operations on other accounts using the ADMIN account you created except for viewing the username, the role, and the creation time.

![admin](../nebula-dashboard-ent/figs/ds-031.png)

0 comments on commit 856cbed

Please sign in to comment.