Install Nebula graph with the tar.gz file¶
You can install Nebula Graph by downloading the tar.gz file.
Note
Nebula Graph provides installing with the tar.gz file starting from version 2.6.0.
Installation steps¶
-
Download the Nebula Graph 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 Nebula Graph v2.6.0 tar.gz file for
CentOS 7.5
, run the following command:wget https://oss-cdn.nebula-graph.com.cn/package/2.6.0/nebula-graph-2.6.0.el7.x86_64.tar.gz
-
Decompress the tar.gz file to the Nebula Graph 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-2.6.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 Nebula Graph. To modify the configuration, see Configurations.
So far, you have installed Nebula Graph successfully.
Next to do¶
Use the nebula.service
file in the scripts
directory to start Nebula Graph. For details, see Manage Nebula Graph Service.