From a0ca68b6b827b9e1e6ce59998fb89de1856bc393 Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Tue, 17 Aug 2010 17:41:01 -0700 Subject: [PATCH] Install mininet along with its dependencies. --- util/install.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/util/install.sh b/util/install.sh index 706c6d2..6c1884a 100755 --- a/util/install.sh +++ b/util/install.sh @@ -78,7 +78,7 @@ function kernel_clean { # Install Mininet deps function mn_deps { - #Install dependencies: + echo "Installing Mininet dependencies" sudo apt-get install -y screen psmisc xterm ssh iperf iproute python-setuptools #Add sysctl parameters as noted in the INSTALL file to increase kernel limits to support larger setups: @@ -86,6 +86,11 @@ function mn_deps { #Load new sysctl settings: sudo sysctl -p + + echo "Installing Mininet core" + pushd ~/mininet + sudo make install + popd } # The following will cause a full OF install, covering: @@ -335,7 +340,7 @@ function usage { printf -- ' -h: print this (H)elp message\n' >&2 printf -- ' -k: install new (K)ernel\n' >&2 printf -- ' -m: install Open vSwitch kernel (M)odule\n' >&2 - printf -- ' -n: install mini(N)et dependencies\n' >&2 + printf -- ' -n: install mini(N)et dependencies + core files\n' >&2 printf -- ' -t: install o(T)her stuff\n' >&2 printf -- ' -v: install open (V)switch\n' >&2 printf -- ' -x: install NOX(X) OpenFlow contoller\n' >&2