zoukankan      html  css  js  c++  java
  • ubuntu12.04安装mininet

    网上安装mininet教程有很多,都是通过git命令安装,但有一个坑,安装到./install.sh时会报错,记录下来

    1.通过git 下载mininet

    git clone git://github.com/mininet/mininet

    2.选择自己合适的版本

    我用的是2.2.2 (下图没显示)

    cd mininet
    git tag

    git checkout 2.2.1

    三:安装

    cd mininet/util
    ./install.sh

    注意!此时有可能报错“Failed to fetch”,刚开始查资料让我更新一下源,改成163源后还是有问题,后来发现是因为openssh-client和openssh-server没有安装

    下面讲一下安装openssh-client和openssh-server:

    3.1先安装openssh-client

    apt-get install openssh-client

    3.2安装openssh-server

    apt-get install openssh-server

    出错了,如下所示错误

    此时按要求安装指定的openssh-client

     之后再重新安装openssh-server


    如果mininet 安装出现clonging into 'openflow' ... fatal:read error:

    主要是openflowswitch.org总是offline ,处理办法:

    修改util/install.sh中的git clone git://openflowswtich.org/openflow.git为:

    git clone https://github.com/mininet/openflow.git

    四:重新安装mininet

    成功!

  • 相关阅读:
    pandas 数据结构基础与转换
    Python 基础常用
    css 横向滚动条webkit-scrollbar
    hive mysql 初始化
    hive 的理解
    hive 踩坑
    hbase 调试各种报错
    hbase shell常用命令
    mysql 性能测试工具 mysqlslap
    【CDH学习之一】CDH简介
  • 原文地址:https://www.cnblogs.com/gejuncheng/p/10065176.html
Copyright © 2011-2022 走看看