本次安装基于Ubuntu18.04LTS 虚拟机
sudo apt update
sudo apt install build-essential libssl-dev libcap-ng-dev linux-headers-$(uname -r)
sudo apt-get install graphviz autoconf automake bzip2 debhelper dh-autoreconf libssl-dev libtool openssl procps python-all python-qt4 python-twisted-conch python-zopeinterface python-six dkms module-assistant ipsec-tools racoon libc6-dev module-init-tools netbase python-argparse uuid-runtime
sudo apt install python-pip
pip install six
pip install pyftpdlib
pip install tftpy
pip install graphviz
pip install flake8
sudo apt install sparse
sudo apt install wget netcat curl
git clone git://github.com/openvswitch/ovs.git # 最新版本 2.14.0
# 或者直接从网站下载源码(更快一点):
wget https://www.openvswitch.org/releases/openvswitch-2.15.0.tar.gz
tar -zxvf openv