Install NebulaGraph 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.
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.2 tar.gz file for
CentOS 7.5
, run the following command:wget https://oss-cdn.nebula-graph.com.cn/package/3.2.1/nebula-graph-3.2.1.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.2.1.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. To modify the configuration, see Configurations.
So far, you have installed NebulaGraph successfully.