使用RPM或DEB包安装NebulaGraphGraph
RPM和DEB是Linux系统下常见的两种安装包格式,本文介绍如何使用RPM或DEB文件在一台机器上快速安装NebulaGraph。
Note
部署NebulaGraph集群的方式参见Graph。
Enterpriseonly
企业版请发送邮件至 inquiry@vesoft.com。
前提条件Graph
安装wget
下载安装包Graph
阿里云OSS下载Graph
- 下载release版本
URL格式如下:
//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.5
的2.6.0
安装包:wget https://oss-cdn.nebula-graph.com.cn/package/2.6.0/nebula-graph-2.6.0.el7.x86_64.rpm wget https://oss-cdn.nebula-graph.com.cn/package/2.6.0/nebula-graph-2.6.0.el7.x86_64.rpm.sha256sum.txt
下载适用于
ubuntu 1804
的2.6.0
安装包:wget https://oss-cdn.nebula-graph.com.cn/package/2.6.0/nebula-graph-2.6.0.ubuntu1804.amd64.deb wget https://oss-cdn.nebula-graph.com.cn/package/2.6.0/nebula-graph-2.6.0.ubuntu1804.amd64.deb.sha256sum.txt
-
下载日常开发版本(nightly)
Danger
- nightly 版本通常用于测试新功能、新特性,请不要在生产环境中使用 nightly 版本。
- nightly 版本不保证每日都能完整发布,也不保证是否会更改文件名。
URL格式如下:
//Centos 7 https://oss-cdn.nebula-graph.com.cn/package/nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.el7.x86_64.rpm //Centos 8 https://oss-cdn.nebula-graph.com.cn/package/nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.el8.x86_64.rpm //Ubuntu 1604 https://oss-cdn.nebula-graph.com.cn/package/nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.ubuntu1604.amd64.deb //Ubuntu 1804 https://oss-cdn.nebula-graph.com.cn/package/nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.ubuntu1804.amd64.deb //Ubuntu 2004 https://oss-cdn.nebula-graph.com.cn/package/nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.ubuntu2004.amd64.deb
例如要下载
2021.11.24
适用于Centos 7.5
的2.x
安装包:wget https://oss-cdn.nebula-graph.com.cn/package/nightly/2021.11.24/nebula-graph-2021.11.24-nightly.el7.x86_64.rpm wget https://oss-cdn.nebula-graph.com.cn/package/nightly/2021.11.24/nebula-graph-2021.11.24-nightly.el7.x86_64.rpm.sha256sum.txt
要下载
2021.11.24
适用于Ubuntu 1804
的2.x
安装包:wget https://oss-cdn.nebula-graph.com.cn/package/nightly/2021.11.24/nebula-graph-2021.11.24-nightly.ubuntu1804.amd64.deb wget https://oss-cdn.nebula-graph.com.cn/package/nightly/2021.11.24/nebula-graph-2021.11.24-nightly.ubuntu1804.amd64.deb.sha256sum.txt
安装NebulaGraphGraph
-
安装RPM包
$ sudo rpm -ivh --prefix=<installation_path> <package_name>
例如在默认路径下安装2.6.0版本的RPM包:
sudo rpm -ivh nebula-graph-2.6.0.el7.x86_64.rpm
-
安装DEB包
$ sudo dpkg -i --instdir==<installation_path> <package_name>
例如在默认路径下安装2.6.0版本的DEB包:
sudo dpkg -i nebula-graph-2.6.0.ubuntu1804.amd64.deb
Note
如果不设置安装路径,默认安装路径为/usr/local/nebula/
。
后续操作Graph
- Graph
- Graph
最后更新: August 26, 2021