39 | | Pkg-configure was installed as well as libssl-dev. Make completed with out complaint. I've attached the config.log for comparison. |
| 39 | |
| 40 | I'm bascially following [http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.Linux;hb=HEAD this guide] |
| 41 | |
| 42 | The build process went as follows: |
| 43 | |
| 44 | 1. I checked for some prerequisites: |
| 45 | * pkg-configure |
| 46 | * libssl-dev |
| 47 | 1. ./configure in the /opt/openvswitch-1.1.0pre2 (created from untarring the downloaded file). There are config flags but we didn't need them, we |
| 48 | are building with out kernel modules (apparently don't need them, the service will run in userspace). The config.log is included for comparison. |
| 49 | 1. make |
| 50 | 1. make install |
| 51 | 1. The final step involves initializing a config database: |
| 52 | {{{ |
| 53 | http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.Linux;hb=HEAD |
| 54 | }}} |
| 55 | |
| 56 | Once Built we need to start the database server and the switch damemon before we can do any thing with it: |
| 57 | 1. Start the server with this command: |
| 58 | {{{ |
| 59 | ovsdb-server /usr/local/etc/ovs-vswitchd.conf.db --remote=punix:/usr/local/var/run/openvswitch/db.sock --remote=punix:/usr/local/var/run/openvswitch/db.sock --private-key=db:SSL,private_key --certificate=db:SSL,certificate --bootstrap-ca-cert=db:SSL,ca_cert & |
| 60 | }}} |
| 61 | 1. initialize the database using ovs-vsctl (only needs to be done once) |
| 62 | {{{ |
| 63 | ovs-vsctl --no-wait init |
| 64 | }}} |
| 65 | 1. Once the database server is started, we next can start the switch server: |
| 66 | {{{ |
| 67 | ovs-vswitchd unix:/usr/local/var/run/openvswitch/db.sock & |
| 68 | }}} |
| 69 | |
| 70 | Once this is done the switch daemon should be running in userspace. |