Mininet
First, you have to have a mininet system environment, to Mininet's official GitHub home page that says http://mininet.org/download/"the easiest-to-get started are to download a pre- Packaged Mininet/ubuntu VM. This VM includes mininet itself, all OpenFlow binaries and tools pre-installed, and tweaks to the kernel configuration to Support larger mininet networks. "
Virtual Machine file Address Https://github.com/mininet/mininet/wiki/Mininet-VM-Images
I chose this version of Http://downloads.mininet.org/mininet-2.2.1-150420-ubuntu-14.04-server-amd64.zip.
Then run it in VMware Player (Windows) or VMware Fusion (OSX).
The system is set up the default user is "Mininet", the password is also "Mininet". Tips: You can change the root password sudo passwd root
.
Here's a mention. If the root directory is too small, you can clean up the /var/cache/apt/archives
installed. deb file in the default download path for Apt-get.
Ubuntu Server version Graphical interface
The default Ubuntu server does not have a graphical interface, and there are reasons for this:
1 have more dependent services, more likely down the machine, but also introduced more defects.
2 Resources (CPU, hard disk, memory) are consumed.
X11 server can be installed on Ubuntu
sudo apt-get install xorg
sudo apt-get install openbox
Then install the X11 client on the host
sudo apt-get install xauth
Attached link:)
Ns-3
There are a lot of dependent packages to install before installing ns-3, here according to the wiki list of the official website
sudo apt-get install gcc g++ python python-dev qt4-dev-tools libqt4-dev mercurial bzr cmake libc6-dev libc6-dev-i386 g++-multilib gdb valgrind gsl-bin libgsl0-dev libgsl0ldbl flex bison libfl-dev sqlite sqlite3 libsqlite3-dev libxml2 libxml2-dev libgtk2.0-0 libgtk2.0-dev vtun lxc uncrustify doxygen graphviz imagemagick texlive texlive-extra-utils texlive-latex-extra texlive-font-utils texlive-lang-portuguese dvipng python-sphinx dia python-pygraphviz python-kiwi python-pygoocanvas libgoocanvas-dev libboost-signals-dev libboost-filesystem-dev openmpi-bin openmpi-common openmpi-doc libopenmpi-dev
Link is https://www.nsnam.org/wiki/Installation
Ubuntu under Install mininet,ns-3, and OpenNet