We build mininet simulation platform through source code mode, use git to download mininet source code
git clone git://github.com/mininet/mininet
After the download is complete, use the following command to select the installation version:
CD mininetgit tag # list available versionsgit checkout-b 2.2.1 2.2.1 # or whatever version you wish to INSTALLCD ..
After the version selection is complete, install it using the following command:
mininet/util/install.sh [Options]
Options include:
-A: Installs all mininet contained items including OvS switches, Wireshark and pox controllers
-NFV: Installing Mininet,openflow-related switches and OvS switches
-S Mydir: Build Source/build tree with your own defined directory before options
After the installation is complete, use the following command to detect the basic functionality of Mininet:
sudo mn--test Pingall
Ubuntu mininet Environment Building