Monday, October 28, 2013

Install Floodlight controller on ubuntu 12.04 +

Prerequisites

Ubuntu 10.04 (Natty) or higher.
Install JDK and Ant by running “sudo apt-get install build-essential default-jdk ant python-dev eclipse”

Download and build

$ git clone git://github.com/floodlight/floodlight.git
$ cd floodlight
$ git checkout stable
$ ant;


Running Floodlight

Assuming java is in your path, directly run the floodlight.jar file produced by ant.

 $ java -jar target/floodlight.jar

Additionl stuff on how to set Java path

$sudo su
$vim .bashrc


Include following lines at the end of the file

export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_25
export JAVA_HOME
PATH=$PATH:$JAVA_HOME
export PATH


Then go to /etc/environment
add this line:

JAVA_HOME=/usr/lib/jvm/jdk1.7.0_25

Then go to /etc/profile.d/java.sh (create it if necessary)

export JDK_HOME=/usr/lib/jvm/jdk1.7.0_25
export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_25


Then in a terminal run:

sudo chmod +x /etc/profile.d/java.sh
source /etc/profile.d/java.sh


Check the path

echo $JAVA_HOME


Prerequisites

Linux

  • Ubuntu 10.04 (Natty) or higher.  (Has been run with Ubuntu 10.04 with Ant versions 1.8.1 or lower).
  • Install JDK and Ant by running “sudo apt-get install build-essential default-jdk ant python-dev eclipse”
- See more at: http://www.projectfloodlight.org/getting-started/#sthash.vgwXGTWY.dpuf

Prerequisites

Linux

  • Ubuntu 10.04 (Natty) or higher.  (Has been run with Ubuntu 10.04 with Ant versions 1.8.1 or lower).
  • Install JDK and Ant by running “sudo apt-get install build-essential default-jdk ant python-dev eclipse”
- See more at: http://www.projectfloodlight.org/getting-started/#sthash.vgwXGTWY.dpuf

3 comments:

  1. Is Binance puzzle captcha not working properly in your Binance account? Are you looking for solutions to end all worries and carry on the process of Binance trading without any discontinuity? If you don’t know how to deal with such issues and looking for solution, you can always call on Binance customer care number which is functional all the time. The team is always ready to support you and helps you in every possible way that help in eliminating your trouble in no time. Save your time and get tested solutions from the skilled professionals who’re ready to support you.

    ReplyDelete
  2. Tritanium-Arctic sea level rise is unlikely, says researchers
    This report titanium septum jewelry suggests sea dei titanium exhaust wrap level rise head titanium ti s6 in the Arctic, which micro hair trimmer is a part of the larger, titanium bars more geographically rich Elkoite-Arctic

    ReplyDelete