Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RPM and DEB installation #1525

Merged
merged 1 commit into from
Mar 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions docs-2.0/reuse/source_install-nebula-graph-by-rpm-or-deb.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,10 @@ RPM 和 DEB 是 Linux 系统下常见的两种安装包格式,本文介绍如
```bash
$ sudo rpm -ivh --prefix=<installation_path> <package_name>
```

`--prefix`为可选项,用于指定安装路径。如不设置,系统会将 Nebula Graph 安装到默认路径`/usr/local/nebula/`。

例如在默认路径下安装{{nebula.release}}版本的 RPM 包:
例如,要在默认路径下安装{{nebula.release}}版本的 RPM 包,运行如下命令

```bash
sudo rpm -ivh nebula-graph-{{nebula.release}}.el7.x86_64.rpm
Expand All @@ -128,19 +130,18 @@ RPM 和 DEB 是 Linux 系统下常见的两种安装包格式,本文介绍如
- 安装 DEB 包

```bash
$ sudo dpkg -i --instdir=<installation_path> <package_name>
$ sudo dpkg -i <package_name>
```

!!! note
使用 DEB 包安装 Nebula Graph 时不支持自定义安装路径。默认安装路径为`/usr/local/nebula/`。

例如在默认路径下安装{{nebula.release}}版本的 DEB 包:
例如安装{{nebula.release}}版本的 DEB 包:

```bash
sudo dpkg -i nebula-graph-{{nebula.release}}.ubuntu1804.amd64.deb
```

!!! Note

如果不设置安装路径,默认安装路径为`/usr/local/nebula/`。

## 后续操作

- (企业版)[设置 License](https://docs.nebula-graph.com.cn/{{nebula.release}}/4.deployment-and-installation/deploy-license)
Expand Down