Skip to content

Manual Installation

jgrunert edited this page Nov 11, 2015 · 5 revisions

Prerequisites

The folling commands assume apt-get to be installed, however, you should be able to acquire the same packages on other linux distributions as well.

ZeroSDN was developed and tested at Ubuntu 14.04.

  • Install cmake 3

  • sudo apt-get install software-properties-common

  • sudo add-apt-repository ppa:george-edison55/cmake-3.x

  • sudo apt-get update

  • sudo apt-get install cmake build-essential

  • Install Java 8

  • sudo add-apt-repository ppa:webupd8team/java

  • sudo apt-get update

  • sudo apt-get install oracle-java8-installer

  • Install Maven

  • sudo apt-get install maven

  • Install Mininet

  • sudo apt-get install mininet

  • Install libpcap

  • sudo apt-get install flex byacc

  • Install Git

  • sudo apt-get install git

  • Clone Git Repository

  • git clone https://github.com/zeroSDN/ZSDN-Controller.git

  • (optional, for logging module) Install Apache Casandra

Setup

Once you have downloaded or cloned the ZSDN repository to your local machine, you must initialize ZSDN one-time. Switch to its root directory and run the init-zsdn.sh script. You can do this by opening an console in this folder and type the following:

./init-zsdn.sh 

This starts the installation process of ZSDN which may take some time. When the installation was successful you may run also the build-modules.sh script at any time, which rebuilds the executables of selected and stores them to the /build directory. They can be used afterwards either by starting them manually via console oder by using our quick start tool.

The init-zsdn.sh script only has to be executed once or when moving the zsdn folder.

For more details about building modules see Build System