step 1: 從github上clone代碼
git clone? https://github.com/openvswitch/ovs.git
step 2: 編譯版本
cd ovs
./boot.sh
./configure?--with-linux=/lib/modules/`uname?-r`/build
make
make?install
make?INSTALL_MOD_DIR=kernel/net/openvswitch?modules_install
modprobe?-r?vport_geneve
modprobe?-r?openvswitch
modprobe?openvswitch
modprobe?vport-geneve
說明:如果編譯不過,需要apt-get install libtool, apt-get install autoconf,