当前位置: 首页 > 工具软件 > Open vSwitch > 使用案例 >

Open vSwitch 安装

陶弘业
2023-12-01

本次安装基于Ubuntu18.04LTS 虚拟机

1. 源码安装

  1. 安装相关依赖
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
  1. 下载OVS
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
 类似资料: