forked from strangebit-io/hip-vpls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy.sh
38 lines (26 loc) · 799 Bytes
/
deploy.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
# Install python
sudo apt-get update
sudo apt-get install python3
sudo apt-get install python3-pip
# Install libraries
sudo pip3 install pycryptodome
sudo pip3 install interfaces
sudo pip3 install numpy
cd ..
# Removing unused folder
sudo rm -rf mininet
sudo apt-get install openvswitch-switch
sudo apt-get install openvswitch-testcontroller
sudo ln /usr/bin/ovs-testcontroller /usr/bin/controller
killall ovs-testcontroller
# Cloning the database
git clone https://github.com/mininet/mininet.git
cd mininet
git tag # list available versions
git checkout -b mininet-2.3.0 2.3.0 # or whatever version you wish to install
cd ..
# Installing the mininet globally
sudo PYTHON=python3 mininet/util/install.sh -a
# Running the VPLS emulated environment
cd hip-vpls
sudo python3 hipls-mn.py