Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Mininet installation source code

Shulou Source: shulou.com Published: 2022-06-01 04:12:19 10月06日 Update

1. For the first time to install mininet, the premise is clean Ubuntu

Step 1: set up the experimental environment and install the Ubuntu14.041 system on VBOX or VMware

Step 2: CTRL + ART + T enters the terminal interface of Linux, and then switches to administrator privileges (sudo-s)

Step 3: update the software, apt-get update and apt-get upgrade

Step 4: install git,apt-get install git

Step 5: get the mininet source code from github. After the git clone git://github.com/mininet/mininet; is obtained, check the current mininet version, cd mininet cat INSTALL.

Step 6: install mininet,mininet/util/install.sh

Full installation of install.sh-a # # (installed in the home directory by default)

Install.sh-s mydir-a # # complete installation (installed in another directory)

Install.sh-nfv # # install Mininet+ user switch + OVS (installed in the home directory)

Install.sh-s mydir-nfv # # install Mininet+ user switch + OVS (installed in another directory)

Step 7: test whether mininet is installed successfully, mn-- test pingall

Note: if mininet is installed, you need to uninstall it first

Tags: Directory switch user source code clean successful premise permission version environment interface administrator system terminal software switching experiment update test management Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Huawei Shulou Information MariaDB NVidia