sudo apt-get install libsnappy-dev autoconf automake libtool make cmake
cd /root && git clone --depth 1 --recursive https://github.com/CieloSun/kvrocks
cd /root && git clone --depth 1 https://github.com/gflags/gflags && cd gflags && mkdir build && cd build && cmake .. && make && make install
cd /root && git clone --depth 1 https://github.com/google/googletest && cd googletest && mkdir build && cd build && cmake .. && make && make install
cd /root/kvrocks/titan && mkdir build && cd build && cmake .. && make -j4
cd /root/kvrocks && make -j4
make test