跳转至

使用RPM或DEB安装包安装NebulaGraphGraph

RPM和DEB是Linux系统下常见的两种安装包格式,本文介绍如何使用RPM或DEB安装包快速安装NebulaGraph。

前提条件Graph

Graph

下载安装包Graph

阿里云OSS下载Graph

  • 下载release版本

    URL格式如下:

    //Centos 6 
    https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.el6.x86_64.rpm
    
    //Centos 7
    https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.el7.x86_64.rpm
    
    //Centos 8
    https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.el8.x86_64.rpm
    
    //Ubuntu 1604
    https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.ubuntu1604.amd64.deb
    
    //Ubuntu 1804
    https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.ubuntu1804.amd64.deb
    
    //Ubuntu 2004
    https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.ubuntu2004.amd64.deb
    

    例如要下载适用于Centos 7.52.0.0安装包:

    wget https://oss-cdn.nebula-graph.com.cn/package/2.0.0/nebula-graph-2.0.0.el7.x86_64.rpm
    wget https://oss-cdn.nebula-graph.com.cn/package/2.0.0/nebula-graph-2.0.0.el7.x86_64.rpm.sha256sum.txt
    

    下载适用于ubuntu 18042.0.0安装包:

    wget https://oss-cdn.nebula-graph.com.cn/package/2.0.0/nebula-graph-2.0.0.ubuntu1804.amd64.deb
    wget https://oss-cdn.nebula-graph.com.cn/package/2.0.0/nebula-graph-2.0.0.ubuntu1804.amd64.deb.sha256sum.txt
    

  • 下载日常开发版本(nightly)

    禁止:nightly版本通常用于测试新功能、新特性,请不要在生产环境中使用nightly版本。

    URL格式如下:

    //Centos 6 
    https://oss-cdn.nebula-graph.com.cn/package/v2-nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.el6.x86_64.rpm
    
    //Centos 7
    https://oss-cdn.nebula-graph.com.cn/package/v2-nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.el7.x86_64.rpm
    
    //Centos 8
    https://oss-cdn.nebula-graph.com.cn/package/v2-nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.el8.x86_64.rpm
    
    //Ubuntu 1604
    https://oss-cdn.nebula-graph.com.cn/package/v2-nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.ubuntu1604.amd64.deb
    
    //Ubuntu 1804
    https://oss-cdn.nebula-graph.com.cn/package/v2-nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.ubuntu1804.amd64.deb
    
    //Ubuntu 2004
    https://oss-cdn.nebula-graph.com.cn/package/v2-nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.ubuntu1804.amd64.deb
    

    例如要下载2021.03.28适用于Centos 7.52.x安装包:

    wget https://oss-cdn.nebula-graph.com.cn/package/v2-nightly/2021.03.28/nebula-graph-2021.03.28-nightly.el7.x86_64.rpm
    wget https://oss-cdn.nebula-graph.com.cn/package/v2-nightly/2021.03.28/nebula-graph-2021.03.28-nightly.el7.x86_64.rpm.sha256sum.txt
    

    要下载2021.03.28适用于Ubuntu 18042.x安装包:

    wget https://oss-cdn.nebula-graph.com.cn/package/v2-nightly/2021.03.28/nebula-graph-2021.03.28-nightly.ubuntu1804.amd64.deb
    wget https://oss-cdn.nebula-graph.com.cn/package/v2-nightly/2021.03.28/nebula-graph-2021.03.28-nightly.ubuntu1804.amd64.deb.sha256sum.txt
    

GitHub下载Graph

  • 下载release版本

    + 登录Graph页面,确认需要的版本,单击Assets

    Select a NebulaGraph release version

    + 在Assets区域找到机器运行所需的安装包,下载文件到机器上。

  • 下载nightly版本

    禁止:nightly版本通常用于测试新功能、新特性,请不要在生产环境中使用nightly版本。

    + 登录Graph页面,单击顶部最新的package

    Select a NebulaGraph nightly version

    + 在Artifacts区域找到机器运行所需的安装包,下载文件到机器上。

安装NebulaGraphGraph

  • 安装RPM包
    $ sudo rpm -ivh --prefix=<installation_path> <package_name>
    
  • 安装DEB包
    $ sudo dpkg -i --instdir==<installation_path> <package_name>
    

说明:如果不设置安装路径,默认安装路径为/usr/local/nebula/


最后更新: April 9, 2021
Back to top