zoukankan      html  css  js  c++  java
  • [ovs] openvswitch 从源码编译安装

    文档:https://docs.openvswitch.org/en/latest/intro/install/general/

    1. 

    yum install autoconf automake libtool

    2.

    ./boot.sh

    3.

    ./configure

    4. 

     yum install kernel-devel
    [root@base-centos7-1804 openvswitch-2.10.1]# ./configure --with-linux=/lib/modules/3.10.0-862.14.4.el7.x86_64/build/

    5.

    make
    make install

    6. 

    启动

    [root@base-centos7-1804 ~]# /usr/local/share/openvswitch/scripts/ovs-ctl start

    查看

    [root@base-centos7-1804 ~]# ps -ef |grep ovs
    root      1398     1  0 16:38 ?        00:00:00 ovsdb-server: monitoring pid 1399 (healthy)
    root      1399  1398  0 16:38 ?        00:00:00 ovsdb-server /usr/local/etc/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info --remote=punix:/usr/local/var/run/openvswitch/db.sock --private-key=db:Open_vSwitch,SSL,private_key --certificate=db:Open_vSwitch,SSL,certificate --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert --no-chdir --log-file=/usr/local/var/log/openvswitch/ovsdb-server.log --pidfile=/usr/local/var/run/openvswitch/ovsdb-server.pid --detach --monitor
    root      1442     1  0 16:38 ?        00:00:00 ovs-vswitchd: monitoring pid 1443 (healthy)
    root      1443  1442  0 16:38 ?        00:00:00 ovs-vswitchd unix:/usr/local/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfile:info --mlockall --no-chdir --log-file=/usr/local/var/log/openvswitch/ovs-vswitchd.log --pidfile=/usr/local/var/run/openvswitch/ovs-vswitchd.pid --detach --monitor
    root      1468  1330  0 16:38 pts/0    00:00:00 grep --color=auto ovs
    [root@base-centos7-1804 ~]# lsmod |grep open
    openvswitch           323507  0 
    tunnel6                13254  1 openvswitch
    nf_nat_ipv6            14131  1 openvswitch
    nf_nat_ipv4            14115  1 openvswitch
    nf_defrag_ipv6         35104  2 openvswitch,nf_conntrack_ipv6
    nf_nat                 26787  3 openvswitch,nf_nat_ipv4,nf_nat_ipv6
    nf_conntrack          133053  6 openvswitch,nf_nat,nf_nat_ipv4,nf_nat_ipv6,nf_conntrack_ipv4,nf_conntrack_ipv6
    libcrc32c              12644  4 xfs,openvswitch,nf_nat,nf_conntrack
  • 相关阅读:
    一些網址
    mousedown、mouseup、click事件之间的关系及执行顺序
    快速的画一个三角形
    在较小的屏幕下展示一个超宽的图片,如何让图片居中显示?
    Python 模块安装的一些问题
    Python Django 的使用
    Python WEB框架的介绍
    Python 几个前端插件的简单使用
    Python JQuery 正则表达式mini版
    HC蓝牙模块
  • 原文地址:https://www.cnblogs.com/hugetong/p/9830536.html
Copyright © 2011-2022 走看看