Skip to content

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.

Prerequisites

For NebulaGraph Enterprise, you must have the license key loaded in LM.

Installation steps

  1. 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.5-snapchat tar.gz file for CentOS 7.5, run the following command:

    wget https://oss-cdn.nebula-graph.com.cn/package/3.5.0/nebula-graph-3.5.0.el7.x86_64.tar.gz
    
  2. 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.5.0.el7.x86_64.tar.gz -C /home/joe/nebula/install
    
  3. 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.

  4. (Enterprise only) For Enterprise Edition, set the value of license_manager_url to the host IP and port number 9119 where the license management tool is located in the Meta service configuration file of NebulaGraph (nebula-metad.conf), e.g. 192.168.8.100:9119.

Note

To modify the configuration, see Configurations.

So far, you have installed NebulaGraph successfully.

Next to do

Manage NebulaGraph services


Last update: July 5, 2023