]> git.proxmox.com Git - ovs.git/blame - INSTALL.Fedora
netflow: Make thread safe.
[ovs.git] / INSTALL.Fedora
CommitLineData
d8fe0a6a
RS
1 How to Install Open vSwitch on Fedora Linux
2 ===========================================
3
4This document describes how to build and install Open vSwitch on a Fedora
5Linux host. If you want to install Open vSwitch on a generic Linux host,
6see INSTALL.Linux instead.
7
8We have tested these instructions with Fedora 16 and Fedora 17.
9
10Building Open vSwitch for Fedora
11--------------------------------
12
13You may build from an Open vSwitch distribution tarball or from an
14Open vSwitch Git tree.
15
16Before you begin, note the RPM source directory on your version of
de34f9f4 17Fedora. On Fedora 17, it is $HOME/rpmbuild/SOURCES.
d8fe0a6a
RS
18
191. If you are building from an Open vSwitch Git tree, then you will
20 need to first create a distribution tarball by running "./boot.sh;
21 ./configure; make dist" in the Git tree.
22
232. Copy the distribution tarball into the RPM source directory.
24
253. Unpack the distribution tarball into a temporary directory and "cd"
26 into the root of the distribution tarball.
27
284. To build Open vSwitch userspace, run:
29
30 rpmbuild -bb rhel/openvswitch-fedora.spec
31
32 This produces one RPM: "openvswitch".
33
de34f9f4 345. On Fedora 17, to build the Open vSwitch kernel module, run:
d8fe0a6a
RS
35
36 rpmbuild -bb rhel/openvswitch-kmod-fedora.spec
37
38 You might have to specify a kernel version and/or variants, e.g.:
39
40 rpmbuild -bb \
41 -D "kversion 2.6.32-131.6.1.el6.x86_64" \
42 -D "kflavors default debug kdump" \
43 rhel/openvswitch-kmod-rhel6.spec
44
45 This produces an "kmod-openvswitch" RPM for each kernel variant,
46 in this example: "kmod-openvswitch", "kmod-openvswitch-debug", and
47 "kmod-openvswitch-kdump".
48
49Reporting Bugs
50--------------
51
52Please report problems to bugs@openvswitch.org.