Install abettor-c
, abettor-cc
and hottentot
from following links:
Read READMEs carefully for installation instructions.
Then, clone fence source code from github.
$ git clone https://github.com/LabCryptoOrg/fence
Compile and install sources.
$ cd fence
$ mkdir -p build
$ cd build
$ cmake ..
$ make
$ sudo make install
Copy master.conf
to /usr/bin
for master node configuration.
$ cd fence
$ sudo cp src/master/master.conf /usr/bin
Copy slave.conf
to /usr/bin
for slave node configuration.
$ cd fence
$ sudo cp src/slave/slave.conf /usr/bin
Make workig directories.
$ sudo mkdir -p /opt/org/labcrypto/fence/master/work
$ sudo mkdir -p /opt/org/labcrypto/fence/slave/work
Start master and slave nodes.
$ sudo fence-master
$ sudo fence-slave
Kamran Amini (kam.cpp@gmail.com)