Jump to: navigation, search

Defense4All:Installation Guide

This was last updated for the Helium release and needs to be updated. Please bear that in mind when reading the content and feel free to help update it.

Back to Defense4All User Guide Page

Overview and Supported Platforms

These instructions describe how to download, install, configure, and run Defense4All. Defense4All is downloaded and installed separately from the ODC machine. It runs on a separate machine and communicates with the ODC via REST API calls. The currently supported platforms are:

  • RHEL 6.1/CentOS 6.1 (64-Bit)
  • RHEL 6.4/CentOS 6.4 (64-Bit)
  • Debian 7.x (Stable version, 64-Bit)
  • Ubuntu 12.04 or later (64-Bit)

Download

Download the Defense4All and Defense4All-CLI package files from <update link> https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/defense4all/df.aggregate/1.0.17-Helium-SR3/

Note: Visit the URL and choose the latest zip file to download.

Installation on RHEL/CentOS

Install JDK:

$ yum install java-1.7.0-openjdk-devel

Install Cassandra rpm packages:

$ sudo gedit /etc/yum.repos.d/datastax.repo . Add the following lines:
[datastax]
name= DataStax Repo for Apache Cassandra
baseurl=http://rpm.datastax.com/community
enabled=1
gpgcheck=0
$ sudo yum install cassandra20.noarch
  • Start and validate the Cassandra service:
$ sudo service cassandra start
$ sudo service cassandra status
cassandra is running...

Install Defense4All:

  • Install Defense4all packages: (from packages download directory)
$ sudo rpm -i defense4all-1.0.14-1.noarch.rpm
$ sudo rpm -i defense4all-cli-1.0.14-1.noarch.rpm
  • Start and validate Defense4All service as follows :
$ sudo service defense4all restart
$ sudo service defense4all status
defense4all is running

Installation on Debian or Ubuntu

Install JDK:

  • Install OpenJDK 7
$ sudo apt-get install openjdk-7-jre
$ sudo update-alternatives --config java
  • Choose java-7-openjdk from the list

Install Cassandra rpm packages:

$ echo "deb http://debian.datastax.com/community stable main" | sudo tee – a /etc/apt/sources.list.d/cassandra.sources.list
$ sudo apt-get install curl
$ curl -L http://debian.datastax.com/debian/repo_key | sudo apt-key add –
$ sudo apt-get update
$ sudo apt-get install dsc20
  • Start and validate the Cassandra service:
$ sudo service cassandra start
$ sudo service cassandra status
cassandra is running...

Install Defense4All:

  • Install Defense4all packages: (from the packages download directory)
$ sudo dpkg -i defense4all_1.0.14.deb
$ sudo dpkg -i defense4all-cli_1.0.14.deb
  • Start and validate the Defense4All service as follows :
$ sudo service defense4all restart
$ sudo service defense4all status
defense4all is running


Back to Defense4All User Guide Page