Mininet Installation:
On Ubuntu 13.04:sudo apt-get install mininet
On Ubuntu 12.10:sudo apt-get install Mininet/quantal-backports
On Ubuntu 12.04:sudo apt-get install Mininet/precise-backports
First, installation environment:
Ubuntu-12.04-32bit
Second, installation mininet:
#rm/usr/local/bin/ovs*/usr/local/sbin/ovs*//Remove remnants of OvS
#apt-get Install Mininet/precise-backports
Third, start mininet:
#mn (Error, Port 6633 is enabled by default.) To close: #netstat-nap|grep 6633 to find the process number with: (#kill process number) or (#kill-9 process number) to kill the process)
#service Openvswitch-switch Start
#mn
Four, the successful start.
V. If you need openflow reference switch, reference controller and Wireshark Dissector components, run:
#git Clone git://github.com/mininet/mininet
#mininet/UTIL/INSTALL.SH-FW
Vi. installation of source code:
#git Clone git://github.com/mininet/mininet
To install everything (using your home directory): #install. sh-a
#mininet/util/install.sh-h can view help options.
* Use the command mn--topo single,3--mac--switch Ovsk--controller remote to create a virtual network of 3 hosts, one (openvswitch-based) switch.
After installation is started by default, close Mininet first
sudo service Openvswitch-controller stop
Do not turn on startup
sudo update-rc.d openvswitch-controller disable
Test whether the installation was successful
sudo mn--test Pingall
Default Boot Mininet
sudo mn--controller=remote,ip=127.0.0.1,port=6633
[Original]mininet installation