Install NebulaGraph graph with the tar.gz file¶
You can install NebulaGraph by downloading the tar.gz file.
Note
- 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.6 tar.gz file for
CentOS 7.5
, run the following command:wget https://oss-cdn.nebula-graph.com.cn/package/3.8.0/nebula-graph-3.8.0.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_name
specifies the name of the tar.gz file.install_path
specifies the installation path.
For example:
tar -xvzf nebula-graph-3.8.0.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
, andnebula-storaged.conf.default
in the subdirectoryetc
, and delete.default
to apply the default configuration of NebulaGraph.
Note
To modify the configuration, see Configurations.
So far, you have installed NebulaGraph successfully.