步骤1:安装Nebula Graph

RPM和DEB是Linux系统下常见的两种安装包格式,本文介绍如何使用RPM或DEB文件在一台机器上快速安装Nebula Graph。

前提条件

安装wget

下载安装包

阿里云OSS下载

  • 下载release版本

    URL格式如下:

    1. //Centos 7
    2. https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.el7.x86_64.rpm
    3. //Centos 8
    4. https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.el8.x86_64.rpm
    5. //Ubuntu 1604
    6. https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.Ubuntu1604.amd64.deb
    7. //Ubuntu 1804
    8. https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.Ubuntu1804.amd64.deb
    9. //Ubuntu 2004
    10. https://oss-cdn.nebula-graph.com.cn/package/<release_version>/nebula-graph-<release_version>.Ubuntu2004.amd64.deb

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

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

    下载适用于ubuntu 18042.5.0安装包:

    1. wget https://oss-cdn.nebula-graph.com.cn/package/2.5.0/nebula-graph-2.5.0.Ubuntu1804.amd64.deb
    2. wget https://oss-cdn.nebula-graph.com.cn/package/2.5.0/nebula-graph-2.5.0.Ubuntu1804.amd64.deb.sha256sum.txt
  • 下载日常开发版本(nightly)

    URL格式如下:

    1. //Centos 7
    2. https://oss-cdn.nebula-graph.com.cn/package/v2-nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.el7.x86_64.rpm
    3. //Centos 8
    4. https://oss-cdn.nebula-graph.com.cn/package/v2-nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.el8.x86_64.rpm
    5. //Ubuntu 1604
    6. https://oss-cdn.nebula-graph.com.cn/package/v2-nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.Ubuntu1604.amd64.deb
    7. //Ubuntu 1804
    8. https://oss-cdn.nebula-graph.com.cn/package/v2-nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.Ubuntu1804.amd64.deb
    9. //Ubuntu 2004
    10. https://oss-cdn.nebula-graph.com.cn/package/v2-nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.Ubuntu2004.amd64.deb

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

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

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

    1. wget https://oss-cdn.nebula-graph.com.cn/package/v2-nightly/2021.08.18/nebula-graph-2021.08.18-nightly.Ubuntu1804.amd64.deb
    2. wget https://oss-cdn.nebula-graph.com.cn/package/v2-nightly/2021.08.18/nebula-graph-2021.08.18-nightly.Ubuntu1804.amd64.deb.sha256sum.txt

安装Nebula Graph

  • 安装RPM包

    1. $ sudo rpm -ivh --prefix=<installation_path> <package_name>
  • 安装DEB包

    1. $ sudo dpkg -i --instdir==<installation_path> <package_name>

后续操作