下载解压
sudo wget http://openvswitch.org/releases/openvswitch-2.4.1.tar.gz
tar -xvf openvswitch-2.4.1.tar.gz
安装
cd openvswitch-2.4.1/
./configure
make
make install
启动(ovs每次开机都需要重新启动)
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
检查是否安装成功
ovs-vsctl show
转载于:https://www.cnblogs.com/liuxm2017/p/11339989.html
最后
以上就是美好鸡最近收集整理的关于openvswitch笔记的全部内容,更多相关openvswitch笔记内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复