Skip to content

Instantly share code, notes, and snippets.

@olegslavkin
Created February 13, 2016 12:47
Show Gist options
  • Save olegslavkin/f76d5b3fc528ad67d28c to your computer and use it in GitHub Desktop.
Save olegslavkin/f76d5b3fc528ad67d28c to your computer and use it in GitHub Desktop.
Install mininet (Ubuntu 14.04.3 Server)
!#/bin/bash
# Install mininet (check Ubuntu 14.04.3)
# Author Oleg Slavkin (oleg@slavkin.info)
echo "Step 1. Install packages"
sudo apt-get install -y pyflakes pep8 pylint python-pexpect socat iperf iproute help2man openssh-client
echo "Step 2. Clone mininet git Repo"
cd ~/
git clone git://github.com/mininet/mininet
echo "Step 3. Make and install mininet"
cd mininet/
sudo make install
cd ~/
echo "Step 4. Check mininet version"
mn --version
echo "Step 5. Create symlink to openvswitch "
sudo ln -s /usr/local/bin/ovs-testcontroller /usr/local/bin/ovs-controller
echo "End!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment