claire271 / gambezi

A lightweight hierarchical network database for real time usage.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gambezi

A lightweight hierarchical network database for real time usage.

The server has been tested on Fedora 26, NI RoboRIO, and Raspbian on the rPI 3.

Installation Steps

  1. Install libuv

    1. If your distro's package manager does not have a recent libuv version (>=1.0), you will have to compile it from source. If it does, just use the packaged version (e.g. libuv & libuv-devel)
    2. `wget https://github.com/libuv/libuv/archive/v1.13.1.zip
    3. unzip v1.13.1.zip
    4. cd libuv-1.13.1
    5. ./autogen.sh
    6. ./configure
    7. make
    8. sudo make install
    9. cd ..
  2. Install libwebsockets

    1. wget https://github.com/warmcat/libwebsockets/archive/v2.2-stable.zip
    2. unzip v2.2-stable.zip
    3. cd libwebsockets-2.2-stable
    4. mkdir build
    5. cd build
    6. cmake .. -DLWS_WITH_LWSWS=1
    7. make
    8. sudo make install
    9. cd ../..
  3. Install Gambezi

    1. wget https://github.com/tigerh/gambezi/archive/master.zip
    2. unzip master.zip
    3. cd gambezi-master
    4. mkdir build
    5. cd build
    6. cmake ..
    7. make
    8. sudo make install
    9. cd ..
  4. Configure lwsws

    1. mkdir /etc/lwsws
    2. cp conf /etc/lwsws/
    3. mkdir /etc/lwsws/conf.d
    4. cp gambezi-server /etc/lwsws/conf.d/
    5. mkdir /var/log/lwsws
    6. cd ..
  5. Configure lwsws to run on startup according to your distro's system (e.g. SysV, systemd, etc.)

About

A lightweight hierarchical network database for real time usage.

License:MIT License


Languages

Language:C 93.0%Language:CMake 7.0%