Ubuntu 20.04.2 安装 Mininet 与 Ryu

一、源码安装

Git 下载

sudo apt-get install git

pip3 安装

pip3 安装
sudo apt-get install python3-pip
将 pip 加入 PATH
gedit ~/.bashrc

在末尾添加:export PATH=/home/xxx/.local/bin/:$PATH

source ~/.bashrc
pip3 更新
python3 -m pip install --upgrade pip

安装 Mininet

git clone git://github.com/mininet/mininet.git
  • To install a Python 2 mn command:

    PYTHON=python2 mininet/util/install.sh -nfv
    

    python 2.7安装

    sudo apt-get install python-is-python2
    
  • To install Python 3 mn command:

    PYTHON=python3 mininet/util/install.sh -nfv
    
  • more:Mininet-2.3.0-Release-Notes

Python 3.8 安装 Ryu

sudo apt-get install python3-eventlet python3-routes python3-webob python3-paramiko
pip3 install eventlet
git clone https://github.com/faucetsdn/ryu.git

or

git clone git://github.com/osrg/ryu.git
cd ryu
pip3 install -r tools/optional-requires
sudo pip3 install .
  • ERROR: Cannot uninstall ‘PyYAML’:
    • It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
    • pip install --upgrade nni --ignore-installed

二、简易安装

sudo apt-get update
sudo apt-get install python3-pip hping3 net-tools apache2-utils curl xterm iperf
sudo apt-get install mininet
sudo pip3 install ryu
sudo pip3 install mininet
sudo cp /usr/bin/python3 /usr/bin/python
ryu-manager --version
sudo mn --version

Note:python3 安装 mininet 建议源码安装

三、More

1、The basics

  1. RYU SDN Crash Course - Book
  2. Welcome to RYU the Network Operating System(NOS)
  3. WILDAN’S TECH BLOG : SDN
  4. RYU | SDNLAB

2、Github source code

  1. Huangmachi
  2. Muzixing
  3. 强化学习相关DRSIR-DRL-routingDRL-M4MR
  4. 拥塞控制SICCCongestionControlInSDN
  5. Traffic classification
  6. SDN QoS
  7. FAUCET: an OpenFlow controller for multi table OpenFlow 1.3 switches
  8. SDN hands-on Openflow-Mininet-RYU
  9. Segment Routing
  • 12
    点赞
  • 81
    收藏
    觉得还不错? 一键收藏
  • 14
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 14
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值