-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d441456
commit e36430e
Showing
2 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
62 changes: 62 additions & 0 deletions
62
...tallation/2.compile-and-install-nebula-graph/4.install-nebula-graph-from-tar.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# 使用tar.gz文件安装Nebula Graph | ||
|
||
用户可以下载打包好的tar.gz文件快速安装Nebula Graph。 | ||
|
||
!!! note | ||
|
||
Nebula Graph从2.6.0版本起提供tar.gz文件。 | ||
|
||
## 操作步骤 | ||
|
||
1. 使用如下地址下载Nebula Graph的tar.gz文件。 | ||
|
||
下载前需将`<release_version>`替换为需要下载的版本。 | ||
|
||
```bash | ||
//Centos 7 | ||
https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.el7.x86_64.tar.gz | ||
//Checksum | ||
https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.el7.x86_64.tar.gz.sha256sum.txt | ||
|
||
//Centos 8 | ||
https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.el8.x86_64.tar.gz | ||
//Checksum | ||
https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.el8.x86_64.tar.gz.sha256sum.txt | ||
|
||
//Ubuntu 1604 | ||
https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.ubuntu1604.amd64.tar.gz | ||
//Checksum | ||
https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.ubuntu1604.amd64.tar.gz.sha256sum.txt | ||
|
||
//Ubuntu 1804 | ||
https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.ubuntu1804.amd64.tar.gz | ||
//Checksum | ||
https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.ubuntu1804.amd64.tar.gz.sha256sum.txt | ||
|
||
//Ubuntu 2004 | ||
https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.ubuntu2004.amd64.tar.gz | ||
//Checksum | ||
https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.ubuntu2004.amd64.tar.gz.sha256sum.txt | ||
``` | ||
|
||
例如,要下载适用于`CentOS 7.5`的Nebula Graph {{nebula.branch}} tar.gz文件,运行以下命令: | ||
|
||
```bash | ||
wget https://oss-cdn.nebula-graph.com.cn/package/{{nebula.release}}/nebula-graph-{{nebula.release}}.el7.x86_64.tar.gz | ||
``` | ||
|
||
2. 解压tar.gz文件到Nebula Graph安装目录。 | ||
|
||
```bash | ||
tar -xvzf <tar.gz_file_name> -C <install_path> | ||
``` | ||
|
||
3. 修改配置文件名以应用配置。 | ||
|
||
进入解压出的目录,将子目录`etc`中的文件`nebula-graphd.conf.default`、`nebula-metad.conf.default`和`nebula-storaged.conf.default`重命名,删除`.default`,即可应用Nebula Graph的默认配置。如需修改配置,参见[配置管理](../../5.configurations-and-logs/1.configurations/1.configurations.md)。 | ||
|
||
至此,Nebula Graph安装完毕。 | ||
|
||
## 下一步 | ||
|
||
使用`scripts`目录中的`nebula.service`文件启动Nebula Graph,详情参见[管理Nebula Graph服务](../manage-service.md)。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters