Step 1: Install Nebula Graph¶
RPM and DEB are common package formats on Linux systems. This topic shows how to quickly install Nebula Graph with the RPM or DEB package.
Prerequisites¶
Prepare the right resources.
Note
The console is not complied or packaged with Nebula Graph server binaries. You can install nebula-console by yourself.
Download the package from cloud service¶
- Download the released version.
URL:
//Centos 6 https://oss-cdn.nebula-graph.io/package/<release_version>/nebula-graph-<release_version>.el6.x86_64.rpm //Centos 7 https://oss-cdn.nebula-graph.io/package/<release_version>/nebula-graph-<release_version>.el7.x86_64.rpm //Centos 8 https://oss-cdn.nebula-graph.io/package/<release_version>/nebula-graph-<release_version>.el8.x86_64.rpm //Ubuntu 1604 https://oss-cdn.nebula-graph.io/package/<release_version>/nebula-graph-<release_version>.ubuntu1604.amd64.deb //Ubuntu 1804 https://oss-cdn.nebula-graph.io/package/<release_version>/nebula-graph-<release_version>.ubuntu1804.amd64.deb //Ubuntu 2004 https://oss-cdn.nebula-graph.io/package/<release_version>/nebula-graph-<release_version>.ubuntu2004.amd64.debFor example, download release package 2.5.0 for
Centos 7.5:wget https://oss-cdn.nebula-graph.io/package/2.5.0/nebula-graph-2.5.0.el7.x86_64.rpm wget https://oss-cdn.nebula-graph.io/package/2.5.0/nebula-graph-2.5.0.el7.x86_64.rpm.sha256sum.txtdownload release package
2.5.0forUbuntu 1804:wget https://oss-cdn.nebula-graph.io/package/2.5.0/nebula-graph-2.5.0.ubuntu1804.amd64.deb wget https://oss-cdn.nebula-graph.io/package/2.5.0/nebula-graph-2.5.0.ubuntu1804.amd64.deb.sha256sum.txt
-
Download the nightly version.
Danger
- Nightly versions are usually used to test new features. Don't use it for production.
- Nightly versions may not be build successfully every night. And the names may change from day to day.
URL:
//Centos 6 https://oss-cdn.nebula-graph.io/package/v2-nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.el6.x86_64.rpm //Centos 7 https://oss-cdn.nebula-graph.io/package/v2-nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.el7.x86_64.rpm //Centos 8 https://oss-cdn.nebula-graph.io/package/v2-nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.el8.x86_64.rpm //Ubuntu 1604 https://oss-cdn.nebula-graph.io/package/v2-nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.ubuntu1604.amd64.deb //Ubuntu 1804 https://oss-cdn.nebula-graph.io/package/v2-nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.ubuntu1804.amd64.deb //Ubuntu 2004 https://oss-cdn.nebula-graph.io/package/v2-nightly/<yyyy.mm.dd>/nebula-graph-<yyyy.mm.dd>-nightly.ubuntu2004.amd64.debFor example, download the
Centos 7.5package developed and built in2021.03.28:wget https://oss-cdn.nebula-graph.io/package/v2-nightly/2021.03.28/nebula-graph-2021.03.28-nightly.el7.x86_64.rpm wget https://oss-cdn.nebula-graph.io/package/v2-nightly/2021.03.28/nebula-graph-2021.03.28-nightly.el7.x86_64.rpm.sha256sum.txtFor example, download the
Ubuntu 1804package developed and built in2021.03.28:wget https://oss-cdn.nebula-graph.io/package/v2-nightly/2021.03.28/nebula-graph-2021.03.28-nightly.ubuntu1804.amd64.deb wget https://oss-cdn.nebula-graph.io/package/v2-nightly/2021.03.28/nebula-graph-2021.03.28-nightly.ubuntu1804.amd64.deb.sha256sum.txt
Install Nebula Graph¶
- Use the following syntax to install with an RPM package.
sudo rpm -ivh --prefix=<installation_path> <package_name>
-
Use the following syntax to install with a DEB package.
sudo dpkg -i --instdir==<installation_path> <package_name>Note
The default installation path is
/usr/local/nebula/.
What's next¶
Last update: September 2, 2021