===================================================================================================
Install Mininet Method 1:
1) Install Git first
sudo apt-get update
sudo apt-get install git
2) access to Mininet source code
git clone git://github.com/mininet/mininet
3) Open the Mininet folder and select one of the versions to install
CD mininet
git tag #查看可用版本
git checkout-b 2.2.1 2.2.1# Select a version
4) Start the installation
CD util #进入mininet里的util文件夹
Install.sh-a #安装在home目录
Install.sh-s mydir-a #mydir目录
INSTALL.SH-NFV #安装mininet + user Switch +openvswitch
Install.sh-s MYDIR-NFV//user this one
5) Testing
sudo mn--test Pingall
===================================================================================================
Install Mininet Method 2:
1) Download virtual machine in Https://github.com/mininet/mininet/wiki/Mininet-VM-Images
2) Import with Virtual box
3) login user name password: mininet
4) Testing
sudo mn--test Pingall
===================================================================================================
1) Download the Karaf and unzip
Https://www.opendaylight.org/technical-community/getting-started-for-developers/downloads-and-documentation
2) Set Java_home
• At the end of the profile file, add:
Export java_home=/usr/share/jdk1.6.0_14
Export path= $JAVA _home/bin: $PATH
Export classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
Need to sign in again.
3)./bin/karaf
4) View the currently installed feature
Feature:list-i
5) Install the necessary feature
6) Open Web page
Http://yourip:8181/index.html
===================================================================================================
Opendaynight (KARAF) and mininet test OpenFlow