Rate This Document
Findability
Accuracy
Completeness
Readability

Performing the Compilation and Installation

  1. Go to the root directory of the source code.
    1
    cd /home/source_code/openvswitch-2.12.0
    
  2. Compile and install Open vSwitch.
    1
    2
    3
    ./boot.sh
    ./configure CFLAGS="-g -O2 -march=armv8-a+crc" --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/lib64 --enable-ssl --enable-shared --enable-Werror
    make -j 96 && make install
    
  3. Configure Open vSwitch to be started as a service.
    1
    2
    3
    4
    5
    6
    cd rhel/
    cp etc_init.d_openvswitch /etc/init.d/openvswitch
    chmod 755 /etc/init.d/openvswitch
    mkdir /var/log/openvswitch
    ln -s /usr/lib64/libevent-2.1.so.6 /usr/lib64/libevent-2.0.so.5
    ln -s /usr/lib64/libcrypto.so.1.1 /usr/lib64/libcrypto.so.10
    
  4. Start the service.
    1
    service openvswitch start