openvswitch安装
1.下载软件包
wget https://www.openvswitch.org/releases/openvswitch-2.12.0.tar.gz
2.安装依赖
yum install openssl-devel checkpolicy selinux-policy-devel python-sphinx unbound-devel -y
3.构建RPM包
mkdir -p /root/rpmbuild/SOURCES/ cp openvswitch-2.12.0.tar.gz /root/rpmbuild/SOURCES/ tar zxvf openvswitch-2.12.0.tar.gz rpmbuild -bb openvswitch-2.12.0/rhel/openvswitch.spec
4.安装RPM软件包
yum localinstall /root/rpmbuild/RPMS/x86_64/openvswitch-2.12.0-1.x86_64.rpm
5.启动
systemctl start openvswitch