zoukankan      html  css  js  c++  java
  • openvswitch 2.7 安装过程记录 总结

    envswitch 2.7 安装过程记录 总结

     

    安装思路是参考文档:

    http://docs.openvswitch.org/en/latest/intro/install/general/#obtaining-open-vswitch-sources

    1、下载ovs 2.7.0代码

    $ git clone https://github.com/openvswitch/ovs.git

    准备编译环境

    2、配置环境预准备(必须使用root权限)

    ./boot.sh

    曾经出现的问题:

    [zhou@localhost ovs]$ ./boot.sh

    ./boot.sh: line 2: autoreconf: command not found

    解决方法:

    [root@localhost ovs]# yum install autoconf automake libtool

    3、配置环境(必须使用root权限)

    #./configure

    4、编译(必须使用root权限)

    # make

    5、检查是否能通过ovs自带的单元测试用例

    $ make check

    6、安装(必须使用root权限)

    # make install

    7、检查安装是否成功?(必须使用root权限)

    # /sbin/lsmod | grep openvswitch

    开始使用(必须使用root权限)

    # export PATH=$PATH:/usr/local/share/openvswitch/scripts

    # ovs-ctl start

     

    验证工作(必须使用root权限)

    # ovs-vsctl add-br br0
    # ovs-vsctl add-port br0 eth0
    # ovs-vsctl add-port br0 vif1.0
  • 相关阅读:
    top 命令
    通过公网访问内网的几种方式总结
    借助IDE到处Runnable JAR 的步骤
    Java SE 基础知识(String,Array)
    Java SE 基础知识(二)
    周记 2014.12.13
    nginx 总结
    在VPS上配置SS
    Markdown 语法手册
    ASCII码表
  • 原文地址:https://www.cnblogs.com/zhouhaibing/p/7004854.html
Copyright © 2011-2022 走看看