Skip to content

A instruction for 下世代Network Slicing模組設計課程

Notifications You must be signed in to change notification settings

xxionhong/network_slice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

下世代Network Slicing模組設計課程

This note is for the 🔗page


👉 Environment requirement



Installation Guide

  • Initialize ubuntu

$ sudo apt-get update
$ sudo apt-get upgrade

# reboot
$ sudo reboot
  • Install openvswitch

$ sudo apt install openvswitch-switch
  • Check the openvswitch version

$ sudo ovs-vsctl -V
  • Install mininet

# install git
$ sudo apt-get install -y git

# clone mininet
$ cd ~
$ git clone https://github.com/mininet/mininet

# install mininet and set as OpenFlow1.3
$ sudo ./mininet/util/install.sh -n3
  • Check the mininet

$ sudo mn 

# leave mininet
$ exit
  • Ryu Pre-install

$ sudo apt-get install -y libxml2-dev libxslt1-dev libffi-dev libssl-dev zlib1g-dev python3-pip python3-eventlet python3-routes python3-webob python3-paramiko gcc python3-dev 
$ sudo pip3 install msgpack-python eventlet==0.15.2
$ sudo pip3 install six --upgrade
$ sudo pip3 install oslo.config q --upgrade
  • Install ryu

$ cd ~
$ git clone https://github.com/faucetsdn/ryu
$ cd ryu
$ sudo pip3 install .
$ cd ~
  • Install Google-Chrome

$ cd Downloads/
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
$ sudo dpkg -i google-chrome-stable_current_amd64.deb
$ sudo apt-get install -f
$ cd ~
  • Install Postman on Google-Chrome

🔗 Tabbed Postman - REST Client

  • Clone this Github page

$ cd ~
$ git clone https://github.com/THU-DBLAB/network_slice
  • Optional

# remove openvswitch
$ sudo apt-get remove openvswitch-common openvswitch-switch openvswitch-pki openvswitch-testcontroller -y

# if ovs doesn't work, you can try this to start ovs
$ sudo /usr/share/openvswitch/scripts/ovs-ctl start
#or
$ sudo service openvswitch-switch restart

Resources

About

A instruction for 下世代Network Slicing模組設計課程

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published