Installation Guide - SINTEF-9012/proasense-storage GitHub Wiki

0. Prerequisites

Server

  • 64-bit Linux-based OS (e.g., Ubuntu 14.04. (recommended), minimum Kernel version 3.x)

User Clients

  • Modern Web Browser (e.g., Chrome (recommended), Firefox)

1. Download the ProaSense Storage GitHub repository

Make sure that you have git installed first:

sudo apt-get --yes --force-yes install git

Clone the ProaSense Storage GitHub repository:

git clone https://github.com/SINTEF-9012/proasense-storage

2. Install 3rd party components required by the ProaSense Storage

Make the provided installation scripts executable:

cd proasense-storage/installation-scripts
sudo chmod a+x *.sh

Install 3rd party components:

./install-external-components.sh

Configure 3rd party components:

./config-external-components.sh

3. Configure and build the ProaSense Storage services

3.1 Configure the ProaSense Storage Writer Service

Edit the file server.properties:

cd ..
nano storage-writer/src/main/resources/server.properties

Set the following properties:

  • zookeeper.connect
  • kafka.bootstrap.servers

3.2 Configure the ProaSense Storage Reader Service

Edit the file server.properties:

nano storage-reader/src/main/resources/server.properties

Set the following properties:

  • zookeeper.connect
  • kafka.bootstrap.servers

3.3 Build the ProaSense Storage components

mvn clean install

4. Run the ProaSense Storage components

4.2 Run the ProaSense Storage Writer Service

cd storage-writer
nohup mvn exec:java

4.3 Run the ProaSense Storage Reader Service

cd storage-reader
mvn tomcat7:deploy