The home agent software uses cassandra (1.2+) as underlying indexing storage. Details about cassandra (1.2+) installation can be found at:
The home agent software depends on the following libraries:
- libboost_system-dev
- libboost_thread-dev
- libboost_filesystem1.53-dev
- libboost_program-options-dev
- libboost_test-dev
- libboost_log
- libboost_log_setup
- libssl-dev
- libssh2-1-dev
- libcrypto++-dev
- libcql
- libtcmalloc
On a Ubuntu/Debian system all these libraries (except cql and tcmalloc) can be installed from the command line by running: (instead of installing all the boost librarires, installing only the listed ones would work as well)
sudo apt-get install libboost-all-dev libssl-dev libssh2-1-dev libcrypto++-dev
To install libcql download the Datastax C++ driver from github by running: (the cpp-driver requires cmake. To install cmake run sudo apt-get install cmake)
git clone https://github.com/datastax/cpp-driver.git
cd cpp-driver
cmake . && make && make cql_demo && make cql_test && make test && make install
More details along with example usage of libcql can be found in its github page: https://github.com/datastax/cpp-driver
libtcmalloc is a high performance malloc implementation from Google. Details about downloading and installing libtcmalloc can be found at: http://code.google.com/p/gperftools/
The home agent process would build without libtcmalloc. Open the makefile and remove "-ltcmalloc" from LD_FLAGS.
After installing cassandra by following the instruction from their site, open cassandra's configuration file (/etc/cassandra/cassandra-env.sh). Under the "seeds" section add the IP addresses 132.206.206.134 as a bootstrap node to join.