Install NebulaGraph graph with the tar.gz file
You can install NebulaGraph by downloading the tar.gz file.
-
NebulaGraph provides installing with the tar.gz file starting from version 2.6.0.
-
NebulaGraph is currently only supported for installation on Linux systems, and only CentOS 7.x, CentOS 8.x, Ubuntu 16.04, Ubuntu 18.04, and Ubuntu 20.04 operating systems are supported.
Installation steps
- Download the NebulaGraph tar.gz file using the following address.
Before downloading, you need to replace <release_version> with the version you want to download.
//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
For example, to download the NebulaGraph release-3.10 tar.gz file for CentOS 7.5, run the following command:
wget https://oss-cdn.nebula-graph.com.cn/package/<Var name="nebula_release" />/nebula-graph-<Var name="nebula_release" />.el7.x86_64.tar.gz
- Decompress the tar.gz file to the NebulaGraph installation directory.
tar -xvzf <tar.gz_file_name> -C <install_path>
tar.gz_file_namespecifies the name of the tar.gz file.install_pathspecifies the installation path.
For example:
tar -xvzf nebula-graph-<Var name="nebula_release" />.el7.x86_64.tar.gz -C /home/joe/nebula/install
- Modify the name of the configuration file.
Enter the decompressed directory, rename the files nebula-graphd.conf.default, nebula-metad.conf.default, and nebula-storaged.conf.default in the subdirectory etc, and delete .default to apply the default configuration of NebulaGraph.
To modify the configuration, see Configurations.
So far, you have installed NebulaGraph successfully.