Skip to content

Build Nebula Graph

vkill edited this page Jan 15, 2023 · 3 revisions

Build Nebula Graph 1.x on Ubuntu 20.04

First of all, build fbthrift

sudo apt install -y libreadline-dev
sudo apt install -y doxygen
sudo apt install -y libreadline-dev
cd ~
git clone https://github.com/vesoft-inc/nebula.git nebula_v1 && cd nebula_v1

git checkout v1.2.1

sed -i 's/^DEFINE_uint32(max_batch_size, 256,/DEFINE_uint32(max_batch_size, 512,/' src/kvstore/raftex/RaftPart.cpp

git diff

mkdir _build && cd _build
cmake -DENABLE_TESTING=OFF -DCMAKE_BUILD_TYPE=Release ..

make -j $(nproc)
sudo make install

make db_dump
sudo make install db_dump

cd
Clone this wiki locally