The method of the lazy man's dress:
wget http://mirror.beyondhosting.net/OpenVSwitch/openvswitch-2.3.1-1.el6.x86_64.rpm wget/http mirror.beyondhosting.net/openvswitch/openvswitch-kmod-2.3.1-1.el6.x86_64.rpm wget/HTTP mirror.beyondhosting.net/openvswitch/kmod-openvswitch-2.3.1-1.el6.x86_64.rpm RPM-VIH *.rpm modprobe OpenVSwitch Service Openvswitch Start
Complex Loading method:
yum groupinstall "Development tools" -y yum install rpmdevtools openssl-devel kernel-devel gcc redhat-rpm-config -y adduser ovswitch su - ovswitch cd wget http://openvswitch.org/releases/ openvswitch-2.3.1.tar.gz tar xzf openvswitch-2.3.1.tar.gz mkdir -p rpmbuild/sources cp openvswitch-2.3.1.tar.gz rpmbuild/sources/ cp openvswitch-2.3.1/rhel/openvswitch-kmod.files /home/ovswitch/rpmbuild/sources/ sed ' s/ Openvswitch-kmod, //g ' openvswitch-2.3.1/rhel/openvswitch.spec > openvswitch-2.3.1/rhel /openvswitch_no_kmod.spec rpmbuild -bb openvswitch-2.3.1/rhel/openvswitch_no_kmod.spec exit yum localinstall rpmbuild/RPMS/x86_64/openvswitch-2.3.1.x86_64.rpm modprobe openvswitch service openvswitch start
This article from "Nicol Lock Silk Sorrow" blog, please make sure to keep this source http://smoke520.blog.51cto.com/9256117/1793073
Openvswitch installation under CentOS 6.6