2018年9月14日 星期五

OVS on CentOS7 [ VB ]

# su

# yum install openssl-devel

# yum install gcc clang gcc-c++

# yum install python-devel

#yum install kernel-devel

#yum install graphviz

#yum install kernel-debug-devel

#yum install git

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

#cd ovs

#yum install autoconf automake libtool

#./boot.sh

#./configure

#make

#make install

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

#ovs-ctl start

============================

#yum install openvswitch

#systemctl start openvswitch

============================
ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock \
                     --remote=db:Open_vSwitch,Open_vSwitch,manager_options \
                     --private-key=db:Open_vSwitch,SSL,private_key \
                     --certificate=db:Open_vSwitch,SSL,certificate \
                     --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert \
                     --pidfile --detach
ovs-vsctl --no-wait init
ovs-vswitchd --pidfile --detach

沒有留言:

張貼留言

 2025 MTK 韌體工程師 上機考心得  前言: 以前, 我覺得寫前後端的人才是真正的寫程式, 很羨慕那些大神 直到這次準備, 我才發現靠杯, 原來寫底層的程式也那麼硬派, XOR 一些奇奇怪怪的加速運算操作, 剛看到真的是無法想像, 有夠虧賊!   1. C/C++ Pro...