使用 tar.gz 文件安装 悦数图数据库
用户可以下载打包好的 tar.gz 文件快速安装 悦数图数据库 。
备注
-
悦数图数据库 从 2.6.0 版本起提供 tar.gz 文件。
-
当前仅支持在 Linux 系统下安装 悦数图数据库,且仅支持 CentOS 7.x、CentOS 8.x、Ubuntu 16.04、Ubuntu 18.04、Ubuntu 20.04 操作系统。
-
如果用户使用的是国产化的 Linux 操作系统,请安装 悦数图数据库 。
操作步骤
- 使用如下地址下载 悦数图数据库 的 tar.gz 文件。
下载前需将<release_version>替换为需要下载的版本。
//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的 悦数图数据库 release-3.10 tar.gz 文件,运行以下命令:
wget https://oss-cdn.nebula-graph.com.cn/package/<Var name="nebula_release" />/nebula-graph-<Var name="nebula_release" />.el7.x86_64.tar.gz
- 解压 tar.gz 文件到 悦数图数据库 安装目录。
tar -xvzf <tar.gz_file_name> -C <install_path>
tar.gz_file_name表示 tar.gz 文件的名称。install_path表示安装路径。
例如:
tar -xvzf nebula-graph-<Var name="nebula_release" />.el7.x86_64.tar.gz -C /home/joe/nebula/install
- 修改配置文件名以应用配置。
进入解压出的目录,将子目录etc中的文件nebula-graphd.conf.default、nebula-metad.conf.default和nebula-storaged.conf.default重命名,删除.default,即可应用 悦数图数据库 的默认配置。
备注
如需修改更多配置,参见配置管理。
至此,悦数图数据库 安装完毕。