Last active
August 28, 2017 05:53
-
-
Save wlwtvr/9d9435d83114b3856d2cdbdcb58dc046 to your computer and use it in GitHub Desktop.
floodlight, mininet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Update Repository | |
| sudo apt-get update | |
| # Install Java 8 | |
| sudo add-apt-repository ppa:webupd8team/java | |
| sudo apt-get update | |
| sudo apt-get install oracle-java8-installer | |
| # Install Floodlight Dependencies | |
| sudo apt-get install build-essential ant maven python-dev | |
| # Install Git | |
| sudo apt-get install git | |
| # Install Floodlight | |
| git clone git://github.com/floodlight/floodlight.git | |
| cd floodlight | |
| git submodule init | |
| git submodule update | |
| # Build Floodlight | |
| ant | |
| sudo mkdir /var/lib/floodlight | |
| sudo chmod 777 /var/lib/floodlight | |
| # (Test) Run Floodlight (Ctrl+C to Stop) | |
| java -jar target/floodlight.jar | |
| # Install Mininet | |
| cd ~ | |
| git clone git://github.com/mininet/mininet | |
| mininet/util/install.sh -a | |
| # (Test) Running Mininet | |
| sudo mn --test pingall | |
| # Clean Up | |
| sudo mn -c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Clone Maestro Source Code | |
| cd ~ | |
| git clone https://github.com/zhengcai/maestro-platform.git | |
| cd maestro-platform | |
| cd Maestro-0.1.0 | |
| # Build | |
| ant | |
| # Make sure java is installed | |
| java --version | |
| # Must Output java version | |
| # Run Maestro in Interactive Mode (1) | |
| java -cp build/ sys.Main conf/openflow.conf conf/learningswitch.dag 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment