...
Floodlight is simple to download from Github and build.
Installing Floodlight from Scratch
Code Block |
---|
|
$ git clone git://github.com/floodlight/floodlight.git
$ cd floodlight
$ git submodule init
$ git submodule update
$ ant
$ sudo mkdir /var/lib/floodlight
$ sudo chmod 777 /var/lib/floodlight
|
Info |
---|
The above "git clone" uses the master version of Floodlight. To use a specific version, specify the version branch in the git step by appending -b <branch-name>. |
Updating Floodlight to Master or a Newer Version
The following steps show how to update Floodlight to master. Substitute "master" in "git pull" with your desired version's branch, e.g. "v1.1", "v1.2", etc. if you would like to switch to a different version.
Code Block |
---|
|
$ cd floodlight
$ git pull origin master
$ git submodule init
$ git submodule update
|
If you are upgrading from Floodlight v1.2 or below to a newer version or the master branch, you should update to Java 8 at this point. Others should already have Java 8 installed. Once you have Java 8, proceed with re-building the controller:
Running Floodlight in the Terminal
...