使用 tar.gz 文件安装 Nebula Graph¶
用户可以下载打包好的 tar.gz 文件快速安装 Nebula Graph。
Note
Nebula Graph 从 2.6.0 版本起提供 tar.gz 文件。
操作步骤¶
-
使用如下地址下载 Nebula Graph 的 tar.gz 文件。
下载前需将
<release_version>替换为需要下载的版本。```bash //Centos 7 https://oss-cdn.nebula-graph.com.cn/package/
/nebula-graph- .el7.x86_64.tar.gz //Checksum https://oss-cdn.nebula-graph.com.cn/package/ /nebula-graph- .el7.x86_64.tar.gz.sha256sum.txt //Centos 8 https://oss-cdn.nebula-graph.com.cn/package/
/nebula-graph- .el8.x86_64.tar.gz //Checksum https://oss-cdn.nebula-graph.com.cn/package/ /nebula-graph- .el8.x86_64.tar.gz.sha256sum.txt //Ubuntu 1604 https://oss-cdn.nebula-graph.com.cn/package/
/nebula-graph- .ubuntu1604.amd64.tar.gz //Checksum https://oss-cdn.nebula-graph.com.cn/package/ /nebula-graph- .ubuntu1604.amd64.tar.gz.sha256sum.txt //Ubuntu 1804 https://oss-cdn.nebula-graph.com.cn/package/
/nebula-graph- .ubuntu1804.amd64.tar.gz //Checksum https://oss-cdn.nebula-graph.com.cn/package/ /nebula-graph- .ubuntu1804.amd64.tar.gz.sha256sum.txt //Ubuntu 2004 https://oss-cdn.nebula-graph.com.cn/package/
/nebula-graph- .ubuntu2004.amd64.tar.gz //Checksum https://oss-cdn.nebula-graph.com.cn/package/ /nebula-graph- .ubuntu2004.amd64.tar.gz.sha256sum.txt ``` 例如,要下载适用于
CentOS 7.5的 Nebula Graph v3.0.2 tar.gz 文件,运行以下命令:bash wget https://oss-cdn.nebula-graph.com.cn/package/3.0.2/nebula-graph-3.0.2.el7.x86_64.tar.gz -
解压 tar.gz 文件到 Nebula Graph 安装目录。
bash tar -xvzf <tar.gz_file_name> -C <install_path>tar.gz_file_name表示 tar.gz 文件的名称。install_path表示安装路径。
例如:
bash tar -xvzf nebula-graph-2.6.0.el7.x86_64.tar.gz -C /home/joe/nebula/install -
修改配置文件名以应用配置。
进入解压出的目录,将子目录
etc中的文件nebula-graphd.conf.default、nebula-metad.conf.default和nebula-storaged.conf.default重命名,删除.default,即可应用 Nebula Graph 的默认配置。如需修改配置,参见配置管理。
至此,Nebula Graph 安装完毕。
下一步¶
- (企业版)设置 License