-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathroot-bootstrap.sh
43 lines (36 loc) · 927 Bytes
/
root-bootstrap.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
set -x
apt-get update
apt-get install -y \
m4 \
git \
xterm \
fortune \
python-pip \
libcurl4-openssl-dev \
python-dev \
vim \
python-lxml \
python-flask \
python-tornado \
python-pycurl \
python-networkx \
software-properties-common \
graphviz \
# Latest package for Ubuntu 14.04 is 2.1. Install from source to get Mininet 2.2, which solves
# some port numbering problems, etc.
git clone git://github.com/mininet/mininet.git
cd mininet/util
./install.sh
cd
# Necessary to get Wireshark 1.12 with OpenFlow support in Ubuntu 14.04
add-apt-repository -y ppa:wireshark-dev/stable
apt-get update
apt-get install -y wireshark
add-apt-repository -y ppa:avsm/ppa
apt-get update
apt-get install -y ocaml ocaml-native-compilers camlp4-extra opam
pip install ryu
# Stop OVS Controller so we can run Frenetic
service openvswitch-controller stop
update-rc.d openvswitch-controller disable