Ubuntu下安装部署openvswitch和一些安装的异常处理(ovs安装)_北风-优快云博客
为了在cloudlab上安装open vSwitch看了很多教程,最后还是觉得这个最好用
摘抄了在cloudlab主机或者其他内核为linux 3.6-5.5的ubuntu上可以无脑复制安装ovs使用的命令:
(uname -a可查看当前linux内核)
apt-get install build-essential
apt-get install openssl
sudo apt-get install python3
sudo apt-get install python3-pip
wget http://openvswitch.org/releases/openvswitch-2.14.0.tar.gz
tar -xzf openvswitch-2.14.0.tar.gz
cd openvswitch-2.14.0
./configure
make && make install
make modules_install(一般可以不写这个)
/sbin/modprobe openvswitch
/sbin/lsmod | grep openvswitch
export PATH=$PATH:/usr/local/share/openvswitch/scripts
ovs-ctl start
export PATH=$PATH:/usr/local/share/openvswitch/scripts
ovs-ctl --no-ovs-vswitchd start
export