Installing OpenVSwitch 2.3.1 LTS on CentOS 6

yum install kernel-headers kernel-devel gcc make python-devel openssl-devel kernel-devel, graphviz kernel-debug-devel automake rpm-build redhat-rpm-config libtool git

cd /root/

wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.64.tar.gz

tar xvf autoconf-2.64.tar.gz

cd autoconf-2.64/

./configure

make

make install

 

cd /root/

wget http://openvswitch.org/releases/openvswitch-2.3.1.tar.gz -O /root/openvswitch-2.3.1.tar.gz

 

mkdir /root/rpmbuild/SOURCES

cp /root/openvswitch-2.3.1.tar.gz /root/rpmbuild/SOURCES/

rpmbuild -bb rhel/openvswitch.spec
rpmbuild -bb rhel/openvswitch-kmod-rhel6.spec

rpm -ivh /root/rpmbuild/RPMS/*.rpm

 

You can also use our public repo here for cloudstack.

http://mirror.beyondhosting.net/Cloudstack/

 

4 Responses

  1. gekkonaut March 26, 2014 / 12:57 am

    Something doesn’t work here. When I try to start openvswith or modprobe, I get:

    Module openvswitch not found.

  2. gekkonaut March 30, 2014 / 9:40 pm

    Nevermind that – fix was to reboot. This was due to a prior yum update from centos 6.2 -> 6.5.

  3. Marc October 4, 2014 / 7:25 am

    Thank you for the great instructions. with the latest version 2.3.90 from git I ran into an issue when executing “rpmbuild -bb rhel/openvswitch-kmod-rhel6.spec”
    I got an error “Installed (but unpackaged) file(s) found: /etc/depmod.d/openvswitch.conf”
    This is solved following the link http://www.fengyin.org/archives/53.html

Leave a Reply

Your email address will not be published. Required fields are marked *